Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    4
    I am using WebMerge 2.3
    My Filemaker Pro merge file contains either an image name or "" and all fields are surrounded in quotes.
    For example:
    ..., "line1","imagename.jpg"
    ...,"line2",""

    The second line has no image.
    My code in the template file is:
    [WM-If: Field: Image <> "" ]
    <img src="[FMP-field:Image]">
    [/WM-If]

    When there is no image for the record, the following code is generated
    <img src="images/"> which results in a broken image on the page.
    Please help!!

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by kmillar:
    I am using WebMerge 2.3
    My Filemaker Pro merge file contains either an image name or "" and all fields are surrounded in quotes.
    For example:
    ..., "line1","imagename.jpg"
    ...,"line2",""

    The second line has no image.
    My code in the template file is:
    [WM-If: Field: Image &lt;&gt; "" ]
    [img][FMP-field:Image][/img]
    [/WM-If]

    When there is no image for the record, the following code is generated
    [img]images/[/img] which results in a broken image on the page.
    Please help!!<HR></BLOCKQUOTE>

    Offhand your code looks good, so I'm wondering if what's happening is that WebMerge is not parsing the file correctly.

    Have you chosen the appropriate preset from the list on the Sources tab? Using those presets will set the delimiters appropriates most of the time.

    What program was the data exported from, and in what format? And what are your current delimiter settings?

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    4
    Sorry I forgot to post that I figured out what was happening.
    On the WebMerge Settings file, Generation tab, I had a path prepended to the field Image and that was causing it never to be empty.

    I don't think I need the prepended path so I have resolved my issue.

    Thanks!
    Karene

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by kmillar:
    Sorry I forgot to post that I figured out what was happening.
    On the WebMerge Settings file, Generation tab, I had a path prepended to the field Image and that was causing it never to be empty.

    I don't think I need the prepended path so I have resolved my issue.
    <HR></BLOCKQUOTE>

    Excellent -- thank you for posting the follow-up (it may sound silly, but I actually do lose sleep sometimes over customers issues until they're resolved).

    Keep me posted if you have any other questions -

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Can I have a blank?
    By Mack in forum PopShops
    Replies: 5
    Last Post: April 23rd, 2007, 09:10 PM
  2. about:blank
    By Catwoman in forum Suspicious Activity!
    Replies: 1
    Last Post: April 26th, 2006, 03:27 AM
  3. Can we test the linkshare setup at the Test server?
    By shaily in forum Rakuten LinkShare - LS
    Replies: 6
    Last Post: August 18th, 2005, 01:57 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
  •