June 18, 2013, 07:21:15 PM

Login with username, password and session length

FORUM POSTING GUIDELINES - Please read and follow them.

Pages: [1]
  Print  
Author Topic: In the advance search module the child field does not appear  (Read 125 times)
Blink
Sr. Member
****
Offline Offline

Posts: 150


« on: August 06, 2012, 10:40:39 AM »

Hi,

On my site I have a currency field group that are controlled by the country field group.

All works fine on the listings side (correct currency is being displayed for the correct country)

My problems is in the advance search module.

I can't get the currency field to appear when the country is selected.

Here is the code I'm using in the ../Mytheme/modules/advanced_search.thtml file:
Code:
<div class="jr_fieldDiv">
<?php __t("Where will you look?");?>
        </div>
        <div class="jr_fieldDiv">
     {jr_country}
</div>
        
        <div class="jr_fieldDiv jr_hidden">
        <?php __t("How much do you plan to spend?");?>  
     {jr_pricexcd}
</div>


The structure of the fields and field groups are:

Field Group: location -> Field name: jr_country

Field Group: Pricexcd -> Field name: jr_pricexcd

I have tried to move the field jr_pricexcd to the same group as jr_country and have the

jr_country field control jr_pricexcd field but that still does not work.

I think the problem might be that the field type for jr_pricexcd is an integer but that's just a guess.

Can you tell me what I am doing wrong.

Thanks in advance




« Last Edit: August 06, 2012, 10:58:07 AM by Blink » Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28627


« Reply #1 on: August 06, 2012, 02:34:39 PM »

What about the adv. search page, does it work there?
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Blink
Sr. Member
****
Offline Offline

Posts: 150


« Reply #2 on: August 06, 2012, 03:06:46 PM »

Unfortunately it does not.

I have played with ones that work like jr_country, jr_city or jr_make, jr_model and they work as long as they are in the same group. If I use an integer field or a date field it works on the listings side but not the advanced module.



Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28627


« Reply #3 on: August 06, 2012, 03:47:50 PM »

Please submit a ticket so I can check the setup and try to replicate on my end. I may not have an immediate fix for this potential bug though so please keep that in mind when submitting the ticket. Complicated bugs get added to out bug tracker to be resolved in future updates.
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Blink
Sr. Member
****
Offline Offline

Posts: 150


« Reply #4 on: August 06, 2012, 04:36:32 PM »

OK,

 Thanks a lot Alejandro
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!