Initial Search Screen

4 years 6 months ago - 4 years 6 months ago #1 by Jerry Mahun
About nine months ago I asked a question about the initial results screen ( www.function90.com/support/joom-profile-...-initial-search.html ).
I said that when a user selected to search, all the members in our site were displayed before any search criteria were specified. I'd asked if there was a way to prevent the initial list and allow the user to specify search criteria first. You replied I could do it with a template override adding the following code in the copy of site.profile.search.result.php file:
<?php if(empty($data->searchConditions)):?>
	Your Message
	<?php return '';?>
<?php endif;?>

The code I inserted was
<?php if(empty($data->searchConditions)):?>
   <h4><?php echo JText::_('FIND A SURVEYOR');?></h4>
   <h5><?php echo JText::_('Start by selecting attributes from the left column.');?></h5>
   <h5><?php echo JText::_('Multiple selections are allowed.');?></h5>	
   <?php return '';?>
<?php endif;?>

As instructed, I added it right after
defined('_JEXEC') or die;
?>

I didn't realize it until just now, but while it appears to work correctly the user can only see part of the list meeting the search criteria. The initial screen appears blank, as desired. The user specifies some search criteria and a member list is shown. Clicking the "Load more results..." button doesn't show more results. Instead, it repeats my message at the bottom of the list and the button disappears. I know there are more results that are not shown because if I reorder the list, I get different member names.

How can I resolve this issue?
The topic has been locked.
4 years 6 months ago #2 by Function90
Hello Jerry,

Sorry for inconvenience caused to you.
Can you please enable error reporting to maximum on your site and look into error console of browser after clicking on load more button. Please send me the error which you get or email us the website link at This email address is being protected from spambots. You need JavaScript enabled to view it. , so that we can check the issue.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #3 by Jerry Mahun
Will do as soon as I get some time later today.
The topic has been locked.
4 years 6 months ago #4 by Jerry Mahun
No errors listed in the Error Console. I set Error Reporting to Maximum, Clicked "Load more results..." and got the same as before with no errors reported in the Error Console.
The topic has been locked.
4 years 6 months ago #5 by Function90
Can you send your website link at This email address is being protected from spambots. You need JavaScript enabled to view it., so that we can look into this.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #6 by Jerry Mahun
I sent the link a few days ago. Have you had opportunity to look into it?
The topic has been locked.
4 years 6 months ago #7 by Function90
I am so sorry, Jerry.

You mail was in Spam, so was not able to check it.
Will check it today.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #8 by Function90
Hello Jerry,

Can you change the code in override to below code
<?php if(empty($data->searchConditions) && ( !isset($data->page) || $data->page <= 1) ):?>
   <h4><?php echo JText::_('FIND A SURVEYOR');?></h4>
   <h5><?php echo JText::_('Start by selecting attributes from the left column.');?></h5>
   <h5><?php echo JText::_('Multiple selections are allowed.');?></h5>	
   <?php return '';?>
<?php endif;?>

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #9 by Jerry Mahun
I will give it a try and let you know what happens.
JM
The topic has been locked.
4 years 6 months ago #10 by Jerry Mahun
I put in the code snippet but still get the same results as before.
The topic has been locked.
4 years 6 months ago #11 by Function90
Hello Jerry,

It seems we need to fix it in our core code.
We will give an option in configuration of JoomProfile in couple of days.
Please wait till then.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #12 by Jerry Mahun
Thanks. I'll wait to hear from you.
JM
The topic has been locked.
4 years 6 months ago #13 by Function90
Hello Jerry,
W have sent you a kit on your email, please check and let me know, if it works for you.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
4 years 6 months ago #14 by Jerry Mahun
Works great! Thanks!
Jerry M
The topic has been locked.
4 years 6 months ago #15 by Function90
Thank You Jerry.
We are closing this thread, if you find any other issue, please feel free to open new thread.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
Powered by Kunena Forum
Cron Job Starts