Joomla Banner werden nicht angezeigt

Hey Leute,
Ich bin gerade dabei eine Homepage mit dem Programm Joomla! auf zubauen. Nun wollte ich mit einem banner auf die Unterkategorie Angebote verweisen (dort habe ich eine pdf datei über ein inline frame eingebunden). Als ich die Banner funktion mal über einen Demo Banner ausprobiert habe, wurde der Banner ohne Probleme angezeigt. Jetzt habe ich mir selbst einen Banner erstellt und wollte diesen anzeigen lassen, doch leider wird er nicht angezeigt, selbst wenn ich es mit dem Demo Banner, mit dem es schonmal geklappt hat probiere..hab auch kontrolliert ob ich wirklich alles aktiviert und auf public eingestellt hab, und das hab ich
gegoogelt habe ich das problem schon nur leider hat keiner der Artikel mir weitergeholfen.
habe auch schon probiert den template code zu erweitern mit
PHP:
<?php mosLoadModules( 'banner', -1 ); ?>
wenn ich dann die seite erneut lade kommt nur der Fehler:
Fatal error: Call to undefined function mosloadmodules() in /is/htdocs/wp1008342_DENI83MX3R/www/angler-comp/hp/templates/redevo_aphelion/index.php on line 145

Hoffe es kann mir jemand von euch weiterhelfen.
Gruß
Kriz_Reaper
 
Scheinbar verwendest du ein Joomla-1.0-Template in einem Joomla 1.5. Dort gibt es modLoadModules() nicht mehr. Ersetze mal deinen Codezeile durch

Code:
<jdoc:include type="modules" name="banner" />
 
danke erstmal für die schnelle antwort, aber leider funktioniert das auch nicht..
habe aber festgestellt das wenn ich Titel anzeigen auf "ja" stelle der Titel des Banners angezeigt wird aber wie schon zuvor der Banner selbst nicht.
weißt du oder jemand anderes vielleicht noch etwas was mich weiterbringen könnte?
 
Schau mal in den Quelltext der Seite und prüfe unter welchem Pfad das Banner gesucht wird. Ggf. stimmt die verwendete URL zum Banner einfach nicht.
 
finde die entsprechende zeile nicht. habe auch nochmal nachgeschaut ob das Template für 1.5 ist, und das ist es auch.
Ich hänge hier mal den Template code an, da ich bisher noch nichts mit php und html gemacht habe(vll finde ich die zeile deswegen ja nicht.)
PHP:
 <?php
/**
 * @copyright    Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
 * @license        GNU/GPL
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >

<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/<?php echo $this->params->get("colorVariation", "orange"); ?>.css" type="text/css" />
<?php if($this->params->get("showSwitcher","1")) : ?>   
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/alarge.css" rel="alternate stylesheet" type="text/css" media="screen" title="alarge"/>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/amedium.css" rel="alternate stylesheet" type="text/css" media="screen" title="amedium"/>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/asmall.css" rel="alternate stylesheet" type="text/css" media="screen" title="asmall"/>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/styleswitcher.js" type="text/javascript"></script>
<?php endif ?>
<?php if($this->countModules('user3 and top')== 1) : ?>
<style type="text/css">
#user3{
background: transparent url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/user3bg.png) bottom left repeat-x;
}
</style>
<?php endif; ?>
<?php 
if($this->countModules('left and right')==0) $contentwidth="wide"; 
if($this->countModules('left')) $contentwidth="leftonly";
if($this->countModules('right')) $contentwidth="rightonly";
if($this->countModules('left and right') == 1) $contentwidth="narrow"; 
?>
<!--[if lte IE 6]>
<style type="text/css">
a#sitename1, a.btnicon, .bgbottom{
    behavior: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/iepngfix.htc");
}

#user4{
margin-right:1px;
}
</style>
<![endif]-->
</head>

<body>

<div id="wrapper" class="width_<?php echo $this->params->get("widthStyle","fluid"); ?>">
    <div id="heading">
       <h1><a href="index.php" title="<?php echo JText::_( "homepage" ); ?>" id="sitename<?php echo $this->params->get("logoStyle","1"); ?>"><?php echo $mainframe->getCfg('sitename');?></a></h1>
    <?php if($this->params->get("showSwitcher","1")) : ?>   
       <div id="buttons"><a href="#" id="alarge" class="btnicon" title="<?php echo JText::_( "TO_XLARGE" ); ?> " onclick="setActiveStyleSheet('alarge'); return false;"><?php echo JText::_( "XLarge" ); ?> </a><a href="#" id="amedium" class="btnicon" title="<?php echo JText::_( "TO_LARGE" ); ?> " onclick="setActiveStyleSheet('amedium'); return false;"><?php echo JText::_( "Large" ); ?> </a><a href="#" id="asmall" class="btnicon" title="<?php echo JText::_( "TO_NORMAL" ); ?> " onclick="setActiveStyleSheet('asmall'); return false;"><?php echo JText::_( "Normal" ); ?> </a></div>
    <?php endif; ?>
    </div>
    <div id="header"><div class="bgleft"><div class="bgright"><div class="bgbl">
        <?php if($this->countModules('user3')) : ?>    
        <div id="user3">
        <jdoc:include type="modules" name="user3" style="xhtml" />
        </div><!--user3-->
        <?php endif; ?>
        <?php if($this->countModules('top')) : ?>    
        <div id="top">
        <jdoc:include type="modules" name="top" style="xhtml" />
        </div><!--top-->
        <?php endif; ?>
        
    </div></div></div></div><!--header-->
    
    <div id="container"><div class="bgright"><div class="bg">
      <?php if($this->countModules('user4')) : ?>    
      <div id="user4"><div class="bgright4"><div class="bg4">
      <jdoc:include type="modules" name="user4" style="xhtml" />
      </div></div></div><!--search-->
      <?php endif; ?>
     <div id="breadcrumbs">

<?php echo JText::_( "Sie sind hier" ); ?> <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/arrow.png" alt="arrow"/> <jdoc:include type="module" name="breadcrumbs" /> 
      </div>






      <div id="content">
          <div class="middlewrap" id="middlewrap<?php echo $contentwidth; ?>">
             <div class="middle" id="middle<?php echo $contentwidth; ?>"><div class="middlebg">
             <div id="message"><jdoc:include type="message" /></div>
             <div id="component"><jdoc:include type="component" style="xhtml" /></div>
           </div></div>
        </div>
    <?php if($this->countModules('left')) : ?>    
        <div class="leftcol" id="left<?php echo $contentwidth; ?>"><div class="bgbottom">
            <jdoc:include type="modules" name="left" style="xhtml" />
        </div></div>
    <?php endif; ?>    
    <?php if($this->countModules('right')) : ?>    
        <div class="rightcol" id="right<?php echo $contentwidth; ?>"><div class="bgbottom">
            <jdoc:include type="modules" name="right" style="xhtml" />
        </div></div>
    <?php endif; ?>
        <div class="clear"></div>
      </div><!--content-->
    <?php if($this->countModules('footer')) : ?> 
      <div id="footermodule">
        <jdoc:include type="modules" name="footer" style="xhtml" />
      </div>
    <?php endif; ?>
    <?php if($this->countModules('user1 or user2')) : ?>
      <div id="bottom"><div class="bottombg">
         <?php if($this->countModules('user1')) : ?>
         <div id="user1">
            <jdoc:include type="modules" name="user1" style="xhtml" />
         </div>
         <?php endif; ?>
         <?php if($this->countModules('user2')) : ?>
         <div id="user2">
            <jdoc:include type="modules" name="user2" style="xhtml" />
         </div>
         <?php endif; ?>
         <div class="clear"></div>
      </div></div><!--bottom-->
    <?php endif; ?>
      <div id="footer">
          <p class="footerleft">
            <jdoc:include type="modules" name="syndicate" />
        </p>
        <p class="footerright">
             Powered by <a href="http://www.joomla.org">Joomla!</a>.
            Valid <a href="http://validator.w3.org/check/referer" target="_blank">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">CSS</a>.
        </p>
        <div class="clear"></div>
      </div>
      <div id="reflection-l"><div id="reflection-r"><div id="reflection"></div></div></div>
    </div></div></div><!--container-->
</div><!--wrapper-->

</body>
</html>
 
Zurück
Oben