eb-page-heading for module = H1

  • John
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago #94543 by John
eb-page-heading for module = H1 was created by John
Hi Tuan,

Bit lost in trying to improve SEO and noticed something strange. Important to know that H1 should be used only once on a page.

Correct:
When pointing a menu item to a EB view, the eb-page-heading is a H1. Correct because the content supposed to handle the main stuff on a page.

Wrong:
When you add a module with e.g. the timeline, eventbooking is dispaying eb-page-heading as H1.

For now, where can I change this?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 1 month ago #94550 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic eb-page-heading for module = H1
Hi John

Are you using view module to display a view in Events Booking, correct? If so, you can try to modify the file components/com_eventbooking/view/upcomingevents/timeline.php

You can use some kind of code like this

if (!$this->input->getInt('hmvc_call'))
{
// Display h1 tag
}
else
{
// Display anything you want
}

You would need to know programming to edit code in this case

Tuan

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

Moderators: Tuan Pham Ngoc