If you’re running Joomla 1.5.x and JoomGallery 1.5.5.2 and you have RSS enabled then you’ll notice that when you view your RSS, the image links don’t actually link to your image. The link looks like http://yourwebsite.com/joomplu:img_number%20type=orig. Here’s a temporary solution thanks to master7 from the JoomGallery forums.
Archive for the ‘Joomla’ Category
Fixing The Image Links In JoomGallery’s RSS Output (1.5.5.2)
Friday, October 8th, 2010Remove the [brackets] in JoomGallery’s Page Links
Thursday, October 7th, 2010Aight, I’ll just make a quick post so I don’t forget about it in the future. Here’s how you remove the annoying brackets on JoomGallery’s page links e.g. [1], [2], [3], …
First you go to your JoomGallery’s component’s folder (not the administrator folder) components/com_joomgallery/helpers/html.
Then go and find the following lines.
line 346/1069
line 356/1069
line 409/1069
Oh and add another nbsp on 2 because it doesn’t have one at the end.
Removing the text ‘Gallery -’ in JOOMGallery 1.5.5.2
Saturday, September 4th, 2010I’ve been running JOOMGallery on a couple of my websites and there’s always this annoying ‘Gallery – Category” page title every single time I load a page. I just wanted it to be “Category” that’s it. So I visited their forums and it looks like the solution was just to go to the language file and remove the word ‘Gallery’ (it’s on JGS_COMMON_GALLERY). Doing that though would make it look even worst since now it’ll be like “- Category”. So what’s the next step? There’s only one step and you don’t even need to delete the word Gallery. All you have to do is go to /com_joomgallery/views/category/view.html.php and then go to line 289. You’ll then see the line “$this->_doc->setTitle(JText::_(‘JGS_COMMON_GALLERY’).’ – ‘.$pagetitle);”, so either you comment it out (for back up) and then make a new one without the ‘JText::_(‘JGS_COMMON_GALLERY’).’ – ‘.’ and that’s it. Mine looks like ‘$this->_doc->setTitle($pagetitle);’.
If you want to do the same thing on the details page, just head over to /com_joomgallery/view/detail/view.html/php on line 112.
MOSpjirc Component SEO Fix
Wednesday, May 6th, 2009If you have MOSpjirc Component in your Joomla 1.X installation then you would have noticed that it uses the same <title></title> tag as your homepage. We all know that is bad as far as SEO (Search Engine Optimization) is concerned! Another problem about this component is that it doesn’t add a Meta tag when it generates its pages which means that it’ll use the same Meta tag that your homepage uses! Again, having duplicate Meta tags will hurt your website.
Here’s a simple fix that I’ve come up with. It involves going to your ~/components/com_mospjirc/ directory and looking for the mospjirc.html.php file. Open it and add the following lines right after…
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
So it should look like this now.
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$mainframe->setPageTitle(Chatroom);
$mainframe->addMetaTag( 'description', Chatroom);
$mainframe->addMetaTag( 'keywords', Chatroom);
You can change Chatroom to whatever you want. I just used it because that’s basically what MOSpjirc is. Refresh your page right after you saved the file. Now you’ll see the following lines when you view your webpage’s source.
<title>Chatroom</title>
<meta name="description" content="Chatroom" />
<meta name="keywords" content="Chatroom" />
Have fun improving your websites!
Remove Login/Logout Header In Fireboard
Wednesday, November 19th, 2008I was annoyed at how Fireboard displays the login/logout header especially when you already have Community Builder and logging in redirects to the frontpage. And add the fact that I hate seeing my avatar on the header of the forum. So I decided to remove it! Here’s how…