Knowledgebase
View categorized listing of all common frequently asked questions.
Documentation
Overview, installation & setup, template customization.
Video Tutorials
Walk through on how to setup jReviews
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
CSV Import for Joomla and jReviews
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 11, 2008, 11:37:44 AM
20032 Posts in 4557 Topics by 2711 Members
Latest Member: nautica2008
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 1.x - jReviews Modules and Hook Components  |  Modules & bots  |  Advanced Search Module out for testing « previous next »
Pages: [1] 2 3
Author Topic: Advanced Search Module out for testing  (Read 7658 times)
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« on: April 25, 2007, 12:06:29 AM »

I put this together relatively quick so I am sure it's not perfect. Let me know if you find any problems with it. The module is quite flexible and allows you to create custom search forms using the fields you want.

Module output looks like the attached image. (Thanks holahola)

Updated file - April 25
- Added better support for numeric and date fields
- Search values now also retained in text fields
- Textarea,code fields automatically converted to text fields

Updated file - April 25 - 2
- Fixed template suffix not being recognized
- Fixed itemid hidden field for Itemid hack to xajax file

Updated file - April 25 - 3
- Added keywords text field to default template. Of course it can be removed if not necessary.
« Last Edit: April 26, 2007, 11:37:34 AM by Alejandro » Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #1 on: April 25, 2007, 04:54:42 PM »

Haha, I'm so happy with this module! Haven't test through every part of it but so far it is really good and suit exactly my needs. Man, like you said, a very powerful module Cheesy!

Anyway, 2 bugs. Or maybe u can test it again to confirm if it is a bug. The template suffix parameter is not working. I added a "_places" suffix but its still using the default template. And the Itemid is not retained. "Itemid="
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« Reply #2 on: April 25, 2007, 05:51:46 PM »

Glad you liked it Smiley I uploaded a new version to fix the problems you found.
Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #3 on: April 25, 2007, 06:00:22 PM »

Haha you are fast! The templates suffix issue has been solved, but the null Itemid issue still remains. Any idea? Smiley
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« Reply #4 on: April 25, 2007, 06:02:44 PM »

You have to use the new template in the zip or update the itemid hidden field.
Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #5 on: April 25, 2007, 06:07:59 PM »

Oh.. Ya. Thx for that!
Logged
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #6 on: April 25, 2007, 06:20:16 PM »

Seems quite stable now although haven't test with all types of fields Smiley. I think can make announcement for it so other users can benefits! Anyway is it possible to integrate jreviews search module with it? Means that works as a keyword filter field, on top of those other list and text field.
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« Reply #7 on: April 25, 2007, 09:56:20 PM »

I have added the keywords text field as well. Remember you have to use the new template because the field is in it. Replace all module files if you downloaded a previous version.
Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #8 on: April 26, 2007, 11:05:06 AM »

Can't thank you enough!
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« Reply #9 on: April 26, 2007, 11:12:08 AM »

It would be great if you can post a picture/s of the module output so other's can have an idea of what the module does. Thanks!
Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #10 on: April 26, 2007, 11:32:29 AM »

To every1, I would say this is a must have module! It is also really easy to customize to fit your needs, just read the instructions. A simple sample looks like this.



Enjoy this great module!
« Last Edit: April 26, 2007, 11:36:43 AM by holahola84 » Logged
Technivore
Newbie
*
Offline Offline

Posts: 5


WWW
« Reply #11 on: May 02, 2007, 07:31:42 AM »

The module is working very well. I have only one problem : I can't display two occurences of the module in the same page (with different templates and criterias).

Code:
Fatal error: Cannot redeclare modsearchadv_extractvars()
(previously declared in /home/www/xxx/xxx/xxx/modules/mod_jreviews_advsearch.php:14)
 in /home/www/xxx/xxx/xxx/modules/mod_jreviews_advsearch.php on line 14
« Last Edit: May 02, 2007, 07:40:12 AM by Technivore » Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 7962


« Reply #12 on: May 02, 2007, 08:37:31 AM »

I small error on my part. Open the mod_jreviews_advsearch.php file and at the top, change:

Code:
if (!file_exists("modSearchAdv_extractVars")) {

with:

Code:
if (!function_exists("modSearchAdv_extractVars")) {
Logged

Please take the time to vote and to write a review:
 http://extensions.joomla.org
Technivore
Newbie
*
Offline Offline

Posts: 5


WWW
« Reply #13 on: May 02, 2007, 10:03:56 AM »

It's working now. Thank you.
Logged
holahola84
Sr. Member
****
Offline Offline

Posts: 177


« Reply #14 on: May 02, 2007, 12:43:50 PM »

Hi, I realize that unlike the default search field, the keywords field doesn't search through all custom fields. Is it possible to make it search through all custom fields?
Logged
Pages: [1] 2 3
« previous next »
    Jump to: