Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Event Title inside another module

  • Olivier Frascone
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago #105860 by Olivier Frascone
Event Title inside another module was created by Olivier Frascone
Hi
When I am in an Event page, I want to have the Event Title inside a module (i.e. in header module), how can I do that?

I want to use something like:
Code:
<a class="eb-event-title" href="<?php echo $detailUrl; ?>" itemprop="url"><span itemprop="name"><?php echo $event->title; ?></span></a>
but it looks that I need more code.

Thank you

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 11 months ago #105887 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Title inside another module
Hi Olivier

Unfortunately, there is no easy way to do that. If you really need it, I think you will need to write some kind of javascript code to get the title from the main event page and then insert it into the module (but it is not easy), so I guess you should find a different option

Tuan

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

Moderators: Tuan Pham Ngoc