1
hi'
I have some difficulties (that's an euphemism) with Oledrion search form. I would like to customize it, and actually it works fine :
However to obtain this result I have to modify a Xoops class (I think it is the right word), into : www/class/xoopsform/themeform.php.
Why ? Because my original form is made with this 'class'. Here it is the only information that I have in module template about this form (oledrion_search.html) :
<{$breadcrumb}>
<br />
<{if $global_advert != ''}>
<div align='center'><{$global_advert}>div>
<br />
<{/if}>
<{if $search_results}>
<h2><{$smarty.const._OLEDRION_SEARCHRESULTS}>h2>
<br />
<{foreach item=product from=$products}>
<img src='<{$smarty.const.OLEDRION_IMAGES_URL}>product.png' alt='' border='0' /> <b><a href="<{$product.link}>" title="<{$product.href_title}>"><{$product.title}>a>b><br />
<{/foreach}>
<{if $pagenav !=''}><div style="text-align: right; margin: 10px;"><{$pagenav}>div><{/if}>
<br />
<{/if}>
<{$search_form}>
To recap : to modify <{$search_form}> I have to modify themeform.php file.
But if I do that, ALL my forms in Xoops administration are destroyed. This is a screenshot of System preferences :
I don't know how to create a specific template for Oledrion search engine, I mean how to customize <{$search_form}> without destroy all xoops forms
Some help / advice would be very welcome :) !
Still learning CSS and... english