Announcement

Collapse
No announcement yet.

Custom code

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

    Custom code

    Hi

    I have just added a custom code slideshow for my home page., all is working well but now it shows up on all the pages of the website. I was editing the top most part of the content tree, the little yellow house and thought it would just put the slideshow there.

    It shows up also in the search, contact us, sitemap and terms and conditions....!!!

    How can I keep this code from showing in other sections and keep it dedicated to the home page only...?

    Any idees?

    Best wishes

    Bhu

    #2
    You need to place a 'block' around the code with a pagetype test.

    Comment


      #3
      Try using IsBrochureHomePage in the BlockIf. E.g.
      Code:
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e">
      	HOMEPAGEONLY
      </actinic:block>
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks every one your all great

        Comment

        Working...
        X