Author Topic: Other modules on order page  (Read 332 times)

Offline NickC4555

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Other modules on order page
« on: 06/December/2011, 08:54:48 AM »
I can't find a way of controlling which modules appear on nBill order form pages. Other modules (e.g. Search, Breadcrumb) which are displayed on all my other pages are missing, so there is inconsistency in the way the site looks on nBill pages.

Modules which are set to show on all pages display, but those that are set to display on selected pages don't, even though I have the Order page checked.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Other modules on order page
« Reply #1 on: 06/December/2011, 09:29:37 AM »
Joomla controls which modules to display based on the value of the Itemid parameter in the URL. nBill preserves whichever Itemid was used to access it in the first place. So you need to make sure that any links that go to nBill, either from menu items or links within articles, include the Itemid parameter of the menu item you want to associate with nBill. Some people have had problems with the SEF URL mechanism in Joomla which sometimes does strange things including stripping off the Itemid. If you use a 3rd party SEF component though, it is usually possible to manually map a SEF URL to a Joomla URL if you get stuck.

Offline NickC4555

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Other modules on order page
« Reply #2 on: 06/December/2011, 09:43:07 AM »
The URL generated by nBill for use in the menu is:

http://www.nanagram.co.uk/upgrade/index.php?option=com_nbill&action=orders&task=order&cid=3

I have created a menu item to this URL called "Order". Even with Joomla SEF switched on, that is what is preserved when the menu item is selected. All of the modules that are set to show on every page display on this page, but those modules that are set to show only on selected pages do not, even when the Order page is checked in their properties in the module manager.




Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Other modules on order page
« Reply #3 on: 06/December/2011, 01:55:01 PM »
Make a note of the menu item ID number (go to the list of menu items in Joomla and check the ID number on the far right next to the menu item that links to your form). Edit the menu item and add &Itemid=<insert menu item ID here> to the end of the URL.

Offline NickC4555

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Other modules on order page
« Reply #4 on: 06/December/2011, 02:30:47 PM »
 ;D

I think you're working for me full time at the moment!

Offline kimborg

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Other modules on order page
« Reply #5 on: 13/March/2013, 02:37:13 PM »
Having nBill 2.5.1 on Joomla 1.5.28, this doesn't work for me.
Changing nBill menu link from
http://ilros.no/index.php?option=com_nbill&action=orders&task=order&cid=5 to http://ilros.no/index.php?option=com_nbill&action=orders&task=order&cid=5&itemid=464 makes no changes. Modules still doesn't appear.
I use core Joomla SEF.

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Other modules on order page
« Reply #6 on: 13/March/2013, 03:29:55 PM »

Offline kimborg

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Other modules on order page
« Reply #7 on: 13/March/2013, 06:17:15 PM »
I see. Works fine now. Thanks.