This topic is locked

Show All button reverts once a seach is performed

8/23/2010 5:25:01 PM
PHPRunner General questions
M
memoday author

Hi Alexey or admin whosoever,
I am trying to remove the Show All button because I have a huge list. I came across this thread

http://www.asprunner.com/forums/topic/4620-remove-show-all-button/pagefromsearch1
and I did remove it from the Visual Editor, but it shows up once a search is performed, i.e. it does not show up once the list page is viewed, but once I search for something and hit Enter, the Show All button shows up again. Any idea please?
thanks

Memoday

A
ann 8/24/2010

Memoday,
you'll also need to comment the following line in the generated \output\classes\searchpanel.php file:

$this->pageObj->xt->assign("searchform_showall", $this->searchClauseObj->isUsedSrch());
M
memoday author 8/24/2010

Hi Ann,
I did that and it still does the same. Any idea?
I commented out like this

//$this->pageObj->xt->assign("searchform_showall", $this->searchClauseObj->isUsedSrch());




Memoday,
you'll also need to comment the following line in the generated \output\classes\searchpanel.php file:

$this->pageObj->xt->assign("searchform_showall", $this->searchClauseObj->isUsedSrch());


Sergey Kornilov admin 8/24/2010

I recommend post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

A
ann 8/25/2010

Hi,
also make sure you've made changes after rebuilding the project.

All files in the \output directory are used to apply permanent changes, i.e. they would be changed after you've rebuild the project.