ciao ho una soluzine al tuo problema.
dovresti cambiare alcune cose nei sorgenti di Joomla ( almeno così ho fatto io).. in questo modo però l'indice articolo verrà prim adel testo.
Ti spiego:
apri con un editor questo file:
mamboots/content/mospaging.php (fai un BackUp del file per precauzione).
vai alla riga 170 (O 168) e sostituisci questo codice:
In effetti non ho fatto altro che aggiungere un TAG DIV con uno stile associato.
$row->toc = '
<table cellpadding="0" cellspacing="0" class="contenttoc" align="right">
<tr>
<th>'
. _TOC_JUMPTO .
'</th>
</tr>
';
// TOC First Page link
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. $heading .
'</a>
</td>
</tr>
';
$i = 2;
$args2 = array();
foreach ( $matches as $bot ) {
$link = $nonseflink .'&limit=1&limitstart='. ($i-1);
$link = sefRelToAbs( $link );
if ( @$bot[2] ) {
parse_str( html_entity_decode( $bot[2] ), $args2 );
if ( @$args2['title'] ) {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. stripslashes( $args2['title'] ) .
'</a>
</td>
</tr>
';
} else {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. _PN_PAGE .' '. $i .
'</a>
</td>
</tr>
';
}
} else {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. _PN_PAGE .' '. $i .
'</a>
</td>
</tr>
';
}
$i++;
}
$row->toc .= '</table>';
}
con il seguente codice
$row->toc = '<div class="contenttoc">
<table cellpadding="0" cellspacing="0" class="contenttoc" align="right">
<tr>
<th>'
. _TOC_JUMPTO .
'</th>
</tr>
';
// TOC First Page link
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. $heading .
'</a>
</td>
</tr>
';
$i = 2;
$args2 = array();
foreach ( $matches as $bot ) {
$link = $nonseflink .'&limit=1&limitstart='. ($i-1);
$link = sefRelToAbs( $link );
if ( @$bot[2] ) {
parse_str( html_entity_decode( $bot[2] ), $args2 );
if ( @$args2['title'] ) {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. stripslashes( $args2['title'] ) .
'</a>
</td>
</tr>
';
} else {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. _PN_PAGE .' '. $i .
'</a>
</td>
</tr>
';
}
} else {
$row->toc .= '
<tr>
<td>
<a href="'. $link .'" class="toclink">'
. _PN_PAGE .' '. $i .
'</a>
</td>
</tr>
';
}
$i++;
}
$row->toc .= '</table></DIV>';
}
Nel fogli di stile CSS aggiungi poi
div.contenttoc{
float:right;
width:100%;
}