This topic is locked

Changing the More ... to a picture?

4/23/2007 6:21:11 AM
PHPRunner General questions
S
stugutz author

Hi Guys

I have been searching high and low and how to take the text off 'More ...' (when truncating large text fields) and use a picture instead saying 'Read More >>'.
Where do I change this?
regards...
vj

Alexey admin 4/23/2007

Hi,
to change More.. to a picture modify ProcessLargeText function in include\commonfunctions.php file.

S
stugutz author 4/23/2007

Hi,

to change More.. to a picture modify ProcessLargeText function in include\commonfunctions.php file.


Thx
Ok I have located this, what is the modification?
cheers

S
stugutz author 4/23/2007

thx m8
excuse the ignorance of a dummy here...
I found the file, what is the modification to put?
thx

Alexey admin 4/23/2007

Hi,
find these two lines there:

$ret.="return false;\">"."More"." ...</a>";

$ret.=" pwin.location='".$table."_fulltext.php?".$iquery."'; return false;\">"."More"." ...</a>";

and replace them with something like:

$ret.="return false;\"><img src=mypicture.jpg></a>";

$ret.=" pwin.location='".$table."_fulltext.php?".$iquery."'; return false;\"><img src=mypicture.jpg></a>";

S
stugutz author 4/24/2007