hi group.
i'm new to cake, just installed 1.2 rc3 and found it really cool! what
i'm trying to find out know is how can i processes custom parameters
in URL, for example if i pass:

http://myhost.com/app/posts/view/711?myparam=1

is it possible for me to ready this "myparam"? or another example:

http://myhost.com/app/mypathentry/posts/view/711

can i get "mypathentry"?

the reason why i want all that is that i'm trying to find a way how to
switch a theme based on path/parameter. Example:

http://myhost.com/app/mypathentry/posts/view/711 - rendered as Theme1
http://myhost.com/app/posts/view/711 - rendered as Theme2

if i'm able to find mypathentry i would just switch the theme in my
controller and the content will be rendered using corresponding theme,
or am i missing something here and there is a better solution for
that?

thanks in advance!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to