Announcement

Collapse
No announcement yet.

Access a sections CUSTOMVAR from that sections parent?

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

    Access a sections CUSTOMVAR from that sections parent?

    I am in the middle of redesigning our website.

    I would like to be able to read/access a CUSTOMVAR belonging to a particular section from a parent section.

    After testing this it seems like this is not logistically possible due to the architecture of actinic.

    Can anyone confirm my hunch?

    Has anyone found a way around the problem?

    Thanks in advance, by the way what a great forum, just discovered it yesterday and I think it's fantastic.

    Cheers

    #2
    If I am not mistaken this has been resolved in the latest patch announced today.

    i.e. place information within custom properties of a section and all sections/pages beneath it should be able to make use of the information within the templates now......

    Or atleast that is how I understood the notes on the patches contents!

    Comment


      #3
      How about the other way around, i.e. can you read/access a sub-section's CUSTOMVAR from it's own parent section?

      Comment


        #4
        How about the other way around, i.e. can you read/access a sub-section's CUSTOMVAR from it's own parent section?

        This does not make any sense to me, but I can tell you how it does work now.

        Any custom property defined at the section level will be available to the HTML page that that section becomes, and will also be available to the link that goes into that section.

        Comment


          #5
          I think I am confusing people by having a rather disjointed grasp of coding/technical terminology.

          Apologies for this, believe me I paid the price for this when I picked up my results for my degree!

          Say you have the Section hierarchy below and a CUSTOMVAR (X):

          HOME
          |
          |------Section 1 (1.html) (X=sheep)
          | |
          | |-----------Section 1A (1A.html) (X=pigs)
          | |
          | |-----------Section 1B (1B.html) (X=cows)
          |
          |
          |-------Section 2

          On 1.html when the subsections for 1 are listed, I would like to reference the value of X for each of those subsections e.g.

          <1.html>

          <sectionline>
          Subsection 1A - I Love CUSTOMVAR:X
          Subsection 1B - I Love CUSTOMVAR:X
          </sectionline>

          </1.html>

          In my ideal world this would print out as

          Subsection 1A - I Love pigs
          Subsection 1B - I Love cows

          But in reality this prints out as

          Subsection 1A - I Love sheep
          Subsection 1A - I Love sheep

          Is there any way to get around this.

          I hope this makes it clearer

          Comment


            #6
            In my ideal world this would print out as

            Subsection 1A - I Love pigs
            Subsection 1B - I Love cows

            But in reality this prints out as

            Subsection 1A - I Love sheep
            Subsection 1A - I Love sheep

            Is there any way to get around this.

            I hope this makes it clearer


            If you actually meant....

            Subsection 1A - I Love sheep
            Subsection 1B - I Love sheep

            Then I can help you. Yes - 610 will allow you to do the first scenario.

            Comment


              #7
              Yes, I did mean:

              Subsection 1A - I Love sheep
              Subsection 1B - I Love sheep

              That is great, What is 610?

              Comment


                #8
                Actinic Catalog/Business/Developer Version 6.1.0
                Chris Brown

                Comment

                Working...
                X