Re: Issues with the templates system...
"tobozo@madchat" <[email protected]> Mon, 14 Apr 2003 21:41:20 +0200
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <006201c302bd$d35b8210$0200a8c0@chromium> |
Iain,
phplib's template is guilty, not phpslash ;-))
a good tutorial here : http://www.devshed.com/Server_Side/PHP/PHPLib/
phplib's page : http://phplib.sf.net
editing the templates without understanding its functionalities is possible
anyway. but anyone doing so will have to follow these "do not" rules :
- do not move a {VARIABLE} outside its own <-- BEGIN .*-->
and <-- END .*--> block limit
- do not move a {VARIABLE} outside its own template file
- do not rename a {VARIABLE} (not even to lowercase)
- do not remove, move or alter any <-- comment --> you find in the
templates
- do not type your <script> functions() {/* using two brackets on the same line
*/}
(template engine will remove any unused {VARIABLES} when parsing out,
including the javascript brackets and the text between them).
- do not panic
be well
tobozo
----- Original Message -----
From: "Iain Chesworth" <[email protected]>
To: <[email protected]>
Sent: Monday, April 14, 2003 7:35 PM
Subject: [phpslash-users] Issues with the templates system...
> Heya,
> I've been playing with the templates to customise the site. There seems
to be very little information on the how the templates work apart from the FAQ.
The problem I'm experiencing is that when I use a { } value - the parser
substitutes it with a blank value. For example {IMAGE_URL} is used in one of
the basic templates where it works but if I reuse that in say the topicBar.tpl
then I get nothing.
>
> Any ideas anyone.
>
> Iain
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf