×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to condition the display based on category id in hotspots view ?

How to condition the display based on category id in hotspots view ? 9 years 5 months ago #28800

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
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 ?
		<div class="hs-hotspots-overview">
				<?php 
				$cat = htmlspecialchars('{{{catid}}}');
				//echo $cat;
				if ($cat == 11): ?>
				{{{cutDescription}}}
				<?php endif ?>				
		</div>
Thanks
  • Page:
  • 1
Time to create page: 0.183 seconds