Hallo SirDrake,
du scheinst die Ahnung zu haben :-)
Ich habe es nach deiner Video Anleitung versucht. Doch ich habs nicht hingekriegt. Deine index.php ist ja recht kurz und klein gehalten, meine sieht dagegen so aus:
Code:
<?php defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );
$logo = $this->params->get("logo");
?>
<!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="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
<?php
$mydoc =& JFactory::getDocument();
$mytitle = $mydoc->getTitle();
?>
</head>
<body>
<div id="bodi">
<div class="container">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="194" valign="top">
<div id="left">
<div id="left_top">
<div id="logo"><a href="http://www.-online.com" title=" Online"><img src="<?php echo $logo; ?>" /></a></div>
</div>
<div id="left_content">
<div class="sidebar"><jdoc:include type="modules" name="left" style="rounded" /></div>
</div>
</div>
</td>
<td valign="top">
<div id="header">
<table class="banner" style="border: 1px solid #ffffff;" align="right" width="480" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><a href="http://www.-online.com/internes/werbung.htm"><img src="http://www.-online.com/img/sponsor.gif" width="12" height="60" border="0"></a></td>
<td><a href="http://shop.-online.com/"><img src="http://www.-online.com/img/banner/shop468a.gif" alt=" Zubehoer Shop" width="468" height="60" border="0"/></a></td>
</tr>
</table>
<div id="navigation"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
</div>
<?php if($this->countModules('user1 or user2')) : ?>
<div id="box_content">
<div id="top_module_1">
<div class="topmodule_blue">
<div class="left_box">
<div class="topmodule_inside"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
</div>
</div>
</div>
<div id="separator"></div>
<div id="top_module_2">
<div class="topmodule_blue">
<div class="left_box">
<div class="topmodule_inside"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div id="maincontent">
<div id="content"><jdoc:include type="component" /></div>
<div id="footer">
</div>
</div>
<div class="clearfloat"></div>
</td>
<?php if($this->countModules('right')) : ?>
<td width="194" valign="top">
<div id="suche"><jdoc:include type="modules" name="user4" style="xhtml" /></div>
<div id="right">
<div id="right_content">
<div class="sidebar"><jdoc:include type="modules" name="right" style="rounded" /></div>
</div>
</div>
</td>
<?php endif; ?>
</tr>
</table>
</div>
</div>
<div id="footerx"><table cellspacing="5" align="center" width="100%" bgcolor="#36533F"><tr><td class="footerx" align="center"><br />
<div align="center" class="footertext">
Sie lesen: <?php echo $mytitle; ?></div></div>
</td></tr></table>
</body>
</html>
Wo muss ich denn hier das "span=xhtml" in "span=ueberschriftspan" ändern?
Die modules.php habe ich bereits angelegt, wie in deinem Video beschrieben.
Was mir auch nicht ganz klar ist: Ich möchte ja ALLE Menütitel ändern indem ich die Überschrift H3 ändere. Mit dem Hauptmenü (mainmenu) möchte ich beginnen. Muss ich im Backend/Module/mainmenu irgendwelche Änderungen vornehmen?
Wäre nett wenn du helfen kannst... :-)
MFG
Lesezeichen