Simple Homepage Image Rotator (Javascript, Slideshow, Showcase)
Last Updated on Friday, 30 July 2010 07:46 Written by Damian Friday, 30 July 2010 07:43
Here is what you will put inline wherever you want the rotating image:
<body onload="rotate()"> <a id="ad" href="http://www.google.com"><img src="IMAGE2.jpg" height="381" width="653" name="adshowboard" border="0"></a> </body>
<script language="JAVASCRIPT" type="TEXT/JAVASCRIPT"><!--showboard = new Imageshowboard.src = "IMAGE1.jpg"showboard = new Imageshowboard.src = "IMAGE2.jpg"showboard = new Imageshowboard.src = "IMAGE3.jpg"adImages = new Array("IMAGE1.jpg","IMAGE2.jpg","IMAGE3.jpg")adURLS = new Array("http://www.LINK1.com","http://www.LINK2.com","http://www.LINK3.com");thisAd = 0;imgCt = adImages.length;function rotate() {if (document.images) {thisAd++;if (thisAd == imgCt) {thisAd = 0;}document.adshowboard.src=adImages[thisAd];document.getElementById('ad').href = adURLS[thisAd];setTimeout("rotate()", 4000);}}// --></script>
Joomla 1.5 “Page Title – Site Name” SEO with YooTheme
Last Updated on Tuesday, 8 June 2010 06:52 Written by Damian Tuesday, 8 June 2010 06:52
It’s good practice to have your page title read before your site name to assist in SEO. Why this feature is not default or at least configurable within Joomla 1.5, I do not know. So here is what you need to get it done:
STEP 1:
Download Title Manager. Install and enable the plugin.
Set the alternative site name. For “Site name position”, choose “after page title”. For the separator, you can keep the dash or use something more eye-catching like a bullet point-> {s}•{s}
For the final setting, choose Yes to only show site name on default page.
STEP 2:
Go to Global Configuration>Site, delete your site name, and save.
You should now see your page titles in front of the site name (might have to clear a cache first).
STEP 3:
However, I still had a dash mark in front of my page title. This has been caused by YooTheme templates. Go to this file in your file manager:
templates/YOOTHEMETEMPLATENAME/config.php
Around line 26 you should see something like this:
// set title and params
$this->setTitle($mainframe->getCfg(‘sitename’).‘ - ‘.$this->getTitle());
$this->params->bind($template->params->toArray());
Delete the [space][dash][space] but leave the commas so it looks like this:
$this->setTitle($mainframe->getCfg(‘sitename’).‘‘.$this->getTitle());
$this->params->bind($template->params->toArray());
Save. And then celebrate.
E·lu·cu·brate
Last Updated on Tuesday, 16 March 2010 04:30 Written by Damian Tuesday, 16 March 2010 04:30
e·lu·cu·brate [ih-loo-kyoo-breyt]
–verb (used with object),-brat·ed, -brat·ing.
to produce by long and intensive effort.