Results 1 to 7 of 7
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Location
    Minnesota
    Posts
    26
    Frank's Tutorial - Navigation Problem?
    Hello...

    Just purchased WM after playing with the demo awhile and I have a question about navigation.

    While reviewing Frank's tutorial about 4-tier sites, I noticed the "Back to Category Index" link has this for the URL:

    [WM-FIELD: CATEGORY replace(

    I am creating a 4-tier site and everything is working great except the 'return' from the sub-category page.

    Can someone tell me how to return to the Category page from a Sub-Category page?

    Is there a hint of a solution in Frank's url above?

    I'm very puzzled. Thanks!

    Randal

  2. #2
    Internet Cowboy
    Join Date
    January 18th, 2005
    Posts
    4,662
    That tag replaces the space with a dash and should read something like this:

    [WM-FIELD: CATEGORY replace(" ","-")].html

    You can tailor this to your needs, but this is the structure.

    Edited to say: You can add more of those matched pairs if needed to replace other characters that can't (or should not) be in a file name.
    Last edited by UncleScooter; August 28th, 2005 at 09:29 PM. Reason: added another comment


  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Location
    Minnesota
    Posts
    26
    Works perfectly! Thank you very much.

    Randal

  4. #4
    Internet Cowboy
    Join Date
    January 18th, 2005
    Posts
    4,662
    You're welcome. I'll send Richard the bill


  5. #5
    Member
    Join Date
    October 7th, 2007
    Location
    iowa
    Posts
    50
    Not linking back to category page
    Yes I know this is an old thread by I have the same problem. Finally got everything to work for my 3-tier site from Frank's tutorial, but instead of my subcategory page linking back to the "Back to Category Index" page, it links to currently opened page (itself).

    I'm using Frontpage: The html says <a href="[WM-FIELD: CATEGORY replace(" ","-") nolink].html">
    <font size="4" color="#000080">Back to Category Index</font></a> but when I am in normal view and wave my cursor over the link, the status line reads

    [WM-Field: CATEGORY replace(

    even thought there is more to the link in the html. I tried playing with the html but with no luck.

    IDEAS??????????????????????

  6. #6
    Member
    Join Date
    October 7th, 2007
    Location
    iowa
    Posts
    50
    When I removed the replace(" ","-"] part of the tag, the html shows up complete in the status line of my web program when I wave over it - but taking it out doesn't make my return link work.

    I changed my hyperlink to <a href="index.html"> and now I am getting back to my main category page, but I would still like to know what about the last code did not work?

    Love to hear your ideas!

    -Sweet Iowa
    Last edited by sweetiowa; February 10th, 2008 at 02:04 PM. Reason: correction

  7. #7
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    By default, WebMerge uses underscores to replace any characters which won't be valid in file names on the server. The simplest way to tell WebMerge to use hyphens instead of underscores is with the Hyphenator tool in the Tools menu.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. .ww files in 3-tier website (Frank's tutorial)
    By sweetiowa in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: February 9th, 2008, 09:48 PM
  2. Frank's Webmerge Tutorial
    By hillside in forum WebMerge (Fourthworld.com)
    Replies: 5
    Last Post: January 12th, 2005, 01:47 AM
  3. FRANK's Tutorial to create Multi-Tier Websites using WebMerge
    By Baertracks in forum WebMerge (Fourthworld.com)
    Replies: 71
    Last Post: August 9th, 2004, 09:22 AM
  4. Frank - question on nested tutorial
    By zimmy in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: May 19th, 2004, 03:50 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
  •