Skip to main content
18-Opal
July 27, 2020
Question

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

  • July 27, 2020
  • 1 reply
  • 1320 views

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

15-Moonstone
December 1, 2020

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.