1. Jean Machuron
  2. Sherlock Holmes
  3. Tricks
  4. Saturday, 08 November 2014
  5.  Subscribe via email
Hi Daniel

I need your help regarding hotspots view.
I tried to condition the cutDescription of an item based on its category but it does not seem to work.

Could you help with this code ?
[code type=php]
<div class="hs-hotspots-overview">
<?php
$cat = htmlspecialchars('{{{catid}}}');
//echo $cat;
if ($cat == 11): ?>
{{{cutDescription}}}
<?php endif ?>
</div>
[/code]
Thanks
Responses (0)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Powered by EasyDiscuss for Joomla!