The codes (~; if ($header) { $output .= qq~<h2>$header</h2>~; }) are in my site_html.pl.
In my folder HEADER I have more than one text file and obviously the script read only the first one, that's the problem because I can't call different headers for different categories.
I have been looking for an answer all over the forum, FAQ, resources etc. I cannot be the only one having this problem and I hope there is another solution than having to use templates! That's why I post my Q. here in the FAQ that explain how to do it.
If you are using the HEADER folder with several txt files and that it work please let me know how you did it.
Thanks
In my folder HEADER I have more than one text file and obviously the script read only the first one, that's the problem because I can't call different headers for different categories.
I have been looking for an answer all over the forum, FAQ, resources etc. I cannot be the only one having this problem and I hope there is another solution than having to use templates! That's why I post my Q. here in the FAQ that explain how to do it.
If you are using the HEADER folder with several txt files and that it work please let me know how you did it.
Thanks