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


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Content Express & AutoTheme

Member





Posts: 52
Registered: 12/28/2002
Status: Offline

  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?

 
Reply With Quote Visit User's Homepage
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 165

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