hallo 😉
leider besteht mein problem immernoch.
es wäre toll, wenn mir jemand von euch weiterhelfen könnte.
ich habe mittlerweile festgestellt, dass das problem mit meinem template zusammenhänen muss. wende ich ein standardtemplate an, so klappt das darstellen der buttons.
leider habe ich aber keine ahnung, woran das liegen könnte.
der vollständigkeit halber post ich den ganzen code:
zuerst das template:
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/main/template_1.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/main/
}
# Main TEMPLATE cObject for the BODY
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-no"> | </div>
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-no"> | </div>
}
# Third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
# Normal state properties
NO.allWrap = <div class="menu1-level3-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level3-no"> | </div>
}
# Fourth level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
# Normal state properties
NO.allWrap = <div class="menu1-level4-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level4-no"> | </div>
}
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1
# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
# Third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
# Normal state properties
NO.allWrap = <div class="menu1-level3-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level3-act"> | </div>
}
# Fourth level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
# Normal state properties
NO.allWrap = <div class="menu1-level4-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level4-act"> | </div>
}
plugin.tx_newloginbox_pi1._LOCAL_LANG {
de {
oLabel_header_welcome =
oLabel_msg_welcome =
oLabel_header_logout = Sie haben sich abgemeldet
oLabel_msg_logout =
oLabel_header_error = Anmeldefehler
oLabel_msg_error = Bitte versuchen Sie es erneut
oLabel_header_success = Anmeldung erfolgreich
oLabel_msg_success = Sie sind angemeldet als ###USER###
oLabel_header_status =
oLabel_msg_status =
username = Benutzername:
password = Passwort:
login = Login
logout = Abmelden
send_password = Passwort nochmals senden
your_email = Ihre Email-Adresse:
forgot_password = Passwort vergessen?
}
}
mein css sieht so aus:
/* GENERAL fonts */
P, OL, UL, DIV, H1, H2, H3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
text-decoration: none;
line-height: 20px;
margin: 0px;
padding: 0px;
}
TD#content {
padding-left: 15px;
padding-right: 10px;
padding-top: 5px;
vertical-align: top;
width: 820px;
}
TD#content A {
color: #486D96;
text-decoration: none;
}
TD#content A:hover {
color: #7092B9;
text-decoration: none;
}
TD#menu_1 {
vertical-align: top;
width: 190px;
background-color: #486D96;
}
TD#menu_1 DIV {
display: block;
width: 190px;
height: 20px;
}
TD#menu_1 DIV A {
color: #FFFFFF;
text-decoration: none;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #FFFFFF;
display: block;
padding-left: 5px;
}
TD#menu_1 DIV A:hover {
}
TD#menu_1 DIV.menu1-level1-no {
font-size: 11px;
line-height: 20px;
}
TD#menu_1 DIV.menu1-level1-act {
}
TD#menu_1 DIV.menu1-level1-act A {
color:#FFFFFF;
}
TD#menu_1 DIV.menu1-level2-no {
padding-left:0px;
background-color: #7092B9;
}
TD#menu_1 DIV.menu1-level2-act {
padding-left:0px;
background-color: #7092B9;
font-weight: bold;
}
TR#menu_2 TD {
background-color: #333366;
width: 10%;
text-align: center;
padding: 0px 2px 0px 2px;
}
TR#menu_2 TD A {
color: white;
font-size: 10px;
font-family: verdana, arial;
text-decoration: none;
}
TR#menu_2 TD A:hover {
text-decoration: underline;
}
TR#menu_2 TD.oddcell {
background-color: #666699;
}
TR#menu_2 TD.menu2-level1-act {
background-color: #88292A;
}
TD#menu_1 DIV.menu1-level3-no {
background-color: #91A8C2;
}
TD#menu_1 DIV.menu1-level3-act {
padding-left:0px;
background-color: #7092B9;
font-weight: bold;
}
TD#menu_1 DIV.menu1-level3-no A:hover {
background-color: #B3C4D8;
}
TD#menu_1 DIV.menu1-level2-no A:hover {
background-color: #91A8C2;
}
TD#menu_1 DIV.menu1-level1-no A:hover {
font-size: 11px;
line-height: 20px;
background-color: #7092B9;
}
ausserdem hier noch der code der seite:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2004 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->
<style type="text/css">
/*<![CDATA[*/
<!--
/* default styles for extension "tx_newloginbox_pi3" */
.tx-newloginbox-pi3-listrow TD { background-color:#eeeeee; padding-left: 3px; padding-right: 3px; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD { background-color:#cccccc; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD P { font-weight:bold; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-odd TD { background-color:#f6f6f6; }
-->
/*]]>*/
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY {
margin: 0 0 0 0;
background-color: #FFFFFF;
background-image: url(fileadmin/template/main/images/bg.gif);
background-repeat: repeat-y;
}
/*]]>*/
</style>
<link href="fileadmin/template/main/res/stylesheet.css" rel="stylesheet" type="text/css" />
<title>test: Suche</title>
<meta name="generator" content="TYPO3 3.7 CMS" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}
// -->
/*]]>*/
</script>
<script type="text/javascript" src="t3lib/jsfunc.validateform.js"></script>
</head>
<body bgcolor="#FFFFFF">
<table width="965" border="0" cellpadding="0" cellspacing="0">
<!-- Header image row: -->
<tr>
<td height="130" colspan="2" valign="top" bgcolor="#FFFFFF" id="header_1"><!--###header_1### begin --><img src="fileadmin/template/main/images/header.gif" width="965" height="129" alt="" border="0" /><!--###header_1### end --></td>
</tr>
<tr>
<!-- Menu table cell: -->
<td id="menu_1"><div class="menu1-level1-no"><a href="index.php?id=1" onfocus="blurLink(this);">Startseite</a></div><div class="menu1-level1-no"><a href="index.php?id=50" onfocus="blurLink(this);">Formularpool</a></div><div class="menu1-level1-no"><a href="index.php?id=3" onfocus="blurLink(this);">Ausgabe 01/2006</a></div><div class="menu1-level1-no"><a href="index.php?id=18" onfocus="blurLink(this);">Impressum</a></div><div class="menu1-level1-no"><a href="index.php?id=22" onfocus="blurLink(this);">CUG</a></div><div class="menu1-level1-no"><a href="index.php?id=16" onfocus="blurLink(this);">Suche</a></div><div class="menu1-level1-no"><a href="index.php?id=17" onfocus="blurLink(this);">Newsletter</a></div><div class="menu1-level1-no"><a href="index.php?id=49" onfocus="blurLink(this);">Sitemap</a></div></td>
<!-- Page Content Area table cell: -->
<td id="content">
<!-- CONTENT ELEMENT, uid:47/search [begin] -->
<a name="47"></a><form action="index.php?id=16&no_cache=1" name="0e526163dd6653ed9df937fd9679dff6" enctype="multipart/form-data" method="post" target="page" onsubmit="return validateForm('0e526163dd6653ed9df937fd9679dff6','','','','')"><input type="hidden" name="stype" value="L0" /><input type="hidden" name="locationData" value="16:tt_content:47" />
<!-- Search form inserted: [begin] -->
<table border="0" cellspacing="1" cellpadding="1" class="csc-searchform"><tr><td class="csc-form-labelcell"><p class="csc-form-label"></p></td><td class="csc-form-fieldcell"><input type="text" name="sword" size="20" value="" /></td></tr><tr><td class="csc-form-labelcell"><p class="csc-form-label"></p></td><td class="csc-form-fieldcell"><select name="scols" size="1"><option value="pages.title-subtitle-keywords-description:tt_content.header"></option><option value="tt_content.header-bodytext-imagecaption"></option></select></td></tr><tr><td class="csc-form-labelcell"><p class="csc-form-label"></p></td><td class="csc-form-fieldcell"><input type="submit" name="submit" value="" /></td></tr></table>
<!-- Search form inserted: [end] -->
</form>
<!-- CONTENT ELEMENT, uid:47/search [end] -->
</td>
</tr>
</table>
<br />
<br />
</body>
</html>
für tipps und hinweise danke ich euch schon im voraus!
herzliche grüsse, cschu