Announcement

Collapse
No announcement yet.

Variables in section descriptions

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

    Variables in section descriptions

    I've got a few variables in brochure fragment texts. I can't seem to get them working in
    a. section descriptions
    b. the terms and conditions text.

    Is it also possible to either of these?

    #2
    Hi,

    Are they custom variables? If so then you need to make sure that you have the 'Place of setting' set for the correct place.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      No, they're the standard Phone and Address fields from the Business Settings. I'm really just trying to do reduce the number of places that I can make typos on things, so that for example, all the phone numbers displayed on the site are driven from the company contact details.

      Comment


        #4
        You can embed these fields in Fragments and Products like this:

        Code:
        !!<[Phone]>!!
        Substituting "Phone" for which ever Variable you'd like to use.

        For use in your Ts&Cs you just need [Phone], which should be a default set up in your Business Settings | Terms and Conditions | About Us.

        but this doesn't work for sections...

        Army Gore-tex
        Winter Climbing Mitts
        webD's Blog: Website design, SEO and other ramblings…
        Twitter LinkedIN

        If you think a post is good, rate it!

        Find the answers in the Knowledge Base | Have you read the User Guides

        Comment


          #5
          Hi,

          The following should work in the Terms & Conditions (Settings | Business Settings | Terms & Conditions):

          [COMPANYNAME]
          [ADDRESSLINE1] [ADDRESSLINE2] [ADDRESSLINE3] [ADDRESSLINE4] [POSTCODE] [COUNTRY]
          [PHONE]

          To add them to sections you will have to add the relevant variables to the section layout as the above won't work in the description fields:

          <actinic:variable name="CompanyName" />
          <actinic:variable name="Address1" />
          <actinic:variable name="Address2" />
          <actinic:variable name="Address3" />
          <actinic:variable name="Address4" />
          <actinic:variable name="Phone" />

          I hope that helps.
          ********************
          Tracey
          SellerDeck

          Comment


            #6
            Oh, it most certainly does help. Thank you. I didn't think to try upper case in the T&Cs.

            I've given up on fragments and am currently bunging content into the section layout. We've got a lot of boilerplate content to go in so it's just easier, more flexible and more reliable.

            Comment

            Working...
            X