Results 1 to 3 of 3
  1. #1
    Newbie
    Join Date
    April 15th, 2005
    Posts
    4
    Question How to make product page names in index
    Hey there,

    Basically I want my index page to link to the individual detail pages I'm making.

    My detail page might have a filename like "red-blue-widget.html"

    How can I link to that automatically from the index page?

    The detail page is named according to settings in webmerge, i.e "Name based on content of field" - "Name"

    Is there a way I can just put in a variable into the index page like
    <a href="[WM-theappropriatename]">Red Blue Widget</a>

    Otherwise I have to go through and link each page myself, and with thousands of links that could get tedious

    I hope you understand what I'm trying to do.

    Any help is greatly appreciated!

  2. #2
    Newbie
    Join Date
    April 15th, 2005
    Posts
    4
    I'm a dope!

    I just realized Webmerge does exactly what I want to do - It's just that I wasn't building detail pages at the same time as the index pages.

    One more question though. How do I wrap a link around different anchor text, or an image for example?

    Example "[Wm-Field: name]" will make a link like <a href="red-blue.html">Red Blue</a>

    Now how would I replace "red blue" as the anchor text with something else, or an image?

  3. #3
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by mreider
    How do I wrap a link around different anchor text, or an image for example?

    Example "[Wm-Field: name]" will make a link like <a href="red-blue.html">Red Blue</a>

    Now how would I replace "red blue" as the anchor text with something else, or an image?
    Everything in HTML is just text, and WebMerge copies text from your database with the WM-Field tag.

    So this will do what you need:

    <a href="red-blue.html">[WM-Field: MyField]</a>

    If the tag is used in an index page you'll want to add the noLink attribute. See the WebMerge Help page on the WM-Field tag for details on that and other attributes.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Making an index page of index pages
    By Pierre (aka Terdef) in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: June 30th, 2005, 05:24 AM
  2. Make new Index page when
    By admad1 in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: February 21st, 2005, 01:20 AM
  3. how do I create a new index page for each product category?
    By pw3909 in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: May 2nd, 2004, 08:21 AM
  4. Short Product Description On Index Page
    By Tiebreaker in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: January 9th, 2004, 12:12 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
  •