Hallo zusammen.
Hab mir einige CMS angesehen und mich dann entschieden mich mit Joomla etwas intensiver zu beschäftigen.
Ich habe mir ein eigenes Template angelegt und es wird auch alles richtig dargestellt und die INhalte korrekt angezeigt. Das Problem ist jetzt aber, dass mir die Links zum Bearbeiten/Erstellen der Beiträge nicht angezeigt werden. Ich kann also meine Beiträge nicht im Frontend bearbeiten![]()
Was muss ich machen um das zu ändern?
Joomla Version 1.0.11
Safe Mode = On, aber darn liegts nicht, weil ich im Standardtemplate ja die Links sehe.
//edit:
noch ein paar infos
Meine Index.php
wobei ich diesen Code erst später hinzugefügt habe, weil es einem anderen hier aus dem Board geholfen hatte.PHP-Code:<?php
/**
* A Mambo 4.5.3 xhtml compatible template
* @version 1.0
* @package NVU Template Addon
* @copyright (C) 2005 by Open4G Mambo Template Developer Extension for NVU - All rights reserved!
* @license http://www.open4g.com/ GPL/GNU License
**/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<**** content="text/html; <?php echo _ISO; ?>" **********="content-type">
<?php if ( $my->id ) { initEditor(); }
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$sandbox_area = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$sandbox_area = 2;
} else {
$sandbox_area = 1;
$user1 = $user1 == 1 ? 3 : 4;
$user2 = $user2 == 1 ? 3 : 4;
}
?>
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/favicon.ico" />
</head>
<body>
<div class="all">
<div class="header"></div>
<div class="menu">
<?php mosLoadModules ( 'left' ); ?>
</div>
<div class="content">
<div id="pathway">
<?php mosPathWay(); ?>
</div><br><br>
<div class="headline">
<?php mosLoadModules ( 'user9' ); ?>
</div><br>
<div>
<?php mosLoadModules ( 'user1' ); ?>
</div>
</div>
<div class="news">
<?php mosLoadModules ( 'right' ); ?>
<br>
<hr>
<br>
<!-- Hamstershop -->
<h1>Hamster-Shop</h1>
<div class="hamstershop">
Der <a href="http://www.spreadshirt.net/shop.php?sid=83630"><img class="hamstershop" src="../joomla/templates/hamstertor/images/logo_shop_klein.gif"></a> ist online und bietet ab sofort viele neue Leckerbissen und wird demnächst noch mehr erweitert. Reinschauen lohnt sich auf jeden Fall!<br>
<img src="../joomla/templates/hamstertor/images/pfeil.gif"> <a href="http://www.spreadshirt.net/shop.php?sid=83630">Hamster-Shop</a>
</div>
<br>
<hr>
<!--Wetter -->
<div class="wetter">
<?php mosLoadModules ( 'user2' ); ?>
</div>
<br>
<hr>
<br>
<!--WErbung Hamstertor Poloshirts -->
<h1>Die Hamstertor-Chemie Poloshirts kommen von:</h1>
<img src="../joomla/templates/hamstertor/images/xxl_design.gif">
</div>
</div>
</body>
</html>
Mir hats leider nichts gebracht...PHP-Code:$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$sandbox_area = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$sandbox_area = 2;
} else {
$sandbox_area = 1;
$user1 = $user1 == 1 ? 3 : 4;
$user2 = $user2 == 1 ? 3 : 4;
}


LinkBack URL
About LinkBacks
Zitieren


Lesezeichen