forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Filler on January 24, 2006, 08:53:25 am

Title: Editing template.html screws up the entire thing
Post by: Filler on January 24, 2006, 08:53:25 am
No matter what, even if I add one character to the template.html file (classic), it screws up the whole thing.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fusers.airax.net%2Ffiller%2Fuploaded%2Fgalleryerror.gif&hash=2b464bdaa9f3cbcc2453b668a89c545b34f56bc8)

Even if I delete that small piece that I added, so that its back to the default state, and upload it, it is still messed up. I have to upload the template.html file from the coppermine zip for it to be fixed.
Title: Re: Editing template.html screws up the entire thing
Post by: Joachim Müller on January 24, 2006, 09:17:07 am
you're probably editing the file using a WYSIWYG editor like MS Frontpage or similar; you mustn't. Use a plain text editor (notepad.exe is fine for a start). WYSIWYG editors like Frontpage have an imfamous reputation to "optimize" code that they aren't meant to touch in the first place.
You might attach your custom file to this thread (zip it first), using "Additional options" when composing your message.
Title: Re: Editing template.html screws up the entire thing
Post by: Filler on January 24, 2006, 09:23:16 am
you're probably editing the file using a WYSIWYG editor like MS Frontpage or similar; you mustn't. Use a plain text editor (notepad.exe is fine for a start). WYSIWYG editors like Frontpage have an imfamous reputation to "optimize" code that they aren't meant to touch in the first place.
You might attach your custom file to this thread (zip it first), using "Additional options" when composing your message.
Ok that was it, I was using Dreamweaver before, and I opened it up in Notepad, made the changes, and worked fine. Thanks a lot :).