Welcome, Guest
Username: Password: Remember me

TOPIC: Control Itemid in layouts

Control Itemid in layouts 02 Mar 2014 11:50 #12273

  • mtifinn
  • mtifinn's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Thank you received: 2
  • Karma: 0
I understand the Itemid is set to follow from grid view to item - and this is great.

BUT I have a situation where I want to control Itemid. Let me explain.

I have 3 tables and each has an associated form view,the normal set up is great for these. However to help my users first time I have created a set of these forms into a "wizard" which has a preset route from one form to the next grid/form ... I have edited the toolbar in these wizard pages to move to the next step. It all works.

But I want to have help files that show in a module position at each stage and module positioning is controlled by Itemid. Therefore for these wizard pages only I want to be able to set the Itemid of each layout... Is this possible?
The administrator has disabled public write access.

Control Itemid in layouts 06 Mar 2014 13:53 #12285

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Itemid stays untouched by Cook.

It represents the value of the menu page.
Cook is only following the value through the pages when it has been sent.

The follower is defined in the <form> footers.
Open the JDom class, and see the possibilities.

You can in any template file, set Itemid = 0, in the JDom call of the footer.


Usefull ?
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.103 seconds

Get Started