Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > AT-Lite .7 (Support) > Content Express & AutoTheme > Post Reply


Post Reply
Icon:
Message:



[More smilies...]
Bold   Italic   Underline   Code   Email   Quote   Url   Image   
Rights

HTML is Off
Smilies are On
BB Code is On
[img] Code is On

Disable smileys?
Use signature?
Turn BBCode off?
Receive email notification of new replies?

Topic Review


posted on 7/13/2004 at 07:42 AM

Content Express 1.2.7 install states:

quote:
5) If you want to make use of the javascript menu capabilities of ContentExpress, you'll need to add a line to your theme in order for the javascript menu to work. In the file /themes/<<your theme name>>/theme.php, there is a function called themefooter(). Add the end of that function, just before the } You'll need to add the following:

echo "<script type=\"text/javascript\" src=\"./modules/ContentExpress/js/menu_com.js\"></script>";

Now your jsmenu should appear.Don't forget to have this line added in all your themes, if you let your users choose their own theme.

Alternative, you can include the jsmenu.php in your theme.php at the same location with the following:

if( file_exists( "modules/ContentExpress/docs/jsmenu.php" )) { include_once( "modules/ContentExpress/docs/jsmenu.php" ); }

AutoTheme does not have the footer statement in theme.php nor theme.html -
How to, actually, where to, add the JS call?



Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 175

Powered by the AutoTheme HTML Theme System
Page created in 0.259144 Seconds