Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Getting Unknown Tag errors

Quote Reply
Getting Unknown Tag errors
Hi:

All of a sudden I get unkown tag errors- especially in cgi-generated pages like user.cgi. I get errors like Unknown Tag: 'build_css_url' and Unknown Tag: 'random'.

I can not figure out what I did to do this.... set a path wrong or something? I just upgraded from 2.00.00.00.00 to 2.03...

Any ideas would be helpfull- thanks!

dave

Quote Reply
Re: Getting Unknown Tag errors In reply to
Hi,

Did you make sure to say no to overwriting your templates? If not, it could have overwritten your templates and lost the random and build_css_url, those are no longer part of globals list that come by default.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Getting Unknown Tag errors In reply to
Alex:

Yep, that is probably it. I have a further question.... If I put a random number generator in globals, it puts a NEW nember for every <%random%>, right? Is there a way to make it generate only ONE random number per page (I need the same number TWICE!)

Thanks!

dave

Quote Reply
Re: Getting Unknown Tag errors In reply to
Hi,

sub {
no strict;
$RAND ||= rand();
return $RAND;
}

which should give you the same random number.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Getting Unknown Tag errors In reply to
Alex:

It is a BEAUTIFUL thing- thank you!

dave

Quote Reply
Re: [Alex] Getting Unknown Tag errors In reply to
Hi Alex!
can u please explain this little more in details .. i have the same problem .. but i don't know where to edit or take a look ..

thanx

Gregor
Quote Reply
Re: [Alex] Getting Unknown Tag errors In reply to
sorry i asked for detailed explanation for those unknown tags not random .. suddenly i have found out that none of tags works in wherever where mailing user or link owners .. nowhere .. no tags .. all unknown ..
thanx

Gregor
Quote Reply
Re: [sc2utp] Getting Unknown Tag errors In reply to
Hi,

You can use <%GT::Template::dump%> to display a list of tags that are available at any time.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Getting Unknown Tag errors In reply to
hmm strange ... all variables .. but no those important ones .. Hits Rating URL ID Title Contact Name ... Description ..?

Gregor