Categories > TinyButStrong general >

working on onshopw, but not on onload

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Mankiy
Date: 2003-07-20
Time: 05:46

working on onshopw, but not on onload

this is the one working:
[tbs_include.onshow;file=[headdir];htmlconv=no]

but this wont:
[tbs_include.onload;file=[headdir];htmlconv=no]


Why wont it?

with onshow, it loads up the file, but doesnt replace the tags in that file...

and then when i just have it as header.tpl, it doesnt work except when i put that file where the index.php file is located

and i tried templates/header.tpl
and that works fine, except i need it to where the users are picking the template directory...

examples:::::

index.php:
while ($row = mysql_fetch_assoc($query)) {
$headdir = "templates/".$row['template']."header.tpl";

$PAGE->MergeField("headdir", $headdir);
}

get what im saying?
By: Mankiy
Date: 2003-07-20
Time: 06:13

Re: working on onshopw, but not on onload

nvm....

i tried the [var.something] out and it works with onshow, so i think i can live with having the vars for it :P

it will work for me
By: Mankiy
Date: 2003-07-20
Time: 06:57

Re: working on onshopw, but not on onload

is there any way i can get around this?

I need to be able to use a reg [username] like that