Results 1 to 3 of 3
  1. #1
    ABW Ambassador netnow22's Avatar
    Join Date
    January 18th, 2005
    Location
    Columbia, SC
    Posts
    748
    Question Trouble with 3 tier index page - new user
    I am having problems with the links to category pages. The list displays correctly but when i click on the category links it takes me to a non existance page.

    For an example : The hyper links point to "http://xxxxx-yyyyyy.zzzzzz-aaaaaa-bbbb.com/supplies/Office%20suppplies%20store.htm"

    The page it should link to is :
    ttp://xxxxx-yyyyyy.zzzzzz-aaaaaa-bbbb.com/supplies/Office-suppplies-store.htm

    Does anyone know how to fix this? Below is the code i used on my template page


    [WM-Record]
    [WM-IndexLabel: maincat]

    <a href="http://xxxxx.yyyyy-zzzzz-aaaaa.com/supplies/[WM-Field: maincat nolink].html" title="[WM-Field: maincat nolink]">[WM-Field: maincat nolink]</a>

    [/WM-IndexLabel]

    [/WM-Record]>

  2. #2
    ABW Ambassador AWaR's Avatar
    Join Date
    January 18th, 2005
    Location
    Scotland
    Posts
    625
    You want to add the replace function to the first wm: field tag so that it changes the spaces to a hyphen :

    [WM-Record]
    [WM-IndexLabel: maincat]

    <a href="http://xxxxx.yyyyy-zzzzz-aaaaa.com/supplies/[WM-Field: maincat nolink replace(" ","-")].html" title="[WM-Field: maincat nolink]">[WM-Field: maincat nolink]</a>

    [/WM-IndexLabel]

    [/WM-Record]

    That'll get you going to the right pages now.

  3. #3
    ABW Ambassador netnow22's Avatar
    Join Date
    January 18th, 2005
    Location
    Columbia, SC
    Posts
    748
    Thanks , It worked perfectly!

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. New CJ user having trouble with financial programs
    By PGPlanning in forum Commission Junction - CJ
    Replies: 5
    Last Post: April 10th, 2008, 02:49 PM
  2. 4-tier page; only single entries in some index pages
    By nla in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: October 22nd, 2007, 05:19 PM
  3. 4-tier-page, generated index files contain only 1 entry
    By nla in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: October 4th, 2007, 04:36 PM
  4. How to show index numbers on index page?
    By sinpeople in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: June 24th, 2007, 12:06 AM
  5. 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

Posting Permissions

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