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.348 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started