[TYPO3-templavoila] Weird mapping behaviour

S. Teuber traveler_in_time at gmx.net
Sat May 26 19:19:13 CEST 2007


Hi there,

I think templavoila hates me. ;-P

The mapping behaves very weird, it keeps breaking random element 
mappings, restoring some with the next save, but breaking others. It's 
hard to explain, so I made a short videoclip of the erratic behaviour:

http://www.stibes.de/clip0004.avi  (3.8 MB, XviD)

Note: Whatever is shown on screen does NOT equal the mapping that's 
written to the database. I think it "remaps" for displaying purposes. So 
if the mapping seems to be correct in the TV BE module, it isn't 
necessarily in the database!

As you can imagine, it's impossible to get a site running, since there's 
almost always at least one element missing that didn't get mapped.

This is the second project where it happens, so it's independend of the 
specific HTML template. Last time it happened on www.fact.de (you can 
check the HTML there) - but I got lucky and managed to save a running 
version which I didn't dare to touch since. With the actual project, I 
wasn't able to save a complete version, since it has about three times as 
much elements = three times the chance to break..

The 1st time the error occured with TYPO3 4.0.4, TV 1.2.1 on Debian 
Sarge.

Now it's TYPO3 4.1.1, TV 1.3.1 on Debian Etch. TYPO3 runs fine, as does 
TemplaVoila except for this mapping bug. PHP + MySQL are etch's apt-get 
versions. Apart from that, ZendPlatform is installed.

I searched the web, typo3.org and the newsgroups thoroughly, but this 
problem is either very rare, or nobody who experienced it ever posted a 
message anywhere. :P

I really hope someone who has a deeper understanding of the inner 
workings of the mapping process can provide me with a hint, point me in 
the right direction where to look, or even fix the bug himself. I really 
like TemplaVoila, I am eager to use it more often, but with the current 
behaviour, it's simply impossible. And that's a shame. :(

Thanks,

Sven


P.S.: The HTML template looks like this, elements got mapped to the DIV 
element with the according ID (compare with videofile):


------------------------ HTML start ---------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
	<head>
		<title>Relaunch 2007</title>

		<meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1" />

		<link href="../css/00_main.css" rel="stylesheet" 
type="text/css" />

		<!--[if lte IE 6]>
			<link rel="stylesheet" href="../css/99_ie6.css" 
type="text/css" />
		<![endif]-->
	</head>

	<body>
		<div id="container">
			<div id="top">
				<div id="topnav">
					<ul>
						<li>&gt; <a href="#">Item 1</a></li>
						<li>&gt; <a href="#">Item 2</a></li>
					</ul>
				</div>
				<div id="topsearch">
					<form action="###SEARCHPAGE###" 
method="post">
						<fieldset>
							<label for="searchbox-sword">
&gt; <a href="#">Suche</a></label><input type="text" id="searchbox-
sword" />
							<input type="hidden" 
name="tx_indexedsearch[_sections]" value="0" />
							<input type="hidden" 
name="tx_indexedsearch[_freeIndexUid]" value="_" />
							<input type="hidden" 
name="tx_indexedsearch[pointer]" value="0" />
						</fieldset>
					</form>
				</div>
			</div>

			<div id="header">
				<h1>Page title</h1>
				<div id="mainnav">
					<ul>
						<li><a href="#">&gt; Item 1</a></li>
						<li><a href="#">&gt; Item 2</a></li>
					</ul>
				</div>
			</div>

			<div id="logo">
				<img src="../media/logo.jpg" />
			</div>

			<div id="breadcrumb">
				<a href="#">Entsprechender Pfad</a>
			</div>

			<div id="headline">
				<h1>Relaunch 2007</h1>
			</div>

			<div id="contentcontainer">
				<div id="content">

				</div>

				<div id="atmo">
					<img src="../media/atmobild.jpg" />
				</div>

				<div id="additionalcontent">

				</div>

				<div id="clearer"></div>
				<div id="footer">
					<ul>
						<li>&gt; <a href="#">Kontakt</a></li>
						<li>&gt; <a href="#">AGB</a></li>
						<li>&gt;<a href="#">Impressum</a>/li>
					</ul>
				</div>
			</div>
		</div>
	</body>
</html>


More information about the TYPO3-project-templavoila mailing list