Quote:
/*
HtmlVals() has all the href-locations, input names, form names, etc. i'm not hard-coding them because the designers (who don't know much about using "extended" urls like ?op=search and forms) will be editing my templates and i don't want any typos
*/
$xoopsTpl->assign_by_ref('html',new HtmlVals());
an example of it in use (flexsearch_search.html. grrrr why is [ code ] <br />'ing things with quotes? n/m. i'll use [ quote ] instead. weird)
Quote:
<form method="<{$html->FM_SEARCH()}>" name="<{$html->FN_SEARCH()}>" action="<{$html->FA_SEARCH()}>">
<{html_options options=$categories selected=$cat_sel}>
</form>
The error is
Quote:
<form name="
Fatal error: Call to a member function on a non-object in d:\domains\mycft.org\public_html\templates_c\db%3Aflexsearch_search.html on line 4
it shows that script error then installation just dies. the only way to "fix" it from that point is to re-install with the comment/uncomment workaround or use skalpa's "if" check. updating the module fixes the template problem but the admin-bar icon never gets set.
is there a reason it does the initial compile during installation, yet it does not if updated?
fwiw, my system is winxp pro w/ all critical patches, apache 1.3x, MySQL 4.0.17-nt, PHP 4.3.2. (i work on the site locally then upload it to a linux webhost)
Hey messju! (If you're messju from smarty.php.net forums ). Either way, welcome abord