ElkArte Community

Title: Quicksearch in Portal is not working
Post by: Ruth on May 09, 2016, 02:58:57 am
Hello!

I am using SimplePortal 1.0.0 Beta 1

Not sure if it is a bug or if I have to add something to the sources?

The block with Quicksearch in Portal is not working.
 If you use it, it will bring you to an "empty part" of the index (Forum)
Title: Re: Quicksearch in Portal is not working
Post by: emanuele on May 09, 2016, 04:08:11 am
What do you mean with "empty part"?
A link for testing would be handy. :)
Title: Re: Quicksearch in Portal is not working
Post by: Ruth on May 09, 2016, 05:40:39 am
There are no search results, if I use the quicksearch. I will see the forum without any categories and boards in it. It is "empty".

I will send you a PM, Emanuele.
Title: Re: Quicksearch in Portal is not working
Post by: emanuele on May 09, 2016, 06:59:32 am
Is the normal search working?
Title: Re: Quicksearch in Portal is not working
Post by: Jorin on May 09, 2016, 07:15:20 am
Yep, working fine.
Title: Re: Quicksearch in Portal is not working
Post by: Ruth on May 09, 2016, 02:58:12 pm
If members are using the quicksearch in portal, nothing will happen, but if I try to use it, there is an error in the log.
The same error is shown in the log, if I create a new portal-block for the quicksearch or if I edit the permission-profiles in portal.

It says:

Quote...sources/admin/PortalAdminProfiles.controller.php
Line: 87

Maybe there is something missing in the sources?
Title: Re: Quicksearch in Portal is not working
Post by: Spuds on May 09, 2016, 09:56:25 pm
Try this ... In PortalBlocks.subs.php

Find
Code: [Select]
<form action="', $scripturl, '?action=search2" method="post" accept-charset="UTF-8">

Replace
Code: [Select]
<form action="', $scripturl, '?action=search;sa=results" method="post" accept-charset="UTF-8">
Title: Re: Quicksearch in Portal is not working
Post by: Ruth on May 10, 2016, 12:05:55 am
Thank you very much, Spuds. :)

The Quicksearch is working now.