Results 1 to 4 of 4
  1. #1
    Full Member tmd5's Avatar
    Join Date
    January 18th, 2005
    Posts
    379
    Question Need help with links please
    Links appear on the detail pages messed up. What am I doing wrong?

    I have a column in the database/spreadsheet thus:

    LINKS
    http://www.website-name.com/Widgets.html
    http://www.website-name.com/Widgets2.html
    http://www.website-name.com/Widgets3.html

    Code inserted in the detail template:

    <b>Internal Links</b>:&nbsp;
    <a href="[WM-Field: LINKS]">[WM-Field: KEYWORD]</a>&nbsp;&nbsp;

    Resulting page looks like this:

    http://www.website-name.com/Widgets.html">Widgets

    instead of showing widgets underlined as a link.

    Would be grateful for advice. I've searched the help files and documentation but can't find what I need. Its probably something very simple but I just can't see it.
    Eat Less. Move More. :cool:

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by tmd5
    Code inserted in the detail template:

    <b>Internal Links</b>:&nbsp;
    <a href="[WM-Field: LINKS]">[WM-Field: KEYWORD]</a>&nbsp;&nbsp;

    Resulting page looks like this:

    http://www.website-name.com/Widgets.html">Widgets

    instead of showing widgets underlined as a link.
    I think you just need to add "raw" and "nolink" attributes to your tag -- from the WebMerge Help page on the WM-Field tag:

    -----------------------------

    Using the raw attribute
    By default, WebMerge converts field data to HTML. The conversion changes all non-ASCII characters to their corresponding character entity according to the ISO 8859-1 standard. For example, the character "<" becomes "&lt;". This attribute is useful if your database contains some fields whose data is already in HTML format, to prevent WebMerge from altering it for Web display. If your field already contains HTML, you can tell WebMerge not to perform this conversion by using the raw attribute.

    Using the nolink attribute
    When used in an index template, by default WebMerge generates all WM-Field tags as links to the corresponding detail page. The optional nolink attribute is used in index pages to tell WebMerge to write the tag without linking it to that detail page. If used in a detail page template, the nolink attribute is ignored.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Full Member tmd5's Avatar
    Join Date
    January 18th, 2005
    Posts
    379
    Thank you so much Richard. That was the last piece of the jigsaw I've been wrestling with for the past six hours.
    Eat Less. Move More. :cool:

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by tmd5
    Thank you so much Richard. That was the last piece of the jigsaw I've been wrestling with for the past six hours.
    Never struggle that hard. When something doesn't work right off, just double-check the reference for the tag used in the portion of your template that isn't working, and 99% of the time you'll have your answer.
    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. the banner links and text links cannot be sorted properly by date
    By Vrindavan in forum Rakuten LinkShare - LS
    Replies: 0
    Last Post: October 1st, 2008, 08:59 PM
  2. Index page: insert a title above groups of links links
    By norbert in forum Midnight Cafe'
    Replies: 0
    Last Post: August 31st, 2008, 08:36 AM
  3. Replies: 5
    Last Post: May 1st, 2006, 12:35 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
  •