- Posts: 18
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- how to place Hits (page views) counter in same line as read more?
how to place Hits (page views) counter in same line as read more?
- migors
-
Topic Author
- Offline
- New Member
Less
More
14 years 9 months ago #86190
by migors
how to place Hits (page views) counter in same line as read more? was created by migors
Helo friends, please help noob, could you suggest how to place Hits (page views) counter in same line as read more? it takes too many space where it is so i need it like in picture, and is there way to place in the same line publish datate and time. I d be rely thanks full. I am not a programmer just like joomla and building my personal webpages, just try use k2 instead of joomla content, great component :)
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 9 months ago #86191
by william white
Replied by william white on topic how to place Hits (page views) counter in same line as read more?
see attached file
this is item.php file with a line moved to put what was above - beside
this is item.php file with a line moved to put what was above - beside
Please Log in or Create an account to join the conversation.
- migors
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 18
14 years 9 months ago #86192
by migors
Replied by migors on topic how to place Hits (page views) counter in same line as read more?
Hi thanks for reply
Hi i tried but no result, i have default k2 template in /httpdocs/components/com_k2/templates/default/
so i tried there.
and i need to place that hit counter in category view, does item.php will change that?
William White said:see attached file this is item.php file with a line moved to put what was above - beside
Hi i tried but no result, i have default k2 template in /httpdocs/components/com_k2/templates/default/
so i tried there.
and i need to place that hit counter in category view, does item.php will change that?
William White said:see attached file this is item.php file with a line moved to put what was above - beside
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 9 months ago #86193
by william white
Replied by william white on topic how to place Hits (page views) counter in same line as read more?
In that case you will need to work in one of the files starting with category.......php in the same directory
Find the file that contains "be the first to comment" and try there
Find the file that contains "be the first to comment" and try there
Please Log in or Create an account to join the conversation.
- migors
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 18
14 years 9 months ago #86194
by migors
Replied by migors on topic how to place Hits (page views) counter in same line as read more?
Thank you i need just a little guidance and i did it :) So i needed to eddit category_item.php and k2.css.
Here result:
I am not shure did i all right, but for now all works. Could you please look on code and say if it is ok? css i ok but dont know is it right way in php
Here result:
I am not shure did i all right, but for now all works. Could you please look on code and say if it is ok? css i ok but dont know is it right way in php
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 9 months ago #86195
by william white
Replied by william white on topic how to place Hits (page views) counter in same line as read more?
It appears to be working!
Please consider using K2 overrides
Search here and the documentation forum
Using an override and onecss4k2 will allow you to update k2 and not loose the changes
Please consider using K2 overrides
Search here and the documentation forum
Using an override and onecss4k2 will allow you to update k2 and not loose the changes
Please Log in or Create an account to join the conversation.
- migors
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 18
14 years 9 months ago #86196
by migors
Replied by migors on topic how to place Hits (page views) counter in same line as read more?
Thanks!
William White said:It appears to be working! Please consider using K2 overrides
Search here and the documentation forum
Using an override and onecss4k2 will allow you to update k2 and not loose the changes
William White said:It appears to be working! Please consider using K2 overrides
Search here and the documentation forum
Using an override and onecss4k2 will allow you to update k2 and not loose the changes
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- how to place Hits (page views) counter in same line as read more?