2012-09-21, 07:17:40
mvlcek Wrote:[/root.] Wrote:additionally I'd like to add the entry count (1-4) to the class of a opening div
You could add an additional search call (return_i18n_search_results, get words/tags from URL) and use the number of returned items (count($searchresults->results)) in the surrounding div.
I do understand what you mean but I have not enough knowledge to accomplish this. Any chance you can post a complete code?
Code:
<div class="box sCOUNT">
<h4><a href="<?php echo $item->link; ?>"><?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?></a></h4>
</div>
Thank you any way