I customized the search.php file so I could implement it into my own site's template but every time I index again it overwrites the search.php back to the original. How can I keep this from happening so I don't have to keep a spare copy in another folder?
Indexing overwrites search.php
Collapse
X
-
Tags: None
-
Under "Configure"->"Advanced", select "Specify my own path for the script source code" and point the folder to your modified copy of the script (that you keep in a different folder). Save the configuration. Zoom will now use your version of the script each time it reindexes with this configuration file.
-
Do I have to have the custom search.php in a different folder to prevent overwriting or can I keep it in the "Search" folder?
Comment
-
It makes sense to keep a backup copy somewhere else besides your Output folder. Since you may want the new script at some point (should there be an important bug fix, or a new feature). So keeping your custom script in a different folder would be wise.
Comment
Comment