---
title: "guestbook & rootline barrierefrei"
url: "https://www.typo3.net/d/28033-guestbook-rootline-barrierefrei"
source: "typo3.net"
tags: ["Frontend","Barrierefreiheit","Tipp"]
created: "2005-08-01"
last_reply: "2005-08-01"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# guestbook & rootline barrierefrei

Frontend › Barrierefreiheit · 0 Antworten · gestartet 2005-08-01

## Eröffnungsbeitrag

**LineMan** · 2005-08-01 · [Beitrag #1](https://www.typo3.net/d/28033-guestbook-rootline-barrierefrei/1)

da es doch einige arbeit war, das gästebuch in xhtml umzugestalten dachte ich mir es wäre nett, wenn das mal jemand anderen leuten erspart.... und somit hier meine ergüsse....

das gästebuchtemplate (der style muss entweder ins setup deines templates, oder in dein haupt css):

```html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ve_guestbook</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
	.tx-guestbook-list-header{background:#6D0000;color:#FFFFFF;font-weight:bold;}
	.tx-guestbook-list-header h1{font-size:0.8em;}
	.tx-guestbook-list-row{background:#000000;float:left;padding:0.25em;width:26.625em;}
	.tx-guestbook-list-rowleft{background:#333333;float:left;width:12em;font-size:0.8em;}
	.tx-guestbook-list-rowleft p{padding:0.25em;}
	.tx-guestbook-list-small{color: #666666;font-size:0.8em;}
	.tx-veguestbook-pi1-browsebox{font-size:0.8em;color:#333333;}
	.tx-veguestbook-pi1-browsebox-strong, .tx-ttnews-browsebox-SCell{ font-weight: bold;}
	.tx-veguestbook-pi1-browsebox-SCell{background:#333333; }
	.tx-guestbook-latest-header{background:#999999;color:#FFFFFF;font-weight:bold;clear:both;}
	.tx-guestbook-latest-row{background:#333333;}
	.tx-guestbook-latest-small{font-size:0.7em;color:#666666; }
	.tx-guestbook-form-inputfield-med{border:0.0625em solid #CCCCCC;font-size:0.7em;color:#333333;width:20em; }
	.tx-guestbook-form-inputfield-big{border:0.0625em solid #CCCCCC;font-size:0.7em;color:#333333;width:20em;}
	.tx-guestbook-form-textarea{border:0.0625em solid #CCCCCC;font-size:0.7em;color:#333333;width:20em; }
	.tx-guestbook-form-obligationfield{color: #CC0000;}
	.tx-guestbook-form-error{color:#CC0000;}
	.guest-form{}
	.guest-form-label{width:8em;float:left;font-size:0.8em;margin-bottom:0.25em;}
	.guest-input{margin-bottom:0.25em;}
	.guest-input-submit{}
	.clear{clear:both;}
</style>

</head>
<body>
<p class="clear">&nbsp;</p>
<!-- ###TEMPLATE_LIST### begin -->
<span class="f08 left">###RESULT_COUNT###</span> <div align="right"><span class="f08">###LINK_PREV### ###PAGES### ###LINK_NEXT###</span></div>
	<!-- ###CONTENT### begin -->
	<!-- ###ENTRY### begin -->
	<br/>
	<div class="tx-guestbook-list-header"><h1>###GUESTBOOK_FIRSTNAME### ###GUESTBOOK_SURNAME### ###GUESTBOOK_FROM### ###GUESTBOOK_PLACE###</h1></div>
		<div class="tx-guestbook-list-rowleft">
			<!-- ###ENTRY_EMAIL### begin -->
			<p><a href="###GUESTBOOK_EMAIL_URL###">###GUESTBOOK_EMAIL###</a></p>
			<!-- ###ENTRY_EMAIL###  end -->
			<!-- ###ENTRY_HOMEPAGE### begin -->
			<p><a href="###GUESTBOOK_HOMEPAGE###" target="blank">###FORM_HOMEPAGE###</a></p>
			<!-- ###ENTRY_HOMEPAGE###  end --><br /><br /><br /><br />
		</div>
		<div class="tx-guestbook-list-row">
			<span class="tx-guestbook-list-small">###GUESTBOOK_DATE###</span><br />
			<span class="f08">###GUESTBOOK_ENTRY###</span>
			<!-- ###ENTRY_ENTRYCOMMENT### begin -->
			<p><span class="tx-guestbook-list-entrycomment-title">###FORM_ENTRYCOMMENT###:</span><br><span class="tx-guestbook-list-entrycomment">###GUESTBOOK_ENTRYCOMMENT###</span></p>
			<!-- ###ENTRY_ENTRYCOMMENT###  end -->							
		</div>
	<div class="clear"><img src="fileadmin/designvorlagen/images/blind.jpg" width="1" height="1" alt="" /></div>
	<!-- ###ENTRY### end-->
	<!-- ###CONTENT###  end -->
	<br/><div class="f08 right">###LINK_PREV### ###PAGES### ###LINK_NEXT###</div>
<!-- ###TEMPLATE_LIST### end -->

<p class="clear">&nbsp;</p>

<!-- ###TEMPLATE_NO_ENTRIES### begin -->
	<div class="tx-guestbook-list-header">###NO_ENTRIES_HEADLINE###</div>
	<div class="tx-guestbook-list-row">###NO_ENTRIES_TEXT###</div>
<!-- ###TEMPLATE_NO_ENTRIES### end -->

<p class="clear">&nbsp;</p>

<!-- ###TEMPLATE_FORM### begin -->
	<div class="tx-guestbook-form-error f08">###FORM_ERROR###</div><div class="f08">###FORM_ERROR_FIELDS###</div>
	<form name="formular" method="post" action="###ACTION_URL###">
		<div class="guest-form">
			<div class="guest-form-label"><label for="firstname">###FORM_FIRSTNAME###</label> <span class="tx-guestbook-form-obligationfield">###FORM_FIRSTNAME_OBLIGATION###</span>:</div>
			<div class="guest-input"><input type="text" name="tx_veguestbook_pi1[firstname]" value="###VALUE_FIRSTNAME###" class="tx-guestbook-form-inputfield-med" id="firstname"></div>
			<div class="guest-form-label"><label for="surname">###FORM_SURNAME###</label> <span class="tx-guestbook-form-obligationfield">###FORM_SURNAME_OBLIGATION###</span>:</div>
			<div class="guest-input"><input type="text" name="tx_veguestbook_pi1[surname]" value="###VALUE_SURNAME###" class="tx-guestbook-form-inputfield-med" id="surname"></div>
			<div class="guest-form-label"><label for="email">###FORM_EMAIL###</label> <span class="tx-guestbook-form-obligationfield">###FORM_EMAIL_OBLIGATION###</span>:</div>
			<div class="guest-input"><input type="text" name="tx_veguestbook_pi1[email]" value="###VALUE_EMAIL###" class="tx-guestbook-form-inputfield-med" id="email"></div>
			<div class="guest-form-label"><label for="home">###FORM_HOMEPAGE###</label> <span class="tx-guestbook-form-obligationfield">###FORM_HOMEPAGE_OBLIGATION###</span>:</div>
			<div class="guest-input"><input type="text" name="tx_veguestbook_pi1[homepage]" value="###VALUE_HOMEPAGE###" class="tx-guestbook-form-inputfield-big" id="home"></div>
			<div class="guest-form-label"><label for="place">###FORM_PLACE###</label> <span class="tx-guestbook-form-obligationfield">###FORM_PLACE_OBLIGATION###</span>:</div>
			<div class="guest-input"><input type="text" name="tx_veguestbook_pi1[place]" value="###VALUE_PLACE###" class="tx-guestbook-form-inputfield-big" id="place"></div>
			<div class="guest-form-label"><label for="entry">###FORM_ENTRY###</label> <span class="tx-guestbook-form-obligationfield">###FORM_ENTRY_OBLIGATION###</span>:</div>
			<div class="guest-input"><textarea name="tx_veguestbook_pi1[entry]" class="tx-guestbook-form-textarea" rows="8" cols="25" id="entry">###VALUE_ENTRY###</textarea></div>
			<div class="guest-input-submit"><input type="hidden" name="id" value="###PID###"><input type="hidden" name="tx_veguestbook_pi1[submitted]" value="1"><input type="submit" value="###FORM_SUBMIT###"></div>
		</div>		
	</form>
<!-- ###TEMPLATE_FORM### end -->

<p class="clear">&nbsp;</p>

<!-- ###TEMPLATE_TEASER### begin -->
	<div class="tx-guestbook-latest-header">###TEASER_HEADLINE###</div>
	<div>
		<!-- ###CONTENT### begin -->
		<!-- ###ENTRY### begin -->						
		<p><span class="tx-guestbook-latest-date">###GUESTBOOK_DATE###</span><br />###GUESTBOOK_FIRSTNAME### ###GUESTBOOK_SURNAME###:<br />###GUESTBOOK_ENTRY###</p>
		<!-- ###ENTRY### end-->		
		<!-- ###CONTENT###  end -->
		<p class="right"><!--###LINK_ITEM###-->###TEASER_MORE###<!--###LINK_ITEM###--></p>
	</div>
<!-- ###TEMPLATE_TEASER### end -->

<p class="clear">&nbsp;</p>

</body>
</html>
```

ausserdem (was kleines) eine valide rootline mit nicht verlinktem aktuellen standpunkt:

```typoscript
temp.rootline = HMENU 
temp.rootline.special = rootline 
temp.rootline.special.range = 0|-1 
temp.rootline.excludeUidList = 
temp.rootline.wrap = <div id="rootline"> | </div>
temp.rootline.1 = TMENU 
temp.rootline.1 { 
		wrap = <ul>|</ul>
		NO {
           wrapItemAndSub = <li>|</li>
           stdWrap = upper
           }
		ACT < .NO
     	ACT.stdWrap.wrap = <div class="rootline-selected" title="Du bist hier">|</div>
     	CUR < .ACT
     	CUR.stdWrap.wrap = <div class="rootline-selected" title="Du bist hier">|</div>
     	CUR.doNotLinkIt = 1
     	CUR = 1
     	}
}
```

---

Quelle: „guestbook & rootline barrierefrei“, typo3.net, https://www.typo3.net/d/28033-guestbook-rootline-barrierefrei
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
