Personal tools
You are here: Home Documentation How To's Search Customizations How to add left and right portlet columns on your search page

How to add left and right portlet columns on your search page

by Brian Ledwell last modified Dec 16, 2010 01:32 PM

Making sure the advanced search and search results page displays the left and right columns from your template.

Before After
 Before Modification







After Modification

You'll need to make sure that both the "search" and the "search results" page is customized in the "custom" folder. You'll also need to have "admin" privileges to your site. BTW I have no idea why this works it just does and is stupidly simple to do.

Add columns from template to "Search Results Template"

  • Login
  • Go to http://www.uwosh.edu/YourSite/manage
  • Navigate to portal_skins/plone_forms/search
  • Choose "customize" (this will place the "search results" page inside the "custom" folder
  • Remove the following lines from the top of the page
  •     <metal:block fill-slot="column_one_slot" />
        <metal:block fill-slot="column_two_slot" />  

    That should be it. 

    Add Columns From Template to "Search Template"

  • Login
  • Go to http://www.uwosh.edu/YourSite/manage
  • Navigate to portal_skins/plone_forms/search_form
  • Choose "customize" (this will place the "search results" page inside the "custom" folder
  • Remove the following lines from the top of the page
  •     <metal:block fill-slot="column_one_slot" />
        <metal:block fill-slot="column_two_slot" />  

    That should be it. 

    Modifications

    If your trying to create a completely separate search page to search for custom items in the index or something like that just change the name of the search and search results pages after you have them in the "custom folder" from "search_form" to "myCustomSearchPage_form" and call the new search page by using the following URL http://www.uwosh.edu/nameOfSite/myCustomSearchPage_form.

     

     

    Document Actions
    • Print this
    • Bookmarks