MyBB Community Forums

Full Version: Deleted Header Template on Accident
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I deleted my header template but I do have a cPanel backup. I cannot restore it to default, as I have a 100% custom theme. What do I need to do to get my template back?
Open .xml file of that theme and find header template. Copy the code between <template></template> tags and paste in your AdminCP > Templates > Header Templates > header template.
But the XML is not going to be accurate as I built this theme myself. It will be so out of date.
Ohk, I just tried to put something in this header template and click "save" and it keeps clearing the box and saving. This is not my computers problem as I just did it on another problem and it did it again. This is a MyBB problem. Any one willing to take on my ACP can see it. I just put it on another theme until I have more time to look at it...
No, don't restore a backup and don't do what Yaldaram said.

Just go to AdminCP -> Templates / Styles -> Templates -> *expand template set* -> Header Templates -> header (click the drop down for the header template, click Revert to Default), then make whatever edits you had on that template.
In my topic, I clearly stated "I cannot restore it to default, as I have a 100% custom theme."
Disable Codepress in AdminCP -> Configuration -> AdminCP Global Settings -> Disable Codepress Yes