Results 1 to 8 of 8
  1. #1
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    I love your last tutorial but I have encountered a problem I am hoping you can help me with. The build makes new folders for CAT/SUBCAT and CAT/SUBCAT/SKU. My problem is that these new pages that are created within my new folders are unable to read my graphics (not product graphics - the graphics for my webpage design - images) and I have broken links once you get into the SUBCAT pages. Is there any way to fix this other than cutting and pasting the graphics folder into these deep hierarchy folders?



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  2. #2
    Crazy Cat Lady Heidi's Avatar
    Join Date
    January 18th, 2005
    Location
    Rochester, NY
    Posts
    1,685
    Fix the paths to your images in your templates..

    So if your images are currently in images/image.gif

    then make it /images/image.gif
    Heidi
    "Happy are those who dream dreams and are willing to pay the price to make them come true"

  3. #3
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    Okay - I am so not getting this - what am I missing?

    My excel database has new headings:
    CAT/SUBCAT and CAT/SUBCAT/SKU

    WM treats these "/" as new folders. So WM is automatically creating folders within folders based upon the name of the Category and subcategory.

    How do I fix my template to put my image folder within folders that WM creates and names based on the categories and subcategories?



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  4. #4
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    742
    Zimmy,

    When you create the subcategory, the address for your images in no longer correct. So you have to create a new address for the images.

    As an example, if your images file is in folder 'A' and you show the address as /images/xxx.gif, and then you create folder 'B', change the address to '/Folder A/images/xxx.gif. If you don't create the new address, any code relating to images in Folder B will be looking for the images in Folder B and not in Folder A.

  5. #5
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    Yes - that is exactly the problem. Do you know if there is a way to automate the changing of the image path? Each time a new folder is created with webmerge I will need my images in that folder. Problem is the name of the folder is whatever the name of the subcategory is. I only know how to do it by hand. Can WM do it for me? is there a way to set that up in the template?



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  6. #6
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    Perhaps you should try relative paths, instead of fixed paths.

    Try: .../images/blah.gif

    instead of /images/blah.gif

    Fred

  7. #7
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    Thanks for the suggestion Fred. I do have my paths set up as relative path.

    I would like for WM to put a copy of my image folder in every folder it creates. But...since the only way I know how to do it is just to do it myself...I'm off!



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  8. #8
    Full Member
    Join Date
    January 18th, 2005
    Posts
    413
    Zimmy;

    Sorry, I was traveling for a couple of days and not following this discussion group. However, it looks like you received plenty of expert assistance on this problem.

    As Fred has noted, going the relative path route, and adjusting the WM templates to point "relatively" to your image file looks like the best way to work with this issue.

    Did this approach do the job for you?

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Frank's Tutorial - Navigation Problem?
    By DRandalRay in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: February 11th, 2008, 01:44 PM
  2. .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
  3. Frank's Webmerge Tutorial
    By hillside in forum WebMerge (Fourthworld.com)
    Replies: 5
    Last Post: January 12th, 2005, 01:47 AM
  4. 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
  5. Nested Tables Question
    By ~Michelle in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: January 19th, 2004, 12:32 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
  •