how to repair a broken dreamweaver template

Discussion in 'HTML & Website Design' started by matt_62, Aug 28, 2012.

  1. #1
    I couldnt find my answers on google, so just wanted to ask if anyone else has experienced this.
    Its happened a few times now where my template made in dreamweaver 'breaks'.
    Right now my template uses the spry horizontal drop down menu bar (cause i dont know how to do it any other way) but the template is correct in pointing to the correct location of the spry assests folder, but all pages based on the template have not updated that specific thing correctly.

    Template is made correctly, its NOT in an editable region (im not *that* daft)

    Files werent moved or modified outside of dreamweaver. Any ideas on how why it would 'break' in the first place? and any ideas on how to fix it? -> its around 20 pages or more that are malfunctioning.
     
    matt_62, Aug 28, 2012 IP
  2. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #2
    Define your version of breaks : you can't edit it ? the looks are fraked ?

    Anyway i'd go over the Dreamweaver comments and check if they are all OK . Failing that I would temporarly cut out the drop down menu and replace it with a simple div . Observer what happens and act accordingly .
     
    ApocalypseXL, Aug 29, 2012 IP
  3. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #3
    the current issues seems to be the javascript at the bottom of the page goes to "../" which is correct, but when its 2 folders deep its still "../" when it should be "../../../" and so on -> what annoys me is i just dont understand why it broke. this is the javascript specifically for the menu.

    i think to solve it i will take up your suggestion with replacing it with just a more standard layout, but im mainly keen to learn why it broke, how to fix it and how to avoid the same mistake.

    cheers.
     
    matt_62, Aug 29, 2012 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    1) Dreamweaver 'templates' are typically broken inaccessible rubbish in the first place -- the over-use of comments often tripping rendering bugs in both IE and FF -- and if you base off any of the example code DW comes with or use any of it's "wizard" type tools, much less the WYSIWYG, things only get worse.

    2) If you have to link 'up-tree' -- aka "../" -- at all, there's probably something wrong with your directory structure.

    Though really, we'd really need to see the code you are using and the site in question to truly weigh in on the subject properly.
     
    deathshadow, Aug 30, 2012 IP