Welcome, Guest
Username: Password: Remember me

TOPIC: Problem: Link to single event's registration

Problem: Link to single event's registration 14 years 8 months ago #7141

  • bdonner
  • bdonner's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 128
  • Thank you received: 2
My problem:
I find no possibility to make a menu entry that would lead straight to the registration page for an event. That is, other than setting up the registration link as a Joomla-external URL in Joomla's menu item manager.

This causes the problem that I cannot assign certain modules to show up together with the registration form, for instance in the left colum whenever the registration form is open. I can of course assign modules to the whole of DT Register, if I have a menu item created for DT Register as a whole, but now, I do want very different kinds of modules to show up for each event (for instance, a Default HTML module which has a link to a new window with the curriculum, or info about sessions, or...) .

Is there no way to do this? It was possible in DT Reg 1.5.x, at that time a menu item with the external url of http://www.site.com/index.php?option=co ... eventId=26 made sence to joomla, but the new http://www.site.com/index.php?option=co ... g_options& seems to be too much for Joomla to identify where we are going.

Cheers Ben

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

Problem: Link to single event's registration 14 years 8 months ago #7165

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Yes, you can use the external link menu type as you said. That will give you a unique Itemid, which is what modules attach to. Make sure you include that Itemid in the url that you link to... and assign your modules to that new menu item. Should be fine.

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

Problem: Link to single event's registration 14 years 3 months ago #8943

  • Brian Peat
  • Brian Peat's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I tried this and just can't get it to show up. The item ID never shows up anywhere, even if I temporarily publish the hidden menu I'm using to list all my single events in.

Any ideas on this?

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

Problem: Link to single event's registration 14 years 3 months ago #8973

  • breezeboogie
  • breezeboogie's Avatar
  • Visitor
  • Visitor
he's correct. it works if you put the item ID at the end of the URL. Then you can attach any module to the menu item. Just add "&Itemid=123" changing 123 to that menu item's unique item ID.

In my case, it was:
/index.php?option=com_dtdonate&task=firstdata&Itemid=446
(My DT Donate installation is hacked a bit to integrate an unsupported gateway)

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

Problem: Link to single event's registration 14 years 3 months ago #8974

  • Brian Peat
  • Brian Peat's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
WHERE do you put that code? That was my issue. I had no idea where to put it, so I ended up using Advanced Module Manager instead (which causes issues with another plugin I have).

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

Problem: Link to single event's registration 14 years 3 months ago #8975

  • breezeboogie
  • breezeboogie's Avatar
  • Visitor
  • Visitor
Please see the attached file. By adding the ID to the end of the "external" URL (that's really internal), the module that you publish to that menu item will stick. Hope this helps. I'd been struggling with this issue to before stumbling onto this thread.
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

Time to create page: 0.335 seconds