Cant seem to get this.
Site.com/ => base entry page goes to a routed controller => action all fine
I need crumb "home" to go to a specific page.
Crumb Home => will take you to site.com/welcome which is 'controller' =>
'pages', 'action' => 'index'
In the layout I have :
Html->addCrumb('Home', array('controller' => 'pages', 'action'
=> 'index')); ?>
Html->getCrumbs(' / ', false);?>
And tried
echo $this->Html->getCrumbs(' / ', 'Take Me Home');
And then in the view simply add in the correct crumb. But I either end up
with no Home at all (first example) or Crumb From View / Take Me Home (links
to correct pages/index route) but is in the wrong spot at the end when it
should be first.
I do not want to add "Home" crumb to every view so that why I tried dropping
it in the layout but it gets pushed to the end. Can you define where base
Home crumb goes?
Thanks,
K
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
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