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.

Last questions

I cannot modify the content of a comment using the
Hi, When I try to edit a comment by clicking ContentItem, I got a blank page....
0 Replies
Posted on Wednesday, 19 January 2022
  • New
  • Can't install CComment
    When I try and install CComment Core via "Install from Web", it fails....
    1 Replies
    Posted on Monday, 17 January 2022
  • New
  • CMC for Joomla 4
    Was wondering if you have intentions to make CMC work with Joomla 4?...
    1 Replies
    Posted on Friday, 14 January 2022
  • New
  • Matukio for Joomla 4
    Hello Yves, Long time no see... I am still using everyday your fantastic M...
    19 Replies
    Posted on Thursday, 16 September 2021
    Wrong link in notification email to CComment
    Hello, if someone makes a comment on a post via "CComment", I receive ...
    2 Replies
    Posted on Thursday, 13 January 2022
  • New
    • #admin email
    • #500