PATCH 133-02: Documentation fix - 'get_searchform()' should be 'get_search_form()'
1 Attachment(s)
In the limited PHP Code, there is an example for the function 'get_searchform'. Due to a typo, the name is incorrect, it should be 'get_search_form' (note the secdond underscore).
to fix this, you can edit edit two modules or replace the two modules with the files included with this post. to EDIT the modules edit the module '650_sub_templates.php' found in the 'montezuma/admin/options/' folder and change line 134 from HTML Code:
<code><?php get_searchform(); ?></code>. You can also create a new custom searchform template. See below on HTML Code:
<code><?php get_search_form(); ?></code>. You can also create a new custom search form template. See below on HTML Code:
<code><?php get_searchform(); ?></code> HTML Code:
<code><?php get_search_form(); ?></code> HTML Code:
'<?php get_searchform(); ?>' => 'Includes <code>searchform.php</code> sub template.', HTML Code:
'<?php get_search_form(); ?>' => 'Includes <code>searchform.php</code> sub template.', 1) download and unzip the following attachment 2) using FTP upload the file '650_sub_templates.php' to the 'montezuma/admin/options/' folder, replacing the existing file 3) using FTP upload the file 'get_whitelist.php' to the 'montezuma/includes/' folder replacing the existing file |
All times are GMT -6. The time now is 11:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.