Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Vars Question

Quote Reply
Vars Question
Hi

i have created a new templets for copright, and so on..

how do I make specific vars available at those templets.
(I wanna have all vars, globals available at rate.html available at copy_rights.html0

I think that will not be hard but... any suggestions?

Regards
Abd

http://www.idleb.com
Quote Reply
Re: Vars Question In reply to
Ok I tried to enter them as a Template Globals but could not get half of them to work.
Anyone has a suggestion here please? I think there as an easy way to make all vars available at a specific templet?

Regards
Abd

http://www.idleb.com
Quote Reply
Re: Vars Question In reply to
It depends on how you are doing it.

What exactly are you trying to do. Each template has some variables available to it that are not always available to other templates.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Vars Question In reply to
well i have created few templets, (copy_right, detailes_all...)
I want specific vars to be available in each:
detailed_all I want all the link vars to be available, url, description, owners e-mail..
in copy_right I want e-mail, site name, site url 9I made those temple globals and theye are available now.
so my problem is only the first one.
thanks

Regards
Abd

http://www.idleb.com
Quote Reply
Re: Vars Question In reply to
You might have to do some fancy work here.

I'm still not sure what you are trying to do exactly, or why it's not working, but a "link" variable would _ONLY_ be available from the link.html and detail.html template, because those are the only ones that that requesting link data from the database.

There is no way to pass the data from one template to another without going through a .cgi script of some sort.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Vars Question In reply to
in response
There is no way to pass the data from one template to another without going through a .cgi script of some sort.

I think this is my case.
thanks

Regards
Abd

http://www.idleb.com
Quote Reply
Re: Vars Question In reply to
Take a look at my detail_page.cgi. You might want to use the same idea for the "copyright.cgi" where you set up the links from the detail page to the scripts.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum