Announcement

Collapse
No announcement yet.

section template and customvars

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

    section template and customvars

    Hi,
    I was having a problem last week with alt tags repeating through the sub sections on actinic 7. Got that resolved thanks to Norman and I wonder if this problem is similar.

    I want to have a html file on a section of the site, I don't want the html file to appear ont he sub sections page with this section. SO I created a customvar:sectiontext, made it a file and put it in the properties of the top section Gifts. No problem that works, see it here:
    http://www.picnic.ie/acatalog/Remembrance_Gifts.html

    However it also comes up the subsections of gifts, the Frames and Scrolls pages.
    http://www.picnic.ie/acatalog/Celtic_Framed_Prints.html

    The candles does not have subsections. I don't have the custom var in the properties on these subsections but it still brings in the information form the top level. Is it a bug in the programme?
    Regards,
    Breda

    #2
    What are we looking for?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      seaction templates

      Hi Bill,
      I have a customvar on this page:
      http://www.picnic.ie/acatalog/Remembrance_Gifts.html
      bringing up the text:
      Reproductions of Hand-Crafted Masterpieces by Artist Kevin Dillon etc and the image beside it.

      On the sub sections on Frames and Scrolls they too show this text and image even though I don't have it set as a customvar in their properties.
      Regards,
      Breda

      Comment


        #4
        Sounds as though you are falling victim to Customvar inheritance. One way to block this would be to add the Cutomvar to the section where you DO NOT want it and asign a blank value.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          only assign a value to the customvar at the bottom most level, that way there will be no inheritance issue

          Comment


            #6
            section template

            Hi,
            I created a blank.html page and it worked great.
            thanks,
            Breda

            Comment

            Working...
            X