That's it!!! Thank you, thank you! I misused the module as you said. I choose archive where I needed to choose ' custom' . ' Problem' solved :)
Thank you.. :) The K2 custom field -module tools- does the work indeed! It is still though not presize what I want [it now shows Month-Year (total)...and I just want total: (99)] ...but it gives me enough direction to work with. Thanks again for your expertise!
..maybe a stupid question to ask...but where-in which file- should I put these lines? <?php $db = JFactory::getDbo(); $db->setQuery("SELECT COUNT(*) FROM #__k2_items WHERE published = 1 AND trash = 0"); $result = $db->loadResult(); ?>...
Thanks very much for your reply! I wil try your solution and let you know the results!
thanks for answering... I just want my visitors to show (in a module) how many items/articles I have in total. My items are guitar tabs for musicians and therefor it is nice to see how many tabs and artists or bands are published on my...
Hi K2 users, I am new in using K2 and after a long search I am wondering: Is there a module which displays a total count of all items or categories? Maybe I didn't look right, but I just can't seem to find it. Is there anyone who could...
More