This topic is locked

Adding Search to a page

5/9/2009 12:27:34 PM
PHPRunner General questions
M
mlapl1 author

Hello
I am experimenting with the Calendar Template.
I am interested in one view called: caldaily.
The view does not come with Search or Advanced Search pre-configured
So... I go to the Choose Fields Page and Select Search and Advanced Search
If I do this when building my own website, I expect that two things will happen:

  1. a low-level Search line will appear above my listing and
  2. An Advanced Search button will appear which will connect me to a search page.
    However, in the Calendar template, neither of these things happens.
    My question is a general one. How do I ADD one or both of these search functions to a page which does not have them or from which they have been deleted? Resetting the page does not help.
    I am using PHPRunner5.0
    Thank you

    Andrew

J
Jane 5/11/2009

Hi,
you need to edit files in the PHPRunner5.0/templates/calendar/source/templates directory.

For exampel open caldaily_list.htm file, find this line:

##if Fields[bAdvancedSearch=1].len && 1=0##



and replace it with this one:

##if Fields[bAdvancedSearch=1].len##