Great. Glad you got it working.
My first approach was preferrable for just this reason, but I couldn't ever get it to work consistently. Not sure why. Give me a link to your site, may be something we can do in css.
Hey Markus, just wrap the following portion of the foreach statement as shown. if ($this->item->featured) { echo $this->loadTemplate('item');} The syntax for not featured is: if...
I'll try to play with it this weekend.
Depending on your category layout you can have leading, primary and secondary items, which are each called separately. The code above will only affect secondary items. Make the same change to the primary and leading sections...
Sorry my explanation wasn't very good. The test for the featured status goes inside the foreach loop. <?php foreach($this->secondary as $key=>$item): ?> ...
I don't use the user extended fields so someone else may have a more specific solution, but you can always temporarily add the following to item.php: <pre><?php print_r($this); ?></pre>. This will print all the...
I've answered your other post. Please don't double or triple post the same issue.
In the template file for the module (default.php) do the following. 1. Add the following near the top. <?php $articleCount = 0; ?> 2. Right after the first foreach add the following. <?php $articleCount = $articleCount +1;...
Here's a simple solution, although it has some limitations. If you need a more elegant solution see this post. <?php foreach ($this->item->extra_fields as $key=>$extraField):?> <?php if...
More