On Jan 10, 2011, at 08:13, javier0051 wrote:

> No errors, the news & articles and other stuff are actually in the
> database BUT no contents are displayed. (site's main page: www.acepweb.org.ar
> Undisplayed contents example url (http://www.acepweb.org.ar/c/noticias/
> ultimas-noticias)
> 
> The problem comes when trying to access one of the interior sections.
> The contents are in the database, the routing.php file has this line
> "(Router::connect('/c/:categoria/:subcategoria', array('controller' =>
> 'categories', 'action' => 'view', 'categoria' => null, 'subcategoria'
> => null));)" directing to some /c/ folder or whatever it is but it is
> not physically present.

Router::connect() is not "directing to some /c/ folder or whatever"; 
Router::connect() informs CakePHP that when a visitor accesses a URL of the 
form "/c/:categoria/:subcategoria" (where ":categoria" and ":subcategoria" are 
placeholders which stand for any value), CakePHP will invoke the "view" method 
of the "categories" controller. You may want to spend some more time reading 
the CakePHP documentation to better understand this and other basics of CakePHP 
applications.

http://book.cakephp.org/view/875/x1-3-Collection





Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to