Results 1 to 7 of 7
  1. #1
    Devil's Reject Electropulse's Avatar
    Join Date
    January 18th, 2005
    Posts
    987
    I've been playing with the trial version and I have this code:

    <pre class="ip-ubbcode-code-pre">&lt;a href="[WM-Field: PRODUCT_URL raw]"&gt;[WM-ImagePath:
    IMAGE_URL]&lt;/a&gt; </pre>

    why does it give me this:
    <pre class="ip-ubbcode-code-pre"> &lt;a href="" &gt;&lt;img src="http://www.merchant.com/images/picture.jpg" border="0"&gt;&lt;/a&gt;&lt;/a&gt; </pre>

    tia

    "If electricity comes from electrons, does morality come from morons?" -anon

  2. #2
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    When it gives you blanks, it's not finding the fields it's looking for. You have to name the fields in your template after whatever they're called in your datafeed so WM can match them up.

    HTH

    ~Revenue is King

  3. #3
    ABW Ambassador Mike O's Avatar
    Join Date
    January 18th, 2005
    Location
    Los Angeles area
    Posts
    843
    As to the rest of what WM generated:

    What works well for me is to just use [WM-Field: link_info_here raw] for most everything, with the details of the link code being in my templates.

    WM sometimes adds in code -- especially on an index page -- that surprises me. So I'm happier just "raw'ing" almost everything and handling the details myself.

    -- Mike

  4. #4
    ABW Ambassador Mike O's Avatar
    Join Date
    January 18th, 2005
    Location
    Los Angeles area
    Posts
    843
    P.S.:

    You might also try adding the "nolink" attribute (it can be combined with "raw" if desired), if your example code was being used in an index page template.

    I've gotten "doubled-up" link codes when I've forgotten to do that.

    -- Mike

  5. #5
    Devil's Reject Electropulse's Avatar
    Join Date
    January 18th, 2005
    Posts
    987
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Leader:
    When it gives you blanks, it's not finding the fields it's looking for. You have to name the fields in your template after whatever they're called in your datafeed so WM can match them up.

    HTH

    ~Revenue is King<HR></BLOCKQUOTE>

    the data feed that I'm using has the fields and the url, it works with a text link...but I just can't get it to work with an image.

    all I want to do is a clickable image.

    MikeO thanks for the tips, I've tried those and it still doesn't work.

    again, it works fine as a text link.

    "If electricity comes from electrons, does morality come from morons?" -anon

  6. #6
    Newbie
    Join Date
    January 18th, 2005
    Posts
    12
    This works for me
    &lt;a href="[WM-Field buy_url raw]"&gt;&lt;img src="[WM-Field image_url raw]"&gt;&lt;/a&gt;

    You may also want to put a &lt; before your image path tag and put the tag in quotes.

  7. #7
    Devil's Reject Electropulse's Avatar
    Join Date
    January 18th, 2005
    Posts
    987
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by mikeyd:
    This works for me
    &lt;a href="[WM-Field buy_url raw]"&gt;&lt;img src="[WM-Field image_url raw]"&gt;&lt;/a&gt;

    You may also want to put a &lt; before your image path tag and put the tag in quotes.<HR></BLOCKQUOTE>

    mikeyd, man thank you, thank you, thank you, that did it!!!...I just didn't see the possibilities.



    thank you.

    "If electricity comes from electrons, does morality come from morons?" -anon

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Operation Empty Promises
    By JoyUnltd in forum Midnight Cafe'
    Replies: 3
    Last Post: March 14th, 2011, 12:29 PM
  2. My IM list is EMPTY...that's a first!
    By UncleScooter in forum Events and Gatherings
    Replies: 3
    Last Post: January 19th, 2007, 04:57 PM
  3. Empty email
    By Haiko de Poel, Jr. in forum Midnight Cafe'
    Replies: 0
    Last Post: January 22nd, 2005, 11:33 PM
  4. Andys' forum is empty
    By charpaula in forum Midnight Cafe'
    Replies: 5
    Last Post: June 14th, 2004, 08:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •