I have looked at previous posting on how to delete the word count for the story. Below is a reply you gave which seemed to have worked for others.
Oh, I think I misunderstood your question. You only want to get rid of the part of the link that displays the word count, not the entire link ... Well, you need to hack lib-common.php for that. Search for "readmore_link" and you will find this: $article->set_var('readmore_link', '' . $LANG01[2] . ' (' . sizeof(exp lode(' ',$A['bodytext'])) . ' ' . $LANG01[62] . ') '); Simply remove everything after the tag so that you get $article->set_var('readmore_link', '' . $LANG01[2] . ''; That should do it. bye, Dirk
I tried to seach in the lib-common.php for "readmore_link" but could not find it.
Please let me know if im doing anything wrong? or is there another way to do this.
Regards.
word count lib-common.php
Posted on: 03/20/05 03:13pm By: Dirk
The code that actually renders the stories is now in system/lib-story.php
Also note that there are quite a few variables already defined[*1] that you could use in your remplate files to get a "read more" link without the word count, so you shouldn't have to hack it.
bye, Dirk
Re: word count lib-common.php
Posted on: 06/18/09 04:55pm By: 1000ideen
So which variable is it that produces a readmore_link without the "(62 words)"?