[TYPO3-templavoila] Strange errors
Joerg Sauer
sauer at programmatic.de
Sat Feb 18 17:33:11 CET 2006
Dear all,
I am a little bit lost, have tried already several days
to get this working.
I just want to map a simple web design with
templavoila to get my projects web site running.
I have an working installation (3.8.0) in my virtual
machine (vmware) mapping worked fine and pages
are shown as expected.
So I went on and installed a new typo3 in my real
webserver. (3.8.1) and I get mapping errors (html
path no content)
So I thought might be a version problem. So I
downloaded 4.0 beta and the latest templa voila.
But still the same problems.
OK I thought. Lets make a new clean installation
(dummy not quickstart) in my virtual machine. And
then transfer everything to the web server. BUT in
the new setup (3.8.0 templavoila 0.4) now I have
no mapping errors as expected, but I do not get
any content shown. Only the navigation menus
work. But on the same vm just another typo
installation (same source, same versions!)
everything works! Why not this one?
I'm new to typo, typo script, so I just wanted to get
it running and then learn the insides afterwards, but
now it seems I have to do it now. (I followed the
templavoila tutorial instructions) First I had a totally
table based layout. I thought it might be to complex
for parsing. I changed it to a CSS based layout. So
this should not be a parsing problem anymore.
May be there is someone who can help?
I post the codes at the end of this message.
Thanks in advance
Jörg
---
I just map
TYPE Content -> div#mainconten
TYPE Content -> div#footer
TYPE Content -> div#rightcolumn
TYPE Object Path -> div.mainmenu (lib.MainMenu)
TYPE Object Path -> div#leftcolumn (lib.SubMenu)
-begin---setup-----
#########################################
##
# Hauptmenu
#########################################
##
lib.MainMenu = HMENU
# First level menu-object, textual
lib.MainMenu.1 = TMENU
lib.MainMenu.1 {
# Normal state properties
# NO.allWrap = | ¦
# NO.stdWrap.htmlSpecialChars = 1
NO.allWrap = | ¦
NO.linkWrap = |
NO.doNotShowLink = 1
NO.before.cObject = TEXT
NO.before.cObject.field = alias//uid
NO.before.cObject.dataWrap = <A
class="mainmenu" href="?id=|" title="{field:title}">
NO.after.cObject = TEXT
NO.after.cObject.field = nav_title//title
NO.after.cObject.wrap = | </a>
# Enable active state and set properties:
ACT = 1
# ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = | ¦
ACT.linkWrap = |
ACT.doNotShowLink = 1
ACT.before.cObject = TEXT
ACT.before.cObject.field = alias//uid
ACT.before.cObject.dataWrap = <A
class="mainmenu_act" href="?id=|"
title="{field:title}">
ACT.after.cObject = TEXT
ACT.after.cObject.field = nav_title//title
ACT.after.cObject.wrap = | </a>
}
#########################################
##
# Untermenu
#########################################
##
lib.SubMenu = HMENU
lib.SubMenu.entryLevel = 1
# First level menu-object, textual
lib.SubMenu.1 = TMENU
lib.SubMenu.1 {
NO.linkWrap = |
NO.doNotShowLink = 1
NO.before.cObject = TEXT
NO.before.cObject.field = alias//uid
NO.before.cObject.dataWrap = <p
class="menu"><A href="?id=|" title="{field:title}">
NO.after.cObject = TEXT
NO.after.cObject.field = nav_title//title
NO.after.cObject.wrap = | </a></p>
NO.RO=1
ACT.linkWrap = |
ACT.doNotShowLink = 1
ACT.before.cObject = TEXT
ACT.before.cObject.field = alias//uid
ACT.before.cObject.dataWrap = <p
class="menu"><A href="?id=|" title="{field:title}">
ACT.after.cObject = TEXT
ACT.after.cObject.field = nav_title//title
ACT.after.cObject.wrap = | </a></p>
}
#2nd Level
#########################################
#########################
# Second level menu-object, textual
lib.SubMenu.2 = TMENU
lib.SubMenu.2 {
# Abstand zum nächsten Menüpunkt
wrap = <ul> | </ul>
NO.linkWrap = |
NO.doNotShowLink = 1
NO.before.cObject = TEXT
NO.before.cObject.field = alias//uid
NO.before.cObject.dataWrap = <LI><A href="?id=|"
title="{field:title}">
NO.after.cObject = TEXT
NO.after.cObject.field = nav_title//title
NO.after.cObject.wrap = | </a></LI>
NO.RO=1
ACT.linkWrap = |
ACT.doNotShowLink = 1
ACT.before.cObject = TEXT
ACT.before.cObject.field = alias//uid
ACT.before.cObject.dataWrap = <LI><A
href="?id=|" title="{field:title}">
ACT.after.cObject = TEXT
ACT.after.cObject.field = nav_title//title
ACT.after.cObject.wrap = | </a></LI>
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1-
>main_page
-end---setup-----
-begin---htmltemplate-----
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<title>Background</title>
<link rel="stylesheet" type="text/css"
href="fileadmin/templates/womin/style.css" />
</head>
<body>
<div id="page">
<div id="header">
<table class="logo" summary="logos">
<tr>
<td class="logo"><a href="url.html"><img
src="fileadmin/templates/womin/images/logo.png"
alt="logo" /></a>
</td>
<td class="banner">
<a href="..."><img src="logo.png" alt="logo"
/></a>
</td>
</tr>
</table>
<div class="mainmenu"><A
class="mainmenu_act" href="?id=7"
title="Background">Background</a> ¦
<A class="mainmenu" href="?id=6"
title="Partners">Partners</a> ¦
<A class="mainmenu" href="?id=5" title="E-
Learning">E-Learning</a> ¦
<A class="mainmenu" href="?id=4"
title="Intranet">Intranet</a> ¦
<A class="mainmenu" href="?id=3"
title="Contact">Contact</a> ¦
</div>
</div>
<div id="allcontent">
<div id="leftcolumn"><p class="menu"><A
href="?id=11" title="Main Activities">Main
Activities</a></p><p class="menu"><A
href="?id=10" title="Target Groups">Target
Groups</a></p><p class="menu"><A href="?id=9"
title="Objectives">Objectives</a></p><p
class="menu"><A href="?id=8"
title="Needs">Needs</a></p></div>
<div id="rightcolumn"></div>
<div id="maincontent"></div>
<div id="footer"></div></div></div>
</body>
</html>
-end---htmltemplate-----
--
Joerg Sauer
e-mail: sauer at programmatic.de
snail mail: Jl. Setra Sari Kulon 34
Bandung 40152
Indonesien
Tel: +62 811 229542
Tel: +49 631 3431435 (VoIP to
Indonesia)
PGP Fingerprint: 327D 1CDE 4B18 9032 BB8A
C622 0377 A6B6 DEF3 18D6
PGP Key Index : 0xDEF318D6
PGP Key Server :
http://www.pca.dfn.de/dfnpca/pgpkserv/
More information about the TYPO3-project-templavoila
mailing list