Log in

View Full Version : [solved] HELP needed with recovering a template


MikaK
01-12-2005, 06:02 AM
Hi,

I managed to royally f**** up my navbar template! (pasted the postbit_legacy code accidentially into the navbar template :alien: )

Is there a way to recover it from backed up files instead of recovering the original since a lot of effort regarding decent modding would be wasted if the original one is only available.

I have numerous backups of the site which I could use if I only knew where to look.

Thank you for any hints!

-Mika

lasto
01-12-2005, 06:13 AM
go to the style in question and view all templates - at the side of navbar should be a revert option which puts the orginal template back.

MikaK
01-12-2005, 06:23 AM
go to the style in question and view all templates - at the side of navbar should be a revert option which puts the orginal template back.
Thanks "lasto", but this is exactly what I am trying to avoid here: reverting to the original.

I would rather like to know where the templates html code is physically stored so I could dig my modded navbar out from one of my backups.

Cheers,
-Mika

Marco van Herwaarden
01-12-2005, 06:30 AM
It is stored in the template table in the database.

You could try to dig it out of your database backup, by either restoring it to a test database, or by getting the value with a text editor and reformatting it.

MikaK
01-12-2005, 06:55 AM
It is stored in the template table in the database.

You could try to dig it out of your database backup, by either restoring it to a test database, or by getting the value with a text editor and reformatting it.Thanks, MarcoH64! That did it! PHEW...

-Mika