Page 1 of 1

show custom html

Posted: Wed Aug 28, 2013 12:29 pm
by mgqz

Hi, I build an advanced search in the list. I will like to add some html for instructions on how to use it and a link to a video / doc, is there a way to do it ?

Also how can I change appearance of search so search criteria parameters can be shown in 2 columns to save vertical space

regards

Xela


Re: show custom html

Posted: Wed Aug 28, 2013 12:43 pm
by mobhar

mgqz wrote:
Hi, I build an advanced search in the list. I will like to add some html for instructions
on how to use it and a link to a video / doc, is there a way to do it ?

Go to: "Server Events" -> "Table-Specific" -> "Search Page" -> "Page_DataRendering" server event, then simply insert your code into that function, for example:
$header = "This is the instruction for the search page ...";

Also how can I change appearance of search so search criteria parameters can be shown
in 2 columns to save vertical space

You have to customize the PHPMaker template by yourself, either "list-script-search.php" or "search-script.php" file, or... alternatively, you can also customize it by using "Custom Templates" under the "CustomTemplateSearch" section of PHPMaker. Read "Custom Templates" in the help file for further information.


Re: show custom html

Posted: Wed Aug 28, 2013 3:51 pm
by digitalphotoworld

Also how can I change appearance of search so search criteria parameters can be shown
in 2 columns to save vertical space

If you mean the advanced search (on list page) you could select the number of columns in table setup. There is a field called FIELDS PER ROW (EXTENDED) with default 0, change it to 2.