1
Hi
Could someone please assist me...
I have mylinks and mydownloads installed, both have recent links/recent downloads as blocks.
The character length for the link is set somewhere to a number, ie the title is cut short and followed by ...
I searched the admin section but cannot find anywhere to change the character length so supposed its within the following php code:
function b_mylinks_top_show($options) {
global $xoopsDB;
$block = array();
$myts =& MyTextSanitizer::getInstance();
$result = $xoopsDB->query("SELECT lid, cid, title, date, hits FROM ".$xoopsDB->prefix("mylinks_links")." WHERE status>0 ORDER BY ".$options[0]." DESC",$options[1],0);
while($myrow = $xoopsDB->fetchArray($result)){
$link = array();
$title = $myts->makeTboxData4Show($myrow["title"]);
if ( !XOOPS_USE_MULTIBYTES ) {
if (strlen($myrow['title']) >= $options[2]) {
$title = $myts->makeTboxData4Show(substr($myrow['title'],0,($options[2] -1)))."...";
}
}
Am I looking in the right direction? do i need to edit the function to show the full title name and not truncate it?
Thanks in advance
Voddie