Dazu musst Du ein wenig die ../components/com_content/content.html.php bearbeiten.
Und zwar dort erstmal nach "$link_on" und dann nach "readon" (<a href="..etc) suchen.
Ich habe mal diese Stellen in der Datei angepasst, also versuch es mal ...
(MACH DIR ABER VORHER NEN BACKUP DER ALTEN content.html.php !!!)
PHP-Code:
1.STELLE ($link_on)
// checks if the item is a public or registered/special item
if ( $row->access <= $gid ) {
if ($task != "view") {
$_Itemid = $mainframe->getItemid( $row->id, 0, 0, $ItemidCount['bs'], $ItemidCount['bc'], $ItemidCount['gbs'] );
}
$link_on = sefRelToAbs("index2.php?option=com_content&task=view&id=".$row->id."&Itemid=".$_Itemid);
//if ( strlen( trim( $row->fulltext ) )) {
if ( @$row->readmore ) {
$link_text = _READ_MORE;
}
}
2.STELLE (readon)
if ( $params->get( 'readmore' ) ) {
if ( $params->get( 'intro_only' ) && $link_text ) {
?>
<tr>
<td align="left" colspan="2">
<a target="_blank" href="<?php echo $link_on;?>" class="readon<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo $link_text;?>
</a>
</td>
</tr>
<?php
}
}
}
/**
* Writes Next & Prev navigation button
*/
function Navigation( $row, $params ) {
$task = mosGetParam( $_REQUEST, 'task', '' );
Lesezeichen