Editing template.html screws up the entire thing Editing template.html screws up the entire thing
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Editing template.html screws up the entire thing

Started by Filler, January 24, 2006, 08:53:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Filler

No matter what, even if I add one character to the template.html file (classic), it screws up the whole thing.

(https://coppermine-gallery.com/forum/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.

Joachim Müller

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.

Filler

Quote from: GauGau 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.
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 :).