Originally posted by TurnRound
View Post
Some of our clients web servers use the .php extension for PHP files. Some use the .php4 extension. This means we have to change the $SETTINGSFILE variable manually when switching between servers before indexing.
2) The $TemplateFilename variable in the 'settings.php' file can't be changed from within the Zoom program.
Although it says we shouldn't edit the 'settings.php' file, we need to - because our clients server expects .php4 files, not .php.
Although it says we shouldn't edit the 'settings.php' file, we need to - because our clients server expects .php4 files, not .php.
Also, our search results page has other PHP code on it, which means we need a 'search_template.php4' file, not a 'search_template.html' file.
http://www.wrensoft.com/zoom/support/faq_ssi.html
The "search_template.html" filename should not be changed, and the above FAQ explains the recommended usage to create a search page which contains PHP code or other server-side scripting.
3) There's no way to prevent Zoom from uploading the 'settings.php' file.
Because our clients server expects PHP files to be named .php4, we've had to make a custom 'settings.php4' to make Zoom work. However, everytime we index and upload, Zoom reverts back to using the .php file.
To get around this, I've had to edit the 'search.php' file to get its settings from 'settings.php4' so even though Zoom uploads the 'settings.php' file, it doesn't actually use it, and uses the existing 'settings.php4' file I made.
Because our clients server expects PHP files to be named .php4, we've had to make a custom 'settings.php4' to make Zoom work. However, everytime we index and upload, Zoom reverts back to using the .php file.
To get around this, I've had to edit the 'search.php' file to get its settings from 'settings.php4' so even though Zoom uploads the 'settings.php' file, it doesn't actually use it, and uses the existing 'settings.php4' file I made.
Also, one other thing! If you make changes to a Configuration, the program does not alert you when quitting that the changes have not been saved. Either the program should automatically save the currently loaded Configuration upon quitting, or ask if you want the changes saved.
Leave a comment: