ist allerdings damals für die 1.0.12 gemacht.
Code:
function show( &$row, &$params, &$access, $page=0 ) {
global $mainframe, $hide_js;
global $mosConfig_live_site;
global $_MAMBOTS;
$mainframe->appendMetaTag( 'description', $row->metadesc );
$mainframe->appendMetaTag( 'keywords', $row->metakey );
// adds mospagebreak heading or title to <site> Title
if ( isset($row->page_title) && $row->page_title ) {
$mainframe->setPageTitle( $row->title .' '. $row->page_title );
}
// calculate Itemid
HTML_content::_Itemid( $row );
// determines the link and `link text` of the readmore button & linked title
HTML_content::_linkInfo( $row, $params );
// link used by print button
$print_link = $mosConfig_live_site. '/index2.php?option=com_content&task=view&id=' . $row->id .'&pop=1&page='. $page . $row->Itemid_link;
// process the new bots
$_MAMBOTS->loadBotGroup( 'content' );
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
/** von unten hierhin verschoben und mit table umgeben */
// displays Section & Category
if ( $params->get( 'section' ) || $params->get( 'category' ) ) {
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="contentpaneopen<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php
HTML_content::Section_Category( $row, $params ); ?>
</table>
<?php
}
//***************************
if ( $params->get( 'item_title' ) || $params->get( 'pdf' ) || $params->get( 'print' ) || $params->get( 'email' ) ) {
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="contentpaneopen<?php echo $params->get( 'pageclass_sfx' ); ?>">
<tr>
<?php
// displays Item Title
HTML_content::Title( $row, $params, $access );
// displays PDF Icon
HTML_content::PdfIcon( $row, $params, $hide_js );
// displays Print Icon
mosHTML::PrintIcon( $row, $params, $hide_js, $print_link );
// displays Email Icon
HTML_content::EmailIcon( $row, $params, $hide_js );
?>
</tr>
</table>
<?php
} else if ( $access->canEdit ) {
// edit icon when item title set to hide
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="contentpaneopen<?php echo $params->get( 'pageclass_sfx' ); ?>">
<tr>
<td>
<?php
HTML_content::EditIcon( $row, $params, $access );
?>
</td>
</tr>
</table>
<?php
}
if ( !$params->get( 'intro_only' ) ) {
$results = $_MAMBOTS->trigger( 'onAfterDisplayTitle', array( &$row, &$params, $page ) );
echo trim( implode( "\n", $results ) );
}
$results = $_MAMBOTS->trigger( 'onBeforeDisplayContent', array( &$row, &$params, $page ) );
echo trim( implode( "\n", $results ) );
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="contentpaneopen<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php
// die folgenden 2 Zeilen wurden nach oben kopiert, um Kategorie vor dem Titel zu haben
// displays Section & Category
// HTML_content::Section_Category( $row, $params );
// *********************************************************
// displays Author Name
HTML_content::Author( $row, $params );
usw.
hoffe, es hilft dir weiter
Alan
Lesezeichen