aydot / cakePHP-JmenuHelper-Plugin

cakePHP JmenuHelper Plugin
0 stars 0 forks source link

Input and Show statements.. Controller or view? #2

Open Dmarthaller opened 10 years ago

Dmarthaller commented 10 years ago

Are the statements to set and display the menu destined for a controller or a view?

Example Parent menu must be set $this->Jmenu->input('Category');

for child menus, use the common CakePHP dot notation $this->Jmenu->input('Category.Category1');

aydot commented 10 years ago

Statement would be in the view.

On Apr 3, 2014, at 7:30 PM, Dmarthaller notifications@github.com wrote:

Are the statements to set and display the menu destined for a controller or a view?

Example Parent menu must be set $this->Jmenu->input('Category');

for child menus, use the common CakePHP dot notation $this->Jmenu->input('Category.Category1');

— Reply to this email directly or view it on GitHub.

Dmarthaller commented 10 years ago

Thank you as I have been struggling with an ACO error implementing in 2.4.4 installation using the latest version but I attempted to add this code in the AppController.

----- Original Message ----- From: Ayo Akinyemi notifications@github.com To: aydot/cakePHP-JmenuHelper-Plugin cakePHP-JmenuHelper-Plugin@noreply.github.com Cc: Dmarthaller dmarthaller@shaw.ca Sent: Thu, 03 Apr 2014 17:46:02 -0600 (MDT) Subject: Re: [cakePHP-JmenuHelper-Plugin] Input and Show statements.. Controller or view? (#2)

Statement would be in the view.

On Apr 3, 2014, at 7:30 PM, Dmarthaller notifications@github.com wrote:

Are the statements to set and display the menu destined for a controller or a view?

Example Parent menu must be set $this->Jmenu->input('Category');

for child menus, use the common CakePHP dot notation $this->Jmenu->input('Category.Category1');

— Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub: https://github.com/aydot/cakePHP-JmenuHelper-Plugin/issues/2#issuecomment-39518481