Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart Dev/Coding CentralVirtueMart Dev/Coding Central (Moderators: Soeren, aravot, gregdev)How to put "Parameter search form" at the front page?
Pages: [1]   Go Down
Print
Author Topic: How to put "Parameter search form" at the front page?  (Read 1650 times)
tehribo
Newbie
*
Posts: 17


« on: April 17, 2011, 17:20:11 PM »

I want to take the "parameter search form" from Virtuemart module to the first page of my website.

Any idea how to do it?

Thanks

index.php?page=shop.parameter_search_form&product_type_id=4&option=com_virtuemart&Itemid=71
« Last Edit: April 17, 2011, 17:40:57 PM by tehribo » Logged
tehribo
Newbie
*
Posts: 17


« Reply #1 on: April 17, 2011, 17:39:39 PM »

OK, I found which is the file for it

/administrator/components/com_virtuemart/html/shop.parameter_search_form.php

Can anybody tell me how to put it at the frontpage, as a module?

Thanks!
Logged
avedis777
Newbie
*
Posts: 9


« Reply #2 on: April 17, 2011, 19:50:09 PM »

I would also like to know how to do this.

I am building a site for publishing company and I want to have the search by parameters form displayed in a module and do not want users to have to click Advanced Search, then Advanced Search by Parameters, then have to click a single form (there is only one: Books).

If there is a way to have this form for books displayed in a module I'd love to know how to do it, or if there is a module out there that will do this...so far I have not found any.

Thanks,
Luke
Logged
tehribo
Newbie
*
Posts: 17


« Reply #3 on: April 18, 2011, 01:36:11 AM »

I thought you all did not understand me, because of my bad english. That is why, I wrote so short posts.

But Mr. Luke understood me, that is exactly what I mean.
Logged
tehribo
Newbie
*
Posts: 17


« Reply #4 on: April 19, 2011, 03:59:54 AM »

Come on is it so dificult Sad
Can anybody help here?
Logged
avedis777
Newbie
*
Posts: 9


« Reply #5 on: April 20, 2011, 23:53:19 PM »

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. Sad
Logged
tehribo
Newbie
*
Posts: 17


« Reply #6 on: April 24, 2011, 14:36:10 PM »

Well, I still need this Sad
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
Logged
tehribo
Newbie
*
Posts: 17


« Reply #7 on: April 25, 2011, 01:35:45 AM »

here is the file if it can helps

* shop.parameter_search_form.zip (3.82 KB - downloaded 39 times.)
Logged
tehribo
Newbie
*
Posts: 17


« Reply #8 on: April 25, 2011, 03:31:59 AM »

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)  Cry
« Last Edit: April 25, 2011, 03:50:01 AM by tehribo » Logged
tehribo
Newbie
*
Posts: 17


« Reply #9 on: April 25, 2011, 03:51:18 AM »

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
Logged
tehribo
Newbie
*
Posts: 17


« Reply #10 on: April 25, 2011, 04:12:11 AM »

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)  Cry

I managed to correct this by adding target="_parent" to the <form> tag.
Logged
useris
Full Member
***
Posts: 145


« Reply #11 on: June 14, 2011, 12:49:19 PM »

Hi,

That link http://joomlacode.org/gf/project/kausproject/frs/?action=FrsReleaseView&release_id=8442 not active anymore. Do you remember plugin name?
One more thing. Do oyu know how to remove those dropdown boxes? I would like to type parameter in the search box and it will look thruogh all product type (not just selected once from dropdown list)


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)  Cry
Logged
Pages: [1]   Go Up
Print
Jump to: