Page heading on event detail

  • drmenzelit
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 weeks ago #43606 by drmenzelit
Page heading on event detail was created by drmenzelit
Hi,

I want to have the name of the category or the name of the menu point as page heading in the event detail page as is usual in Joomla. I can coding but I don't know how to get the information for the event detail page. A hint will be appreciated.

Thank you and best regards

Viviana

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 11 months ago #44647 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Page heading on event detail
OK. See your question now. Not sure why I missed this question :(.

Basically, you will need to modify the file components/com_eventbooking/views/event/tmpl/default.php .

The code for rendering page heading is now :
Code:
<h3 class="eb-page-heading pull-left span11"> <?php echo $item->title; ?> </h3>

So from that page, you will need to read information from database, get the category name and display it in the way you want

Tuan

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

  • drmenzelit
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44650 by drmenzelit
Replied by drmenzelit on topic Page heading on event detail
Is the category name somehow associated with the event as $item? Or do you mean I have to create a SQL query on the event file?
It is not possible to get the page heading (from the menu item) like in Joomla articles?

Viviana

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

Moderators: Tuan Pham Ngoc