Log in

View Full Version : Template Edit Not Displaying


Digital Jedi
07-17-2008, 07:22 PM
Okay, never ran into this one before. I made an edit to each instance of forum_old.gif and forum_new.gif using the replacement option in the Admin CP with forum_old.png and forum_new.png. The edits went fine, but the pages insist on trying to load the GIFs when loaded, except in the legend at the bottom of the page. I'm at a loss as to why that is and what I can do to change it. This is on a hack free install, by the way.

Marco van Herwaarden
07-18-2008, 10:22 AM
Exactly how did you replace this?

Digital Jedi
07-18-2008, 12:01 PM
The find and replace option:
Styles & Templates >>> Search in Templates >>> Find and Replace in Templates (be careful!)

Marco van Herwaarden
07-19-2008, 09:15 AM
I am not sure if all these icons are named in the templates. A lot might be inserted by code during page generation.

Maybe (although not the best for performence) would be the use of Replacement Variables (AdminCP -> Styles & Templates -> Replacement Variable Manager).

Digital Jedi
07-19-2008, 05:38 PM
I see what happened now. The images are not all named the same thing in the templates. The little legend at the bottom of the page uses the actual image names, while the code for the active forum areas uses the style variable names. Silly me didn't think of that.