Categories
>
TinyButStrong general
>
define var on an html page
The forum is closed. Please use
Stack Overflow
for submitting new questions. Use tags:
tinybutstrong
,
opentbs
By:
austin
Date: 2005-02-17
Time: 06:20
define var on an html page
is there aay to define a var in an html page?
By:
Skrol29
Date: 2005-02-17
Time: 09:46
Re: define var on an html page
Template vars can be defined.
[onload;tplvars;var1=hello]
At the Php side, this will create the item $TBS->TplVars['var1'] equal to 'hello'. And you can reuse it in the template with [var..tplvars.var1].
More details in the manual.
New message
Name:
Email:
ignore this line
Email:
-> No email accessible on Web pages.
Send replies notifications by email
Readers can contact you by Anti-Spam System
(*)
Subject:
Message:
Special part in message: enter text between [code] and [/code] tags.
(*) Anti-Spam System: A reader can ask for 3 emails a day, no more ; and the reader must have a valid email to ask for emails.
Posting in progress.
Please wait...