Bug?

Fragen zum Erstellen von Templates für webEdition.
Mike145

Bug?

Beitragvon Mike145 » So 7. Mär 2010, 21:45

WE:Version: 6.0.0.8

Hallo, ich habe gerade eine ganz komische sache.
Ich habe folgenden Code:

Code: Alles auswählen

<h2><we:input type="text" name="u1" /></h2>
Eine ganz einfache sache also. Aber im Dokument wird das nicht umgesetzt. Das heisst das das Testfeld zwar ausfüllbar ist im Editmode, aber die Eingabe verschwindet immer wieder.

Hier mal das ganze Template:

Code: Alles auswählen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
    <we:charset defined="UTF-8" xml="true"></we:charset>
	<meta http-equiv="Content-Type" content="text/html/>
	<meta http-equiv="content-language" content="en" />
	<meta http-equiv="Content-Style-Type" content="text/css" /> 
	
	<meta name="copyright" content="Kagami - Sabana Crowcroft" />
	<we:description htmlspecialchars="true"></we:description>
	<we:keywords htmlspecialchars="true" />
	
	<link rel="shortcut icon" href="favicon.ico" type="image/gif" />
	<link rel="icon" href="favicon.ico" type="image/gif" />
	
	<we:title>KAGAMI Golf & Leadership Academies</we:title>   
	<we:css id="2" rel="stylesheet" media="all" />
</head>
<body>
	<div id="top_quote">
		„Golf gives us a glimpse of what we are really searching for – a quiet mind – and the creative, transformative power this mental state has to magnetise our goals towards us.“
	</div>
	<div id="mainbox">
		<h1><a href="#"><span>KAGAMI - Golf & Leadership Academies</span></a></h1>
		<!-- Navigation oben start-->
		<we:include type="template" id="6" />
		<!-- Navigation oben ende -->
		<div id="subnavigation">
			<a class="btn_lang en" href="#"></a>
			<a class="btn_lang de" href="#"></a>
			<!-- Navigation sub start-->
		<we:include type="template" id="7" />
	    	<!-- Navigation sub ende-->
		</div>
		<!-- Beginn des Inhaltes auf dieser Seite -->
		<div id="maincontent">
			<div class="trenner left"><div class="top"></div><div class="bottom"></div></div>
			<div class="trenner right"><div class="top"></div><div class="bottom"></div></div>
			<h2><we:input type="text" name="u1" /></h2>
			<img src="../img/test_bild.jpg" class="right" alt="" />
			<p>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.>Kagami is a way of life. When you discover the power of your own mind and walk through the door of self-awareness, you can realise your full potential. 
			This brings peak performance, happiness and true fulfilment – in all areas of your life.</p>
			<div class="clear"></div>
			<h3>Hier ist eine Überschrift welche mit dem text mitwandert</h3>
			<p>Kagami means “Sacred Mirror” in Japanese. The unique, transformative mirroring principles of the Kagami method are applicable to the golf swing, life swing and work swing.  
We run unique and powerful golf workshops, management trainings, leadership programmes and incentives as well as individual executive coaching that have helped thousands of individuals realise their aspirations and goals.</p>
			<h3>Canadela ö sadföl Off</h3>
			<p>The good news is we can help you discover HOW you hit these perfect shots, map your “System for Success“ and repeat them more often. 
We will also help you eradicate the poor shots by understanding and disciplining your thoughts and therefore your swing with Kagami exercises that suit you personally.
This brings consistency and lower scores.</p>
			<h3>Canadela ö sadföl Off on the run</h3>
			<p>The good news is we can help you discover HOW you hit these perfect shots, map your “System for Success“ and repeat them more often. 
We will also help you eradicate the poor shots by understanding and disciplining your thoughts and therefore your swing with Kagami exercises that suit you personally.
This brings consistency and lower scores.
he good news is we can help you discover HOW you hit these perfect shots, map your “System for Success“ and repeat them more often. 
We will also help you eradicate the poor shots by understanding and disciplining your thoughts and therefore your swing with Kagami exercises that suit you personally.
This brings consistency and lower scores.</p>
			<div class="rows_2">
				<div>
					<img src="../img/test_bild.jpg" alt="" />
					<h3>GOLF SWING ttttttttt ttttttttt tttt ttttttt tttttttt ttttt tttttttt</h3>
					<p>The Kagami Golf Workshops have been helping golfers make quantum leaps in their golf game since 23 years, with a powerful formula that addresses both the mental and technical areas of the game. Based on scientific principles of how the brain and body learn most effectively, we achieve immediate and lasting results – without giving instructions!  </p>
					<img src="../img/test_bild.jpg" alt="" />
					<h3>GOLF SWING</h3>
					<p>The Kagami Golf Workshops have been helping golfers make quantum leaps in their golf game since 23 years, with a powerful formula that addresses both the mental and technical areas of the game. Based on scientific principles of how the brain and body learn most effectively, we achieve immediate and lasting results – without giving instructions!  </p>
				</div>
				<div>
					<img src="../img/test_bild.jpg" alt="" />
					<h3>GOLF SWING</h3>
					<p>The Kagami Golf Workshops have been helping golfers make quantum leaps in their golf game since 23 years, with a powerful formula that addresses both the mental and technical areas of the game. Based on scientific principles of how the brain and body learn most effectively, we achieve immediate and lasting results – without giving instructions!  </p>
					<img src="../img/test_bild.jpg" alt="" />
					<h3>GOLF SWING</h3>
					<p>The Kagami Golf Workshops have been helping golfers make quantum leaps in their golf game since 23 years, with a powerful formula that addresses both the mental and technical areas of the game. Based on scientific principles of how the brain and body learn most effectively, we achieve immediate and lasting results – without giving instructions!  </p>
				</div>
			</div>
		</div>
		<div id="sidebar">
		<we:include type="document" id="19" gethttp="false" />
			<h3>Kagami Golf Book By Sabana Crowcroft</h3>
			<p>All Kagami Workshop Participants obtain a FREE copy.</p>
			<img src="../img/test.jpg" class="left" alt="" />
			<p class="small">Take a look inside 28.000 copies sold. Available through amazon.de or the Kagami Office for the discounted price of E 20,- plus p. & p.</p>
		<we:include type="document" id="20" />
		<div class="clear"></div>
	</div>
<we:include type="template" id="2" />
</body>
</html>

MarS
Senior Member
Beiträge: 602
Registriert: Mo 2. Mai 2005, 11:30
Wohnort: Kiel
Kontaktdaten:

Re: Bug?

Beitragvon MarS » So 7. Mär 2010, 22:31

Dann gibt es noch ein zweites wE-Tag mit dem selben Namen.
Wenn nicht im Template direkt, dann in einem der we:include Aufrufe.

Gruß, Martin

Mike145

Re: Bug?

Beitragvon Mike145 » So 7. Mär 2010, 22:36

Nein. Habs auch schon mal gewechselt. Es ist mir echt ein Rätsel

MarS
Senior Member
Beiträge: 602
Registriert: Mo 2. Mai 2005, 11:30
Wohnort: Kiel
Kontaktdaten:

Re: Bug?

Beitragvon MarS » Mo 8. Mär 2010, 10:20

Hmm, nimm mal den kompletten Template-Code und kopier ihn in ein neues Template.
Nimm das dann als Vorlage für das Testdokument.

Gruß, Martin

Benutzeravatar
eSKa
Senior Member
Beiträge: 557
Registriert: Do 1. Jan 1970, 02:00

Re: Bug?

Beitragvon eSKa » Di 9. Mär 2010, 13:17

Um was für Dateien handelt es sich denn bei den "Includes"?
Ist hier vielleicht ein Formularfeld "zB. Suchfeld" dabei?
Die includierten Tags für den Editmode einfach mal auskommentieren: <we:ifNotEditmode>

piXel relations GmbH | Agentur für Online-Kommunikation
Luxemburger Str. 93 | 50354 Hürth
Telefon 0 22 33 / 99 66 81
www.pixelrelations.de | info@pixelrelations.de

Mike145

Re: Bug?

Beitragvon Mike145 » Mi 17. Mär 2010, 10:03

Es wird immer besser, bei den einfachsten Sachen scheitert das WE. Diesmal Ignoriert es einfach dieses Tag:

Code: Alles auswählen

<we:input type="text" name="news_head_1" size="80" maxlength="120" html="false" php="false" htmlspecialchars="true" />
Das Feld wird im Editmode angezeigt, man kann es auch ausfüllen, es wird aber nicht gespeichert. Der name ist einmalig und habe ich auch schon mit anderen getestet.
Habe auch schon ein neues Template eingefügt.
Kein anderes included Template hat einen ähnlichen namen etc.

Hier mal das ganze Template:

Code: Alles auswählen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
    <we:charset defined="UTF-8" xml="true"></we:charset>
	<meta http-equiv="Content-Type" content="text/html/>
	<meta http-equiv="content-language" content="en" />
	<meta http-equiv="Content-Style-Type" content="text/css" /> 
	
	<meta name="copyright" content="Kagami - Sabana Crowcroft" />
	<we:description htmlspecialchars="true"></we:description>
	<we:keywords htmlspecialchars="true" />
	
	<link rel="shortcut icon" href="favicon.ico" type="image/gif" />
	<link rel="icon" href="favicon.ico" type="image/gif" />
	
	<we:title>KAGAMI Golf & Leadership Academies | News | </we:title>   
	<we:css id="2" rel="stylesheet" media="all" />
</head>
<body>
	<div id="top_quote">
		„Golf gives us a glimpse of what we are really searching for – a quiet mind – and the creative, transformative power this mental state has to magnetise our goals towards us.“
	</div>
	<div id="mainbox">
		<h1><a href="#"><span>KAGAMI - Golf & Leadership Academies</span></a></h1>
		<!-- Navigation oben start-->
		<we:include type="template" id="6" />
		<!-- Navigation oben ende -->
		<div id="subnavigation">
			<a class="btn_lang en" href="#"></a>
			<a class="btn_lang de" href="#"></a>
			<!-- Navigation sub start-->
		<we:include type="template" id="13" /><br>
		<we:include type="template" id="14" />
	    	<!-- Navigation sub ende-->
		</div>
		<!-- Beginn des Inhaltes auf dieser Seite -->
		<div id="maincontent">
			<div class="trenner left"><div class="top"></div><div class="bottom"></div></div>
			<!-- news_1_article_en -->
			<h3><we:input type="text" name="news_en_head" size="80" maxlength="120" html="false" php="false" htmlspecialchars="true" /></h3>
			<p><we:textarea wysiwyg="true" name="news_en_txt" autobr="true" importrtf="true" bgcolor="white" html="true" htmlspecialchars="true" php="false" /></p>
		
		</div>
		<div id="sidebar">
		<!-- Sidebar Club -->
		<we:include type="document" id="19" gethttp="false" />
		<!-- Sidebar Kagami Book -->
		<we:include type="document" id="25" gethttp="false" />
		<!-- Sidebar Kagami Newsletter -->
		<we:include type="document" id="20" />
		<div class="clear"></div>
	</div>
<we:ifNotEditmode>	
<!-- Analytics Code -->
<we:include type="template" id="2" /></we:ifNotEditmode>
</body>
</html>
Irgendwie wird mir das ganze extrem unheimlich vor allem weil ich an solch einem Fehler Stunden verbringe ...

Hat jemand eine Idee??? Am CSS kann es ja nicht liegen?

we:willRockYou
Senior Member
Beiträge: 919
Registriert: Fr 22. Mai 2009, 21:40
Wohnort: Berlin
Kontaktdaten:

Re: Bug?

Beitragvon we:willRockYou » Mi 17. Mär 2010, 10:18

Schmeiss mal alles andere aus dem Template raus und schau ob es dann imemr noch nicht funktioniert.
Übrigens sehe ich das news_head_1 gar nicht in Deinem Template. :?:
EOF; //totally retired

netzlum
webEdition Partner
webEdition Partner
Beiträge: 330
Registriert: Mi 28. Apr 2004, 00:27
Wohnort: Münster
Kontaktdaten:

Re: Bug?

Beitragvon netzlum » Mi 17. Mär 2010, 10:33

Hm, die Inputs im Template sind ganz in Ordnung. Ohne die includierten Teile zu sehen, kommen wir der Sache nicht näher.

Ludger

Mike145

Re: Bug?

Beitragvon Mike145 » Do 18. Mär 2010, 15:07

Hallo zusammen,

so, ich habe den Übeltäter gefunden. Ich habe ein nicht fertiges Formular eingebettet welches diesen Stress verursacht hat:

Code: Alles auswählen

    <h3>Newsletter</h3>
			<p>Sign up for our Monthly Newsletter containing special offers, inspiration & helpful articles.</p>
		    <we:form id="self"
				<div>
				<we:subscribe type="firtname"> First Name:
				<we:subscribe type="lastname"> Last Name:
				<we:subscribe type="email"> Email:
				<input type="submit" name="submit" value="SUBSCRIBE" />
				</div>
			</we:form>
Nur leider verstehe ich es nicht warum dieses include diese probleme verursacht hat. Kann es mir jemand erklären?

we:willRockYou
Senior Member
Beiträge: 919
Registriert: Fr 22. Mai 2009, 21:40
Wohnort: Berlin
Kontaktdaten:

Re: Bug?

Beitragvon we:willRockYou » Do 18. Mär 2010, 15:17

Formulare im Editmode sind leider immer problematisch und sollten mit we:ifNotEditmode ausgeblendet werden.
EOF; //totally retired


Zurück zu „webEdition Templates erstellen (we:Tags)“

Wer ist online?

Mitglieder in diesem Forum: Ahrefs [Bot] und 60 Gäste