Announcement

Collapse
No announcement yet.

Section Image on subsection page

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

    Section Image on subsection page

    I'm trying to create a design for a customer which auto displays a section icon on a relevent subsection page

    eg

    Section 1
    -- subsection 1a
    -- subsection 1b

    Section 2
    -- subsection 2a
    -- subsection 2b

    normally actinic generates all the primary section images to put onto the '/acatalog' page

    What I want to do is place a NQV (if poss) on subsection 1a and 2a and so on that will call the section image that is relevent for Primary Section 1 or 2 etc (it doesn't have to link to anything - it's just a reminder of the brand that they've drilled down into)

    If anyone has any suggestions on how to do this that would be great!

    Cheers

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    Jos

    You can use a customvar to put the image in the section.

    Create CUSTOMVAR:MYSECTIONIMAGE set this in the section properties and add the CUSTOMVAR to your primary template
    Owner of a broken heart

    Comment


      #3
      Gary

      I thought that might be the case

      I'll try it out and if I run into problems, I'll let you know!

      Cheers

      Jos
      Thanks

      Jos Medinger

      Tel : 01978 843 962
      www.internetology.co.uk
      Actinic / E-Commerce Hosting, Design & SEO
      ______________________________________

      Comment


        #4
        Hi Gary

        I've coded it in where I want however I'm getting an error that I'm not sure what to do with.

        In the section 'Properties' settings I've specified the new CUSTOMVAR and told it that it's a file and to use the file contents - and what ends up filling the space when viewed is 'GIF89ad'

        Now I'm assuming that this means that

        1) the CUSTOMVAR is correct as it is outputting a value (If I leave it as just text - that gets included fine)

        2) Actinic isn't reading the image call correctly - atm I've simply put the name of the image into the Properties' Value (I'm sure I shouldn't have to put the HTML in there - eg. <img src=".... etc)

        If you can offer any further tips?

        Jos
        Thanks

        Jos Medinger

        Tel : 01978 843 962
        www.internetology.co.uk
        Actinic / E-Commerce Hosting, Design & SEO
        ______________________________________

        Comment


          #5
          you need

          <IMG SRC="CUSTOMVAR:customvarname">

          within the template to display the image

          Comment


            #6
            Jo

            That's the puppy!

            Got it sorted now

            Many Thanks

            Jos
            Thanks

            Jos Medinger

            Tel : 01978 843 962
            www.internetology.co.uk
            Actinic / E-Commerce Hosting, Design & SEO
            ______________________________________

            Comment

            Working...
            X