0 answers
0 votes
Accessing models in PagesController
I don't know if this is the proper way to go about this, but I wanted to make a page to view a cart. I was thinking I would do this in pages controller and it would read the user's session, find the product id's in the cart, and look up...
0 answers
0 votes
No Controller Dump but Warning
With the version 1.2 I get a Controller Dump on the bottom of the page if debug mode was set to 3. With version 1.3.6 I just get this warning:
Warning (4096): Object of class PagesController could not be converted to string...
0 answers
0 votes
No custom "pages" controller?
[Edited to clarify what I'm asking]
I have a table in my DB called "Pages." It has 5 fields:
[id] = int(11), auto-increment, primary key
[title] = varchar(100)
[body] = text
[created] = datetime
[modified] = datetime
When I "bake" an MVC based on this...
2 answers
0 votes
How to list all controllers index functions
HI, I've just enabled admin routing and have created a admin_index function in pages. I'd like my adminindex view to list links to each of my controllers respective index views, for example
courses/index
posts/index
manuals/index
etc
Is there a way to...
3 answers
0 votes
Issue with the static page redirecting
Hi
I am facing a issue with routing of the static pages.
Here is the routes.php code for routing of static pages
Router::connect('/', array('controller' => 'pages', 'action' => 'display','home'));
Router::connect('/pages/*', array('controller'... 





