[symfony-users] routing question?

2010-06-22 Thread John
Hi, I think this is a routing question. For SEO reasons, I need urls like the following: www.domain.com/acme-pump.html www.domain.com/beta-pump.html www.domain.com/boyden-pump.html ... and also: www.domain.com/acme-pumps.html www.domain.com/beta-pumps.html www.domain.com/boyden-pumps.html (No

Re: [symfony-users] Routing Question

2010-02-05 Thread Sid Bachtiar
Routing does not need table and model, it refers to module and action. For example for url "www.mywebsite.com/welcome", in your routing.yml you would have something like: welcome: url: /welcome param: { module: default, action: welcome } On Sat, Feb 6, 2010 at 5:21 PM, Shawn wrote: > I am

[symfony-users] Routing Question

2010-02-05 Thread Shawn
I am trying to create a portfolio website and have a few questions about routing. On this site there will be 3 pages, Welcome, Projects, Contact. The Projects page will reference the projects table and models. I am cabable of creating the routing for this, however, The welcome and contact pages wil

[symfony-users] [Routing] Question about a variable in the URL

2010-02-05 Thread HiDDeN
Hello, I have a question, is there some way to define a variable in the url part of the routing joined to a literal? An example: my_route: url: /:variable1/:variable2/literal:variable3.html When Symfony reads this, it prints literal:variable3.html as it is. Is there some other way to do it? Th

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

2009-08-25 Thread Richtermeister
Hi all, quick question. I'm trying to accommodate a url with an optional category. Say you have documents that can be categorized, like: "/library/legal/ document1.pdf", where "legal" is a category. Now, for uncategorized documents, I would like those to omit the category parameter, like so: "

[symfony-users] routing question

2008-10-01 Thread javo
Hi all, I have one project already online and I'm trying to rewrite it using Symfony, I don't want to edit my existing urls My current project works with urls like this www.mydomain.com/en/rest+of+the+url www.mydomain.com/de/rest+of+the+url www.mydomain.com/fr/rest+of+the+url where en,de,fr is th

[symfony-users] Routing question

2007-04-03 Thread Muhammad Asif Ali
Hi, Can i customiz the askeet url for the user profile now the url is like this http://www.askeet.com/user/asif now i want to rewrite the url to something like this http://asif.askeet.com/ Thanks in Advance Regards Mohammad Asif ali --~--~-~--~~

[symfony-users] Routing Question

2007-03-30 Thread Craig Boxall
Hi, Im creating a simple content management system where you can assign an item of content having a parent. This is to simulate a tree-like content structure So for example I want this kind of thing to work: - Home - Clients - Client1 - Project1 - Pro