Page 1 of 1

Changing the Read More text.

Posted: Wed Mar 19, 2008 6:40 pm
by SpacePyrit
I am well aware there is an extension for this, but I want to do it myself for learning purposes.
I want to change the Read More text. I want it to say "Read More about (the article title)". I assumed I could do this in the blog_items.php file. I found the JText line and entered inside the paranthesis ('Read More about<?php echo $item->title; ?>') I FTP it and nothing happened. I am wondering if this is the right file or even the right place to put it.

Re: Changing the Read More text.

Posted: Wed Mar 19, 2008 7:34 pm
by erdsiger
Instead of

Code: Select all

<?php echo JText::_('Read more...'); ?>
write

Code: Select all

<?php echo ( 'Read more about ' . $this->item->title ); ?>
I tested on the /components/com_content/views/frontpage/tmpl/default.php file.