How to put "Parameter search form" at the front page?
avedis777:
It seems like this would be a common enough request that there would be a solution...perhaps when I morph into a ninja coder I can create a module that will do this, but I just don't know enough about it. I think I will have to stick with the plain search box for now. :(
tehribo:
Well, I still need this :(
I found which file do the form, it is this:
administrator\components\com_virtuemart\html\shop.parameter_search_form.php
So is not there someone good man, to tell me how to put this as a module on first page.
Thanks
tehribo:
here is the file if it can helps
tehribo:
Ok, friends I have a little progress with this, thanks to this plugin
http://joomlacode.org/gf/project/kausproject/frs/?action=FrsReleaseView&release_id=8442
I found that if I want to call only that page, without modules and etc., I have to add &tmpl=component
Then I created a menu item (wrapper) with this link
/index.php?page=shop.parameter_search_form&product_type_id=4&option=com_virtuemart&tmpl=component
Everything looks fine, but when I did the search, the whole site appeared in the wrapper... (wrapper in wrapper) :'(
tehribo:
btw there is one comment in the shop.parameter_search_form.php
/********************************************************
** BrowsePage - You can use your tepmlate for searching:
** 1) write file with html table (without tags <table> and </table>) and
** take its name into variable browsepage in Product Type
** 2) You can use this page from tag <!-- Default list of parameters - BEGIN --> to
** tag <!-- Default list of parameters - END --> and changed it.
** 3) tag {product_type_<product_type_id>_<parameter_name>} will be replaced input field, or select field
** tag {product_type_<product_type_id>_<parameter_name>_comp} will be replaced comparison
** for this parameter. It is important for correct SQL question.
** tag {product_type_<product_type_id>_<parameter_name>_value} will be replaced value for this
** parameter (when you click on button "Change Parametes" in Browse page).
********************************************************/
But it is difficult to understand for me? Help please
Navigation
[0] Message Index
[#] Next page
[*] Previous page