Announcement

Collapse
No announcement yet.

Home Page Only Links

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

    Home Page Only Links

    Hi

    I am trying to place a couple of links on my home page and onlly want them to appear on my home page (not every page). Is there a way to do this please?

    You can see the links I am trying to place here underneath my section list

    http://www.natco-online.com

    Thanks in advance.

    #2
    You can wrap the links in a block if eg:

    1. highlight the existing link code in design tab mode
    2. click the green "block" icon
    3. in the condition window enter SectionLevel == 0

    Section Level 0 is the homepage

    Jont


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Sounds simple jont, but where do I find the "condition window"?

      Comment


        #4
        When you switch to the design tab you will see above the code window a row of coloured icons .... the green button is the block condition ... click this and then enter SectionLevel == 0 into the window that pops up... when you close this window the code will be wrapped between block if .... /block


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Done that but the links still all appear on the product pages as well (at least in preview),

          The code looks like this now

          <actinic:block if="SectionLevel%20%3d%3d%200">
          <br><br><br><br><center><p>

          <B>Recommended by:</B>
          <br><br>

          <IMG SRC="acatalog/WomanHome.jpg"<http://acatalog/WomanHome.jpg> <ALT="The best place to shop for lovers of Indian food, spices and lentils." BORDER=0 HEIGHT=50 WIDTH=118>
          <br>

          <span class="actxxsmall"><small><b>"The best place to shop for<br>lovers of Indian food,<br>spices and lentils"<br></small></B></span>
          <br><br>

          <IMG SRC="acatalog/SundayTimes.jpg"<http://acatalog/SundayTimes.jpg> <ALT="Sunday Times" BORDER=0 HEIGHT=29 WIDTH=180><br>

          <span class="actxxsmall"><small><B>The Sunday Times - TWICE!!</small><br>
          <small><A HREF="http://women.timesonline.co.uk/article/0,,18030-1889934,00.html"><small>Black Cumin for migraine.</small></A>
          <br>
          <small><A HREF="http://women.timesonline.co.uk/article/0,,18030-1899422,00.html"><small>Star Anise for Bird Flu.</small></A></B></span>
          <br><br><br><br>
          </actinic:block>

          What have I done wrong?

          Comment


            #6
            <actinic:variable name="SectionLevel" /> == 0 works as the condition for me

            you can also use :

            <actinic:variable name="IsBrochureHomePage" /> to the same effect


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Originally posted by spiceboy
              <actinic:block if="SectionLevel%20%3d%3d%200">

              What have I done wrong?
              You are missing the actinic:variable in your code....

              When you hit the green icon in the pop up start typing "SectionLevel" and the inline complete will pop up with the list of matching layouts ... select the SectionLevel option from the list ... this will insert into the pop up window with a blue colour.

              HTH


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by spiceboy
                <actinic:block if="SectionLevel%20%3d%3d%200">
                <actinic:variable name="SectionLevel" /> == 0

                The above works fine on mine. You can also do a brochure test to see if brochure page if you wanted to.

                Comment


                  #9
                  Hi Lee/Jont, thanks for your help.

                  When I tried "==0" it worked but only deleted the block from the Catalog pages, the links etc still appeared on all the Brochure pages. When I tried "IsBrochureHomePage" this worked, text and links now only appear on the home page.

                  I now have an irritating ">" appearing on pages where the liks were so once I've found out where thats coming from all should be OK.


                  Thanks again.

                  Comment

                  Working...
                  X