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.
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.