Moin,
ich habe ein neues, zweifarbiges Template geschrieben und habe dieses auf meine Testinstallation von Joomla installiert. Die Installation war soweit kein Problem und lief einwandfrei.
Wenn ich nun jedoch das neue Design zum Standard machen möchte und entsprechend aktiviere wird die ganze Seite völlig unformartiert dargestellt und ich finde den Fehler einfach nicht.
Daher hier mal die index.php, css.css und templateDetails.xml
index.php
Code:<html> <head> <link href="css/css.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="links"> <div id="menue"><jdoc:include type="modules" name="Menue" style="xhtml" /></div> </div> <div id="rechts"> <div id="logo"></div> <div id="contentbox"><jdoc:include type="component" style="xhtml"/> </div> </div> </body> </html>
css.css
templateDetails.xmlCode:body { font-size: 12px; font-family: Arial,sans-serif; background-color: #F4F4F4; } #links { position:relative; top:0px; left:0px; width:50%; height:100%; margin-top: 0px; background-color: #F4F4F4; } #rechts { position:absolute; top:0px; right:0px; float:right; width:50%; height:100%; margin-top: 0px; background-color: #000000; } #logo { position:relative; top:0px; margin-top: 0px; float: right; width: 311px; height: 153px; background-image:url(../images/logo.jpg); background-repeat:no-repeat; } #menue { font-family: Arial, Helvetica, sans-serif; font-size: 60px; font-weight:bold; position:absolute; margin-top: 250px; right:5px; width: 400px; height: 315px; } #contentbox { font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #FFFFFF; position:absolute; margin-top: 250px; left:5px; width: 485px; height: 500px; */background-color: #FF0000;*/ }
Code:<install version="1.5" type="template"> <name>XXX</name> <version>1.0</version> <creationDate>04.01.2011</creationDate> <author>XXX</author> <copyright>GNU/GPL</copyright> <authorEmail>XXX</authorEmail> <authorUrl>XXX</authorUrl> <version>0.1</version> <description>XXX</description> <files> <filename>index.php</filename> <filename>templateDetails.xml</filename> <filename>template_thumbnail.png</filename> <filename>css/css.css</filename> <filename>http://www.joomlaportal.de/images/logo.jpg</filename> </files> <positions> <position>Menue</position> <position>Content</position> </positions> </install>
Wäre nett wenn sich das mal jemand anschauen und mich auf meinen Fehler hinweisen könnte.
Vielen Dank!


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen