Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • mtifinn
  • mtifinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 2
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?

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.051 seconds
  let me say what a brilliant app! Thank you very very much for all the hard work to build Cook!
Tocpe (Forum)

Get Started