Posted by "bruce" on 06/04/05 04:14
hi...
i'm playing around with trying to get a better understanding of an app
(www.sitellite.org) it uses templates, which appear to have php/xml/html and
i'm trying to understand it a little better.
is there someone i can talk to who has a few minutes that might be willing
to walk me through this. i'm in the bay area of cali, if you're close i'd
even do lunch!! if you're not, talking via phone would probably be enough to
get me started!
thanks
-bruce
bedouglas@earthlink.net
ps:
sample code -----
<!DOCTYPE html
PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<xt:tpl version="1.0"><xt:doctype
root="html"
access="public"
name="-//W3C//DTD XHTML 1.0 Transitional//EN"
uri="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
/>
<html>
<head>
<title xt:content="php: intl_get ('SCM Example Site') . ' - ' .
object.title">SCM Example Site - Page Name</title>
<link rel="stylesheet" type="text/css" href="/inc/html/default/site.css"
xt:attributes="href string: ${site/prefix}/inc/html/default/site.css"
/>
</head>
<body><a name="top"> </a>
<table>
<tr>
<td id="banner" colspan="3">
<img src="/inc/html/default/pix/logo.gif" alt="" border="0"
xt:attributes="src string: ${site/prefix}/inc/html/default/pix/logo.gif"
/>
</td>
</tr>
<tr xt:condition="php: object.id ne 'index'">
<td id="breadcrumb" colspan="3" valign="middle">
<xt:box name="sitellite/nav/breadcrumb" caption="You are here">You are
here: Home / Products / SuperDuper2000</xt:box>
</td>
</tr>
<tr>
<td id="leftcontent">
<xt:box name="sitellite/sidebar" position="left" />
</td>
<td id="centercontent">
<xt:box name="cms/buttons" />
<h1 xt:content="title" xt:condition="php: not empty (object.title)">Page
Title</h1>
<div id="toc" xt:condition="php: not empty (object.toc)">
<h2><xt:intl>Table of Contents</xt:intl></h2>
<ul xt:replace="toc">
<li><a href="#">Fake inner link 1</a></li>
<li><a href="#">Fake inner link 2</a></li>
</ul>
</div>
<p xt:replace="body">
centercontent-
</p>
<p align="right"><a href="#top">[ <xt:intl>top</xt:intl> ]</a></p>
</td>
<td id="rightcontent">
<xt:box name="sitellite/sidebar" position="right" />
</td>
</tr>
<tr>
<td id="footer" colspan="3">
<table border="0" width="100%">
<tr>
<td>
<xt:intl>Copyright</xt:intl> <ch:copy /> <span xt:replace="php: date
('Y')">2003</span> Simian Systems Inc.<br />
<xt:intl>All Rights Reserved.</xt:intl>
</td>
<td align="right">
<a href="http://www.sitellite.org/" target="_blank"><xt:intl>Powered by
Sitellite CMS</xt:intl></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</xt:tpl>
Navigation:
[Reply to this message]
|