Terry - I found a solution for this. I just placed the code snippet in front of the div container...simple but useful.
It's working Terry. Good job. Unfortunately there's another problem: Your code generates a "itemContainer" div no matter if the 'if-function' matches or not. This causes a lot of empty div containers that are breaking the layout. For...
Awesome. I will try this and let you know.
Great. Let me know if you need any help.
Short update on this. I also tested the 'not show any featured item' if statement. Compared to the statement above it causes the whole website to break. I receive a blank page.
I set the primary, leading and links count to 0. Only secondary items are visible right now (featured and non-featured). For testing purposes I didn't dublicate the code I just sourrended the code that calls the secondary items (see...
Thanks for getting back so quickly. Unfortunately this doesn't help either. I'm not getting any items. Of course I checked that the "show featured items" is enabled and indeed it is displaying featured items in the overview when I commented...
I can't get it to work. My code looks like this. But what I get is no item at all. Any suggestions?: <?php if ($this->item->featured) : ?> <?php foreach($this->secondary as $key=>$item):...
More