Workaround:
Modify the include\inc\inc_fun_spgetarclist.php file, modify the function spgetarclist, and locate the following code:
Copy Code code as follows:
$row [' typelink '] = "<a href=". $row [' Typeurl ']. "' > ". $row [' TypeName ']." </a> ";
$row [' image '] = "<]", "", $row [' title ']). "' > ";
$row [' imglink '] = "<a href=". $row [' filename ']. "' > ". $row [' image ']." </a> ";
$row [' title '] = Cn_substr ($row [' title '], $titlelen);
$row [' textlink '] = "<a href=". $row [' filename ']. "' > ". $row [' title ']." </a> ";
if ($row [' Color ']!= "] $row [' title '] =" <font color= ' ". $row [' Color ']." ' > ". $row [' title ']." </font> ";
if ($row [' Iscommend ']==5| | $row [' Iscommend ']==16] $row [' title '] = ' <b> '. $row [' title ']. " </b> ";
Modified to:
Copy Code code as follows:
$row [' typelink '] = "<a href=". $row [' Typeurl ']. "' > ". $row [' TypeName ']." </a> ";
$row [' image '] = "<]", "", $row [' title ']). "' > ";
$row [' imglink '] = "<a href=". $row [' filename ']. "' > ". $row [' image ']." </a> ";
$row [' alltitle '] = $row [' title ']; Add article title attribute support
$row [' title '] = Cn_substr ($row [' title '], $titlelen);
$row [' textlink '] = "<a href=". $row [' filename ']. "' > ". $row [' title ']." </a> ";
if ($row [' Color ']!= "] $row [' title '] =" <font color= ' ". $row [' Color ']." ' > ". $row [' title ']." </font> ";
if ($row [' Iscommend ']==5| | $row [' Iscommend ']==16] $row [' title '] = ' <b> '. $row [' title ']. " </b> ";
The code adds a
$row [' alltitle '] = $row [' title '];
Redefining an array variable holds the contents of the caption.
You can then use a label like [field:alltitle/] in the template to invoke the full title of the article.
For example:
Copy Code code as follows:
{dede:arclist typeid= ' 0 ' row= ' 6 ' titlelen=32 orderby= ' pubdate '}
<li><a href= "[Field:filename/]" title= "[field:alltitle/]" >[field:title/]</a></li>
{/dede:arclist}
That's about does it-enjoy!