Categories > TinyButStrong general >

Good tbs

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: handoko
Date: 2010-07-18
Time: 01:31

Good tbs

Dear Skrol,

i think tbs can be a very usefull in the future if you have or build a regeneration in developing this tools, by for example give a training for a developer , etc

how about this code,
[onload;script=[if [var_SESSION.islogon]='1'; then '[var.sys.jsDir]cleditor.js' ; else ''];subtpl;noerr]

is there something wrong? it doesn't work on me

thanks
By: TomH
Date: 2010-07-18
Time: 02:25

Re: Good tbs

But what is it doing? No errors?

BTW, training for a TBS developer exists in the TBS manual combined with the "Examples" scripts will teach 98% of TBS. You do need to know your database and PHP scripting to do advanced applications.
By: TomH
Date: 2010-07-18
Time: 02:28

Re: Good tbs

Forgot o say...

It seems you're trying to include js -- that might be done as a file= not script= ;subtpl
Also you might nee htmlconv=js
By: TomH
Date: 2010-07-18
Time: 02:33

Re: Good tbs

Reading the TBS manual will help you a lot...
[onload;file=[var.islogon;if [val]=1;then 'onload.html';else '']]
-or-
[onload;script=[var.islogon;if [val]=1;then 'onload.php';else ''];subtpl]
This syntax is tested and works

The TBS Manual is your friend - try looking there for syntax - it will save you lots of time and energy.


By: Skrol29
Date: 2010-07-18
Time: 13:38

Re: Good tbs

Hi,

>i think tbs can be a very usefull in the future if you have or build
> a regeneration in developing this tools, by for example give
> a training for a developer , etc

The manual and the example are told by many to be very well done to took over TBS. But it is clear to me that are missing other stuff like a tutorial, more applications sources, books, This is a lot of work.... I used to share the TBS project at Source Forge, but now that is is improved, I'll try to do it again for the next major upgrade.