[symfony-users] Re: routing question?

2010-06-22 Thread Richtermeister
I would not put this on the routing system. It sounds like all you need is one route that maps your urls to your product catalog action, and figure out which product to show from there. For example, the route could be: product: url: /:manufacturer-:type param: { module: catalog, action: sh

[symfony-users] Re: Routing Question: Optional url parameter in the middle?

2009-08-26 Thread Richtermeister
Hey Dennis, thanks for confirming. I thought about "uncategorized" as well, but I don't know what the ratio of categorized vs. categorized items will be (system is for a client), so I don't want users to have to type uncategorized into every url... I ended up using 2 routes for now. Thanks again

[symfony-users] Re: Routing Question: Optional url parameter in the middle?

2009-08-25 Thread Dennis Benkert
Hi Daniel, afaik you can't do this using one route. But without knowing more about your project, how about using a category called 'uncategorized' which will be the default one if non is chosen? This way you can use one route and urls would be like /library/legal/document2.pdf and if no ca

[symfony-users] Re: routing question

2008-10-01 Thread Jonathan Busby
Can you place the culture routing that early on? On 10/1/08, James <[EMAIL PROTECTED]> wrote: > They talk about it at the top of the book dealing with mutliple > cultures. > > http://www.symfony-project.org/book/1_1/13-I18n-and-L10n#Text%20Information%20in%20the%20Database > > james > > > > On

[symfony-users] Re: routing question

2008-10-01 Thread James
They talk about it at the top of the book dealing with mutliple cultures. http://www.symfony-project.org/book/1_1/13-I18n-and-L10n#Text%20Information%20in%20the%20Database james On Oct 1, 2008, at 3:22 PM, javo wrote: > > Hi all, > > I have one project already online and I'm trying to rewri

[symfony-users] Re: Routing question

2007-04-03 Thread Muhammad Asif Ali
Hi..All thanx a lot for all ur effors let me try the things u specified. thaks again :o) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email t

[symfony-users] Re: Routing question

2007-04-03 Thread Michael Nolan
Most DNS servers support wildcard DNS and Apache can be configured to match on a wildcard too. Matt of of WordPress has a blog post about the subject: http://photomatt.net/2003/10/10/wildcard-dns-and-sub-domains/ It's probably better to set up the wildcard rather than adding DNS records on the

[symfony-users] Re: Routing question

2007-04-03 Thread Nicolas CHARLOT
Muhammad Asif Ali a écrit : Hi.  Quenten      Thanx for you information do u have any script for creating the sub domain automatically at the time of user registration.     i had a script which support only cpanel type of server. i want a s

[symfony-users] Re: Routing question

2007-04-03 Thread Kiril Angov
Why do you need such a script? [quote] 1) You must define an A record or a CNAME to support wild-card DNS in your domain's zone file. 2) Your host must allow wild-card subdomains, and pass requests for them to your server. [/quote] And after that just use the mod_rewrite rules to pass the requ

[symfony-users] Re: Routing question

2007-04-03 Thread Muhammad Asif Ali
Hi. Quenten Thanx for you information do u have any script for creating the sub domain automatically at the time of user registration. i had a script which support only cpanel type of server. i want a script which can be used on any server.

[symfony-users] Re: Routing question

2007-04-03 Thread eu
Hello Asif, Take a look at this link: http://www.webmasterworld.com/forum92/5853.htm []'s Rimenes. > Hi .. > i have seen the askeet tutor but i dont want to create a sub domain > on my server just want to rewrite the url. >is it not possible without creating the sub domain on my ser

[symfony-users] Re: Routing question

2007-04-03 Thread Quenten Griffith
I really don't think it is possible am pretty sure you are going to have to create a subdomain because DNS is going to try to resolve username.askeet.com and if it can't resolve it it will never get to your server. Your DNS provider may have a trick that allows you to send all request to *.domain

[symfony-users] Re: Routing question

2007-04-03 Thread Muhammad Asif Ali
Hi .. i have seen the askeet tutor but i dont want to create a sub domain on my server just want to rewrite the url. is it not possible without creating the sub domain on my server? . cant we rewrite the url for only user module in askeet? Thanx :o)

[symfony-users] Re: Routing question

2007-04-03 Thread Quenten Griffith
You would need to setup subdomains for all your users on your web server end and use filters on the symfony end. Askeet tutorial has a write up on how to set up the filters on day 18 http://www.symfony-project.com/askeet/18 On 4/3/07, Muhammad Asif Ali <[EMAIL PROTECTED]> wrote: > > Hi, >

[symfony-users] Re: Routing Question

2007-04-01 Thread Michael Nolan
The two issues I see are the routing patterns and determining what should fit into the pattern. First you need to know if your last page slug is unique - making it unique makes things easier as you can effectively ignore all other arguments but it means you can't repeat stripped_titles/slugs/what

[symfony-users] Re: Routing Question

2007-03-31 Thread Craig Boxall
Thanks for your sugestion Fabian, Im looking for a more standard ways so that each "tier" is seperated by a "/" to give the idea of folder depth Anyone have any ideas? Basically a tree-like structure. On 31/03/2007, at 10:07 PM, Fabian Lange wrote: > > Hi Craig, > I have had the same problem f

[symfony-users] Re: Routing Question

2007-03-31 Thread Fabian Lange
Hi Craig, I have had the same problem for my forum like application. I am using the sfNestedSetPlugin to store the tree. Besides the title column I store a routing_rule column with it. That gets calculated like this: const SEPARATOR ="-"; public function getRoutableTitle() { $v