Support Forum

  • Page:
  • 1

Disabling links and popup area

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Is there a way to disable the links in the captify content module? To that end I'd like to also disable the popup text too. I really just want the module to feature static images, to links etc. I've used firebug to find the linking code but have no idea which file its in, and help?

Thanks a lot.
  • Edward Mendes's Avatar
  • Edward Mendes
  • JB Pro
  • 1 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Edward,

In the latest version of the module you can ste it to disable the captify text on hover. Im not entirely sure what you mean by this:
just want the module to feature static images, to links etc.

but you can just open modules/mod_captifyContent/tmpl/default.php and remove any of the href's.

eg if you are using the content option you would turn this code:
<a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($item->id)); ?>">
		<img src="<?php echo $url ?>modules/mod_captifyContent/image.php?width=<?php echo $image_width ?>&amp;<?php echo $image_height ?>&amp;cropratio=<?php echo $crop_width ?>:<?php echo $crop_height ?>&amp;image=<?php echo JURI::root( true ) ?>/images/stories/<?php echo $item->image;?>" class="captify" alt="<?php echo $item->title;?>" />
	</a>

into this:
<img src="<?php echo $url ?>modules/mod_captifyContent/image.php?width=<?php echo $image_width ?>&amp;<?php echo $image_height ?>&amp;cropratio=<?php echo $crop_width ?>:<?php echo $crop_height ?>&amp;image=<?php echo JURI::root( true ) ?>/images/stories/<?php echo $item->image;?>" class="captify" alt="<?php echo $item->title;?>" />

Hope that helps.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers