Archive for September, 2010

JoinPGN.com does CSS3

Sunday, September 5th, 2010

I figured it’s time for PGN to get a nice face lift. This time adding the power of CSS3.

Removing the text ‘Gallery -’ in JOOMGallery 1.5.5.2

Saturday, September 4th, 2010

I’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.