php - Joomla! K2 - How to fetch Author Item Count for user page? -



php - Joomla! K2 - How to fetch Author Item Count for user page? -

i have several authors on website , each of them has page of own image, description , list of items. add together "item counter" pages, page this:

author name, number of posts -> author description -> author items.

the thing miss here number of posts author.

thank much answers!

you need modify k2 view (we did 1 of our clients). need create query resembles next in view:

select count(*) #__k2_items authorid='id';

now should pass result of query template (using assignref function on $this object. that's it!

note: not sure field name authorid, i'm sure it's else can't remember on top of head.

php joomla joomla-k2

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -