Praktisches Beispiel: ?ndern der navigation_service_row

"Roger Fischer" <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
Zur Erinnerung: Aufbau der XSL-Templates
http://lists.bitflux.ch/pipermail/bitflux-cms-de/2002-October/000039.html



Ändern der navigation_service_row
=================================
Die "navigation_service_row" entspricht "< toc > |          grösser kleiner
| print"

siehe Design
http://www.monorom.to/eb/cms5/layout_elemente.html


1) Gehe zu $PROJECT_DIR/xsl/default.xsl
2) Gehe zu Template "navigation_service_row"
3) Altes XSL Template

<xsl:template name="navigation_service_row">

 		<tr>
		     <td align="left" valign="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td>
							<img src="/images/links.gif" width="20" height="20" border="0"/>
							<img src="/images/toc.gif" width="20" height="20" border="0"/>
							<img src="/images/rechts.gif" width="20" height="20" border="0"/>
							<img src="/images/rand.gif" width="20" height="20" border="0"/>
							</td>
							<td align="right">
							<img src="/images/rand.gif" width="20" height="20" border="0"/>
							<img src="/images/font_big.gif"  width="20" height="20" border="0"/>
							<img src="/images/font_small.gif"  width="20" height="20"
border="0"/>
							<img src="/images/rand.gif" width="20" height="20" border="0"/>
							<img src="/images/printer.gif"  width="20" height="20" border="0"/>
							</td>
						</tr>
					</table>
				</td>
		  </tr>
</xsl:template>


4) Neues HTML von http://www.monorom.to/eb/cms5/layout_elemente.html

		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td><img src="images/links.gif" width="20" height="20"
border="0"><img src="images/toc.gif" width="20" height="20" border="0"><img
src="images/rechts.gif" width="20" height="20" border="0"><img
src="images/rand.gif" width="20" height="20" border="0"></td>
							<td align="right"><img src="images/rand.gif" width="20" height="20"
border="0"><img src="images/font_big.gif"  width="20" height="20"
border="0"><img src="images/font_small.gif"  width="20" height="20"
border="0"><img src="images/rand.gif" width="20" height="20" border="0"><img
src="images/printer.gif"  width="20" height="20" border="0"></td>
						</tr>
					</table>

				</td>
			</tr>
			<tr>
				<td><img src="images/line_punkt_quer500.gif" width="500" height="1"
border="0"></td>
			</tr>
		</table>


5) Resultat

...

Anmerkung: Zum lokal testen, ob Dokument wellformed XHTML ist, Dokument als
XML abspeichern mit
<?xml version="1.0" encoding="iso-8859-1"?> zu Beginn. Dann im Browser
anschauen.


--
roger fischer | bitflux GmbH | schöneggstrasse 5 | ch-8004 zürich
tel +41 1 240 56 72 | mobil +41 78 607 75 06 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.