A couple of things: first, I'd use the html link helper to make
links.
link('Test', '/controller/action'); ?>
Second, it should be /controller/action, not controller/action.
Third, pagesController is a built-in part of cake, so you can't have a
controller called pages.
In reference to your ro
Hello hydra,
you got my point right. But here i have a little query regarding routes as
well. Please bear with me as i am new to cake.
lets say that i have a layout default.thtml. and i am having a link in the
default page which points to some other page(which happens to be the cake
page itself).
I'm still unsure what you are wanting. Are all of these new pages
going to be cake pages, or are they going to be static pages? If they
are cake pages, then your two points are correct. Sometimes it is
easier to make a new layout.
On Jan 19, 1:37 am, "Novice Programmer" <[EMAIL PROTECTED]>
wro
Hello,
Actually i am trying to port a legacy application. In the page there are a
lot of forwards thro html tag. Now what i was thinking was that
what is the best way to convert these tags new layouts, or the same layout
with different views loading at different time. After i researched i came to
What exactly are you trying to accomplish?
On Jan 18, 1:39 pm, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> Hello guys,
>
> What is the best way to handle the redirections such as in cake php. Do i define new layout for the page
> mypage or should i have seperate view and load it in the