End of Support for Joomla 3 - Forum closed
[SOLVED] RokSprocket v2.1.9 alt tags
Hi
I am trying to insert alt tags into our images to help with SEO.
All images are inserted using RokSprocket v2.1.9 modules either in the header bar or in the grid content.
There is nowhere to access the code in these modules to input the alt tag.
Can you please advise how I can do this?
I know if an image is inserted into an article it can be done there, in the source code.
However for the styling of our site we have to have the headerbar on each page, either as a slider or a single static image.
Please advise, thanks.
I am trying to insert alt tags into our images to help with SEO.
All images are inserted using RokSprocket v2.1.9 modules either in the header bar or in the grid content.
There is nowhere to access the code in these modules to input the alt tag.
Can you please advise how I can do this?
I know if an image is inserted into an article it can be done there, in the source code.
However for the styling of our site we have to have the headerbar on each page, either as a slider or a single static image.
Please advise, thanks.
by pacfood
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hi there, which layout?
Slideshow or mosaic ?
Slideshow or mosaic ?
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Hi
Some pics are in the slideshow, (headerbar).
The other pics are in the grid content, not sure if this is mosaic? Please see attached pictures for confirmation, thanks.
Some pics are in the slideshow, (headerbar).
The other pics are in the grid content, not sure if this is mosaic? Please see attached pictures for confirmation, thanks.
by pacfood
Attachments:
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hi there,
you can add the "alt" text manually, therefore you have to edit our override:
Add this code below to "alt=""
The override can be found at:
Joomla/templates/your theme/roksprocket/layouts/grids/themes/basic/item.php
you can add the "alt" text manually, therefore you have to edit our override:
Add this code below to "alt=""
<?php echo $item->getPrimaryImage()->getAlttext(); ?>
Attachment alt-text.jpg not found
The override can be found at:
Joomla/templates/your theme/roksprocket/layouts/grids/themes/basic/item.php
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Attachments:
Please Log in or Create an account to join the conversation.
Ok thanks, I will have a look.
by pacfood
Please Log in or Create an account to join the conversation.
Hi
I have added this to a test site and am not too sure if it is correct.
Please see the code image attached.
If yes it does not seem to alter anything. Please advise.
I have added this to a test site and am not too sure if it is correct.
Please see the code image attached.
If yes it does not seem to alter anything. Please advise.
by pacfood
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates