Sunday, August 26, 2012

Passing arguments to a Pages

I've a page (i.e. under Pages directory) called dettaglio_regione.ctp. I want to set URLs like http://.../clienti/[[regione]], so a working URL should be something like http://.../clienti/Campania or http://.../clienti/Sicilia and so on.
I need to grab the content of [[regione]]. How I've to set the route?

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: