Hi there,
I’m not using the syndicate module as intended in JA megamenu. Instead i’m displaying it in a module with right position.
I figured that to change the way the module is displayed i had to change JA Telline template for the module
<?php // no direct access
defined(‘_JEXEC’) or die(‘Restricted access’); ?>
<a class=”megaitem” href=”<?php echo $link ?>”><span>RSS</span></a>
which i did to
<?php // no direct access
defined(‘_JEXEC’) or die(‘Restricted access’); ?>
<a href=”<?php echo $link ?>”>
<?php echo JHTML::_(‘image.site’, ‘livemarks.png’, ‘/images/M_images/’, NULL, NULL, ‘feed-image’); ?> <span><?php echo $params->get(‘text’) ?></span></a>
which is a copy/paste from Joomla’s default template for the syndicate module.
BUT… The livemarks.png isn’t displayed instead i get an RSS icon that i can’t even locate.
see there : http://cohabitat.fr/JA/accueil/agenda.html
I guess something must be wrong with the
echo JHTML::_(‘image.site’, ‘livemarks.png’, ‘/images/M_images/’, NULL, NULL, ‘feed-image’);
bit, given that the template isn’t located where it ought to be (modules/mod_syndicate). But i don’t know what.
What should i replace it with to actually display the image?
OR (better still, since i could decide which template to use according to where the module is displayed – ie. Megamenu or other position) Is there a way to revert to Joomla’s default without altering JA Telline template for that module?
Thx for your answers.