Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    August 28th, 2010
    Posts
    5
    Including WM Tags in text included with WM-Include Tag
    Good evening...

    Webmerge is proving an invaluable tool for me. However, I am having a problem using WM-Include, and I am wondering if I am trying to do something which is not possible.

    My template includes the tag [WM-Include: article.html]

    My article.html file includes the statement:
    We recommend [WM-Field:product_name] because...

    When I run webmerge I receive the error:
    Invald tag: WM-Field:product_name in Detail template

    Should this work, please? Webmerge seems to be trying to interpret it, but hitting some kind of error.

    Thanks...

    Mark
    Last edited by thetravelpage; August 28th, 2010 at 06:00 PM. Reason: Disabled Smilies

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    I think that should work, but since it's not let's see if the parser is just being picky - try putting a space between ":" and the field name:

    We recommend [WM-Field: product_name] because...

    Let me know if that doesn't solve it for you and we can explore this a bit further.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Newbie
    Join Date
    August 28th, 2010
    Posts
    5
    WM-Include Tag
    Hi Richard... You are right!

    Although the WM-Field tag does not normally care whether there is a space, when it is used in the included file it only works if the space is put in.

    Thanks for the advice.

    Mark

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by thetravelpage View Post
    Hi Richard... You are right!

    Although the WM-Field tag does not normally care whether there is a space, when it is used in the included file it only works if the space is put in.
    Thanks for the confirmation. I'll see if I can get that cleaned up in v2.7 so the behavior is the same regardless where the tag occurs.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Title Tag and Meta Tags
    By foxnick in forum GoldenCAN
    Replies: 1
    Last Post: August 13th, 2008, 07:57 PM
  2. Help With Include Tag
    By mintchap in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: September 14th, 2007, 06:26 PM
  3. Using the WM-Include tag
    By Tiebreaker in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: December 1st, 2003, 11:24 AM
  4. Can I put a fied tag in an include tag???
    By Doug247 in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: August 11th, 2003, 09:29 AM

Tags for this Thread

Posting Permissions

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