This page has moved. You will be automatically redirected to its new location in 10 seconds. If you aren't forwarded to the new page, click here.

Search This Blog

Wednesday, March 31, 2010

Set title of Joomla page

$mydoc =& JFactory::getDocument();
$mytitle = $mydoc->getTitle();
$conf =& JFactory::getConfig();
$sitename = $conf->getValue('config.sitename');
$mydoc->setTitle($mytitle.' - '.$sitename);

 

http://joomlapanel.com/joomla-article/58-page-titles-in-joomla-15.html

Wednesday, March 3, 2010

Get latitude and longitude from Google maps

Open the map using post code or whtever u want to use.

then paste this in ur browser location bar:

javascript:void(prompt('',gApplication.getMap().getCenter()));



 



http://lifehacker.com/267361/how-to-find-latitude-and-longitude