cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

trying to shorten a path in siteprefs to see file in unzipped application folder

bfriesen
18-Opal

trying to shorten a path in siteprefs to see file in unzipped application folder

We have a menu file that we are trying to call up, using the siteprefs file. It should get the menu file from the unzipped application folder, but I cannot figure out what the path should look like. The file is located in the custom\lib folder. If I enter the entire path I can see the menu. But that does not work for my other users then. 

 

<Variable name="APTMENUFILE" value="..\custom\lib\menu.cf"/>
</EnvironmentVariables>

 

Thanks

 

Bryon

1 REPLY 1
plutsky
14-Alexandrite
(To:bfriesen)

I don't know where you are using the menu file, but would the ACL get_custom_dir() help?

 

If you are overwriting the main editmenu.cf that would be used at startup, then I think you may be able to just specify "menu.cf" and it will find it in the custom folder.  

Announcements

Top Tags