Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

After customizing my Website Publisher template, dynamic elements of my site no longer work.

If you have modified an existing template or created a new one from scratch, but dynamic elements of your site - such as dropdown menus, the comments reply-to form, glossary tips, and other Javascript controlled elements - are no longer working, the most likely cause is that your modified template does not include (or does not properly include) the required Javascript files.

In your layout files, which *.html files located in...

/templates/<your template>/

For example: /templates/Default/Articles.html

...you should make sure that the following files are included in each layout file, in between the <head></head> tags...

<link href="%%Config.CurrentTemplatePath%%/Styles/%%Config.StyleWidth%%.css" type="text/css" rel="stylesheet" />
<link href="%%Config.CurrentTemplatePath%%/Styles/%%Config.SiteColor%%.css" type="text/css" rel="stylesheet" />
<link href="%%Config.CurrentTemplatePath%%/Styles/styles.css" type="text/css" rel="stylesheet" />
<link href="%%Config.CurrentTemplatePath%%/Styles/HelpTip.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="%%GLOBAL_siteURL%%/javascript/menudrop.js"></script>
<script type="text/javascript" src="%%GLOBAL_siteURL%%/javascript/jquery.js"></script>
<script type="text/javascript" src="%%GLOBAL_siteURL%%/js.php?f=formUtil"></script>
<script type="text/javascript" src="%%GLOBAL_siteURL%%/javascript/helpTip.js"></script>
<!--[if IE]>
<style type="text/css" media="screen">
    @import "%%Config.CurrentTemplatePath%%/Styles/styles-ie.css";
</style>
<![endif]-->


The above code may change slightly from template to template, but this is the standard code included with the Default template and modifications are neither recommended, nor officially supported.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software