Gossamer Forum
Home : Products : Links 2.0 : Customization :

Relativ link in templates

Quote Reply
Relativ link in templates
Hi

i wish to include a 'relativ link' in the categories and subcategories pages.

in 'categorie/' folder i wish this to be printed in the category page:

<!--#exec cgi="../cgi-bin/random/news.pl"-->

in 'categorie/subcategory' folder i wish this to be printed in the subcategory page :

<!--#exec cgi="../../cgi-bin/random/news.pl"-->

is there a way to get it ?



or let s say :

Is there a way to get printed the relativ path in the 'category template'

for ex :

In the

if in 'category_name_field' = '/'

print '../'



then i can get my relativ adress in the category template like, it would then be built correctly in the 'category/' and the 'category/subcategory/' respectiv index files.

<!--#exec cgi="<%relativpath%>cgi-bin/random/news.pl"-->



i wish it is understandable and that you know a way to do that. Crazy
Subject Author Views Date
Thread Relativ link in templates jigme 2082 Jul 8, 2002, 8:19 AM
Thread Re: [jigme] Relativ link in templates
Stealth 2017 Jul 8, 2002, 8:44 PM
Post Re: [Stealth] Relativ link in templates
jigme 2006 Jul 9, 2002, 2:37 PM
Post Re: [Stealth] Relativ link in templates
jigme 2004 Jul 9, 2002, 11:04 PM