Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: TMenu_path_to_files
william_munny
Junior Member

Posts: 5
Registered: 12/21/2004
Member Is Offline
posted on 2/18/2005 at 03:08 PM Reply With Quote
TMenu_path_to_files


I'm using the menu in an cms system called OpenCMS, I have included the menu in a template JSP page and now i'm getting the error: TMN is not defined. I don't now i any of you have any experince with OpenCms and it's file structure but i'm pretty sure that I'm doing something wrong and it's probably a easy correction.

// A path to Tigra Menu GOLD files from the PAGE containinig Menu
var TMenu_path_to_files = '/system/modules/dk.mysite.www/resources/menu_files/';

This is how it looks today. My structure are:

dk.mysite.www
/Templates
template.jsp -> including the menu files
/Resources
/menu_files
menu.js -> TMenu_path_to_files
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/1/2005 at 12:48 AM Reply With Quote

That should be web path, not local system path.
/menu_files/
or
http://mystite.com/menu_files/
View User's Profile View All Posts By User U2U Member
william_munny
Junior Member

Posts: 5
Registered: 12/21/2004
Member Is Offline
posted on 3/1/2005 at 08:07 AM Reply With Quote

I got it solved, the browser was caching the script or something and it showed me a wrong error message that i already had correted. So don't work to many hours :-)
View User's Profile View All Posts By User U2U Member
boberang
Junior Member

Posts: 4
Registered: 1/30/2004
Member Is Offline
posted on 4/18/2005 at 09:52 PM Reply With Quote
no way of doing relative?


So there is no way of doing a relative path to the TMenu_path variable?

Just seems odd/cumbersome to have to use three different absolute variables (one in development, one on the testing server, one in production).

But I guess that file shouldn't change so once those three are set....
View User's Profile View All Posts By User U2U Member
william_munny
Junior Member

Posts: 5
Registered: 12/21/2004
Member Is Offline
posted on 4/19/2005 at 07:34 AM Reply With Quote

I guess there is, I just haven't figured it out yet. I know that the OpenCMS takes care of the mapping of files using a JSP taglib, i just coudn't make it work in the javascript file. And it's working now, so i'm not gonna try figuring it out at this point.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004