Announcement

Collapse
No announcement yet.

Help required using conditions on search results page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help required using conditions on search results page

    Hi - just started to use v8.

    My main layout is also used for the search results page.

    When it is used to display the search results I want to be able to display some additional information.

    Is there a condition available to check if a page is displaying search results?
    Regards
    David

    #2
    David,

    Yes there is:-

    <actinic:variable name="PageType" /> == 'Search Results'

    Hope that helps
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      Thanks Dave - that will help me in a few other areas as well.
      Regards
      David

      Comment


        #4
        One of the most useful features of v8. My layouts are now covered in lots of if pagetype statements!
        Cheers

        David
        Located in Edinburgh UK

        http://twitter.com/mcfinster

        Comment

        Working...
        X