Keyword

hiding the number of comments in author list module

  • Isam Ishaq
  • Isam Ishaq's Avatar Topic Author
  • Offline
  • New Member
More
15 years 3 months ago #70364 by Isam Ishaq
Hi,

I am new to k2. I like it so far and like to thank everyone who contributed to it.

Can someone tell me how to hide the number of comments displayed under the names of the authors in the authors module (mod_k2_tools?

I am using k2 from August 6th, 2009 - v2.0.

To see the page check the following link and look at the authors module on the right side.

beta.badil.org/al-majdal-quarterly-magazine

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #70365 by Steve k
I edited the authors.php file in the module section and took out the call for this but no luck. I can;t figure out where this coming from.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #70366 by Steve k
I figured out how to do this if you still need help

Please Log in or Create an account to join the conversation.

  • Isam Ishaq
  • Isam Ishaq's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #70367 by Isam Ishaq
Steve k said:I figured out how to do this if you still need help


I did not find a nice way, what I did was that I commented out the lines 40 until 44 from modules/mod_k2_tools/tmpl/authors.php and it is working fine now. Do you have a better solution?

Please Log in or Create an account to join the conversation.

  • Isam Ishaq
  • Isam Ishaq's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #70368 by Isam Ishaq
The URL was changed. The new URL is:
beta.badil.org/al-majdal/

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #70369 by Steve k
I did the same thing.

Isam Ishaq said:Steve k said:I figured out how to do this if you still need help


I did not find a nice way, what I did was that I commented out the lines 40 until 44 from modules/mod_k2_tools/tmpl/authors.php and it is working fine now. Do you have a better solution?

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 1 month ago #70370 by olsen
If you want to have an option at the backend to show or hide this count just follow this:

Attached file authorcommentscount.txt next post.

If you have your site translated to other language you should add the text to translate.

Hope this help you

Rgds

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 1 month ago #70371 by olsen
Here it is !!!!

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Attachments:

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #70372 by Steve k
This is great! Thank you!

Do know where to edit this text:

You don't have the permission to publish items.

It shows up when you add a new item on the front end. I have my users set to Author but I'm not allowing them to publish. I want look the articles over first. I would like for the message to tell the user that the content is being reviewd and will be published soon. I have looked in a bunch of en-gb files.

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
15 years 1 month ago #70373 by olsen
Add this lines at your language file xx-XX-com_k2.ini

ITEM SAVED=Your text
YOU DON'T HAVE THE PERMISSION TO PUBLISH ITEMS.=Your text

rgds

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum