Top Left Text cha

Web & App Development

Using Event Booking's 'Upcoming Events' menu item type for the home page destroyed my title tag.

I tried a few methods, but the quick & easiest is to just remove the instructions to replace the Joomla core page title. You will just need to set this in the page display options of the menu item.

Remove the following code from /components/com_eventbooking/views/upcomingevents/view.html.php. You should find it around line 35.

		if ($category)
			$pageTitle = str_replace('[CATEGORY_NAME]', $category->name, $pageTitle);

If you're looking to fix this on other pages/menu item types, it should be easy to figure out where to find it. For example, if you want to fix it on a page of item type, 'events calendar', look for the same chunk of code or similar and remove it from /components/com_eventbooking/views/calendar/view.html.php.

This modification is specifically for Event Booking 1.6.3 on Joomla 2.5.14, but it should be of help with later releases also.

By the way, unfortunately you can not do this via a template override... not on the .html.php file.  So, for now, you'll just have to be careful when you update and rip out the bad code every time.  Booooo to the developers for not caring about SEO.


0 #1 Anya 2015-02-21 15:46
Greetings! Very helpful advice within this article!
It's the little changes that will make the biggest changes.
Thanks a lot for sharing!

My web blog; automatic daily backlinks:

Add comment

Security code

  • No comments found

Leave your comments

Post comment as a guest

Your comments are subjected to administrator's moderation.