How to change "read more" text

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2007, 08:51 AM
Abc Abc is offline
New Pligger
 
Join Date: May 2007
Posts: 9
Hello all,



I want to change "read more" text from body content. when i changed from template_c folder's file and then put on ftp it will replaced with read more text, so i am note getting my new text it will replaced with read more text so please help me which file i can change for this changes.


Thanx
Abc
Reply With Quote
  #2 (permalink)  
Old 06-01-2007, 09:20 AM
New Pligger
 
Join Date: Apr 2007
Posts: 20
Look for your link_summary.tpl file in the templates folder and search for
<a href="{$story_url}">{#PLIGG_Visual_Read_More#}</a> &raquo;
Cange that line to what you want. I pulled this from the yget template just so you know.
The stuff in the template_c folder will not help you if you edit it. Its only cashed temp files.
Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 08:12 PM
New Pligger
 
Join Date: Apr 2007
Posts: 20
Ok here is more info since you don't understand.

DO NOT EDIT ANYTHING IN the TEMPLATE_C dir. It is not going to do what you want it to do.

Open your /templates/yget/ folder and find the file link_summary.tpl inside that folder.

On about line 169 you will see
Code:
if $pagename neq "story"} <a href="{$story_url}">{#PLIGG_Visual_Read_More#}</a> &raquo; {/if}<br />
Replace that with anything you want here is a Idea.
Code:
if $pagename neq "story"} <a href="{$story_url}">READ LESS</a>!!!! {/if}<br />
THE ONLY place you will be able to get your Edits to show up on the site is in the templates/ folder.
Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 09:35 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
This can also be easily done by going to admin> modify language, and typing in "read more". you can then edit in place what you want it to be.
Reply With Quote
  #5 (permalink)  
Old 06-02-2007, 12:34 AM
New Pligger
 
Join Date: Apr 2007
Posts: 20
I knew that and was looking to find out why I did not think of that.... I found out why. I do not have modify language showing up in the admin section. 9.4 it was there...hmmm and now its gone.
Reply With Quote
  #6 (permalink)  
Old 06-22-2007, 09:46 AM
Abc Abc is offline
New Pligger
 
Join Date: May 2007
Posts: 9
Quote:
Originally Posted by DAgbar View Post
Ok here is more info since you don't understand.

DO NOT EDIT ANYTHING IN the TEMPLATE_C dir. It is not going to do what you want it to do.

Open your /templates/yget/ folder and find the file link_summary.tpl inside that folder.

On about line 169 you will see
Code:
if $pagename neq "story"} <a href="{$story_url}">{#PLIGG_Visual_Read_More#}</a> &raquo; {/if}<br />
Replace that with anything you want here is a Idea.
Code:
if $pagename neq "story"} <a href="{$story_url}">READ LESS</a>!!!! {/if}<br />
THE ONLY place you will be able to get your Edits to show up on the site is in the templates/ folder.

Hi

Thank you for giving a reply. my text has been changed but i want to add more code in this template file so how can add more code. i try to add more code in this file but problem code will display on front page it is not converted to php code. so please help me


Thanx
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
I like to change the header text , how can I change header in pligg templates ryukenden Questions and Comments 0 03-15-2008 01:59 PM
read more - faq text change seacircus Questions and Comments 5 02-04-2008 11:47 PM
Can't change any text fields in admin uluckidog Questions and Comments 6 01-22-2008 02:20 PM
How to change "Voted" text after voting abahei Questions and Comments 3 03-14-2007 01:46 AM
changing the "read more" text finn Questions and Comments 1 06-15-2006 12:18 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development