Topic Closed
rearea
18 Posts

Hie,

In gpeasy 2.3.2 the results of search with "simple search" plugin shows the PHP code wich is added in a new section of matching pages.

I ll look to fix that next days, if someone already fixed it, it could be great to tell how :)

 

10 years ago#2879

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Hi rearea, look at SimpleSearch.php file and add there this condition:

function SearchPage($pattern,$title,$index){

.........

        $content = '';
        foreach($file_sections as $section){
            if( isset($section['content']) && $section['type']!='exec_php' ){
                $content .= $section['content'].' ';
            }
        }
        $this->findString($content, $pattern, $title);
    }

have a nice day

Edited: 10 years ago#2881

Josh S.
2K Posts
304K Downloads
16 Themes
18 Plugins

I just updated the Simple Search plugin to include that bit of code.

Thanks Stano!

10 years ago#2886

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register