Announcement

Collapse
No announcement yet.

My CUSTOMVAR Link is not working ...

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

    My CUSTOMVAR Link is not working ...

    Hi,

    I want to have a CUSTOM image complete with text that Links to a page, so i created;

    CUSTOMVAR:AD1IMAGE > Text > path to my image.
    CUSTOMVAR:AD1TEXT > Text > "the text"
    CUSTOMVAR:AD1LINK > Text > path for the link.

    I modified my primary template as follows:
    HTML Code:
    <td><div align="center"><a href="CUSTOMVAR:AD1LINK"><img src="CUSTOMVAR:AD1IMAGE" border="0"></a></div></td>
    but this does not work or even show that a link exists, (looking at the status bar in browser when i roll-over the image or test).

    What am i doing wrong ?

    Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    What does the generated code show?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Just added the following :

      Code:
      <a href="CUSTOMVAR:LINK"><img src="CUSTOMVAR:IMAGE" border="0"></a>
      added the CMV to the list and against each property put

      link - http://www.site.com/index.htm - use as CMV ticked
      image - logo.gif - use as CMV and file name ticked

      the image is in the root of the site. It previewd OK and the link worked


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Working but to Root and not PreviewHTML ...

        Its working now but as you mention, relative to the root.

        But, how do i test the link if all my pages are in PreviewHTML, but the link is to the root ?

        Simon.
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment


          #5
          You will either have to add the full URL ie http://www.etc or trust in your coding

          If your site is live try publishing just the one product with the new CMV and check the links are working


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Ok ....

            The links are to Sections within the site.
            Perhaps there is a better way of doing this ? (I know about Fragments).

            So I'll initially enter \PreviewHTML\thepage.html into the Value section of the properties tab and modify it just before release.

            Cheers, Simon.
            esafetysigns.co.uk
            your instant download portal for self printable health and safety signs and posters
            ... download once use as many times as you like !


            http://www.esafetysigns.co.uk/index.html
            http://www.esafetysigns.co.uk/acatalog/index.html

            Comment


              #7
              If you have a lot of these CMV's then export the file to excel and remove or concatanate the links accordingly - save you a lot of time and you won't miss any


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Got to fly ....

                Got to go out but would like to know more about the linking to a spreadsheet and importing the data.

                Is there any decent literature around, or can you summise it ?

                Cheers, Simon.
                esafetysigns.co.uk
                your instant download portal for self printable health and safety signs and posters
                ... download once use as many times as you like !


                http://www.esafetysigns.co.uk/index.html
                http://www.esafetysigns.co.uk/acatalog/index.html

                Comment

                Working...
                X