Announcement

Collapse
No announcement yet.

[link]

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

    [link]

    Can someone please tell me where the [LINK] facility is based please for products because apart from not being able to find it and edit it, I want to copy it several times for downloadable links within my tabber sections

    I can obviously create 1 x [LINK] and copy it, but I can't edit the actual text or destination for the second [LINK]

    If that makes sense

    Thank you

    #2
    The [LINK] capability is intended for Product Descriptions only and is (I think) hard-coded into Catalog.exe, so not accessible to tweaking. And only intended for a single [LINK] per description.

    You can use embedded HTML within a product description to code your own links:
    Code:
    Blah blah !!<<a href="http://wherever">Click Me</a>>!! and more blah.
    You could use PHP to enable a similar capability the the [LINK] functionality. Consider having several new Variables Link2Text,Link2URL ,Link3Text,Link2URL. Then use PHP to scan the product description looking for [LINK2] and if found replace it with a hyperlink formed from variables Link2Text, Link2URL. Not trivial.

    If you use Tabber you'd have to put the code inside Tabbed Product Description, just after

    TBPRDSC;

    where you'd have a variable $desc containing the product description ready for your substitutions.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Norman, you and a few others on here are EXCELLENT

      I used this code which works - yet again, I try, but after several hrs I have to ask for the help

      Well done to you as always and thanks for helping me - AGAIN

      Blah blah !!<<a href="http://wherever">Click Me</a>>!! and more blah

      Comment

      Working...
      X