Announcement

Collapse
No announcement yet.

pdf button

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

    pdf button

    Hi,

    I would like to create a button for the pdf facility on the catalog, similar for "more info" button, rather than a text link. But can't see where/how this is done.

    If someone could let me know what page needs to be altered that would be great. The button is to be used throughout the catalog.

    Cheers...

    Paul

    #2
    I think you're saying you want a link to a single PDF document on every page.

    You would do this by editing Act_Primary.html and putting your HTML wherever it makes sense.

    If you don't want to fiddle with templates then Actinic supplies a page header / footer that you can embed HTML in. Go to Design / Options / Shop Defaults / Page Header / Footer. To put HTML in there you need to surround it with !!< and >!!. E.g.

    !!<<a href=myinfo.pdf>Click here for our PDF</a>>!!

    You may need to upload that file via Advanced / Additional files.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman,

      Many thanks for your reply.

      Actually I want each product to link to it's own pdf. But the default of the catalog is to create a text link on the product pages. I would like to use an image instead that will link to each of the products. Exactly the same as the extended info facility.

      Would that still be the same pages you have suggested?

      Paul

      Comment


        #4
        Hi Paul,

        If you want the information link text to be an image please edit the Act_Productline.html and change the following

        Code:
        NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
        to

        Code:
        NETQUOTEVAR:PRODUCTBEGINLINK <img scr="image.gif><!-- NETQUOTEVAR:PRODUCTLINKTEXT--> NETQUOTEVAR:PRODUCTENDLINK
        This should work

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Or via embedded text in the product description
          Code:
          !!<<a href="javascript:ShowPopUp('mydoc.pdf',500,600)"><img src="myimage.gif"></a>>!!
          If you're going to do this a lot then the best way would be to create a Custom Property called PDFINFO and add the following to the Product Template
          Code:
          <script language=JavaScript>
          <!--
          if ( 'CUSTOMVAR:PDFINFO' ) document.write('<a href="javascript:ShowPopUp(\'CUSTOMVAR:PDFINFO\',400,500)"><img src="myimage.gif"></a>');
          //-->
          </script>
          Now whenever you put a pdf filename into PDFINFO the popup link will be automatically generated. You should also check the File Name in the Custom Property and Actinic will upload it for you.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X