sam111 wrote:
Dan, thanks for the info. I thought it didn't work as your previous post about a month ago said it wasn't working.
Yes but if you check a few posts down you'll find the temporary fix for this that I posted ->
http://www.rockettheme.com/forum/general-discussion/219983-alt-attribute-with-roksprocket-features?start=10#1154908
sam111 wrote:
If so, I'll open a ticket asking how to do it if appropriate.
Thanks so much for your help. This is my main SEO problem...Sam
That example I provided was for Features - Slidshow. For Lists the item.php modification location is a little different.
In \roksprocket\layouts\lists\themes\default\item.php find at Line 26:<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="" />
and replace with:<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />
Then in \roksprocket\layouts\lists\themes\default\item.php find at Line 53:<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="" />
and replace with:<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />