I was wondering if there is a way to add ssi to the templates to where it wouldn't automatically write it in the page. So when i updated the ssi link that it would update on the links pages.
Nov 6, 2000, 7:42 AM
Veteran (17240 posts)
Nov 6, 2000, 7:42 AM
Post #2 of 4
Views: 1212
Use global variables....
Define tags in the %globals hash in the site_html_templates.pl file.
Then add tags in your template files.
Example:
Put these codes in the links.cfg file:
$footer = qq|HTML CODES|;
Then in the %globals hash in the site_html_templates.pl file:
footer => $footer
Then in template files:
<%footer%>
Got it?
Regards,
Eliot Lee
Define tags in the %globals hash in the site_html_templates.pl file.
Then add tags in your template files.
Example:
Put these codes in the links.cfg file:
Code:
$footer = qq|HTML CODES|;
Then in the %globals hash in the site_html_templates.pl file:
Code:
footer => $footer
Then in template files:
Code:
<%footer%>
Got it?
Regards,
Eliot Lee