MyBB Community Forums

Full Version: I deleted the 'header' section in my theme template by mistake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't even know how it happened. I was trying to edit it in chrome, I couldn't type anything in the box so I tried to copy all the text just in case. Then I clicked save and continue editing and it was all gone.

Is there anything that I can do to get it back?

All I've got is the HTML of the main forum page which I had open before it was deleted.

I'm using the gem theme.

I just wanted to fix a broken picture! Sad

Thanks!
You can always redownload it and copy the template across.

Turn codepress off. I had this. Codepress was the issue.
Go to: ACP > Templates > Header Templates > header > and revert it back to original.

If the header is custom edited, then you have to open .xml file of the gem theme and find;
<header>
part of the "template" and copy the entire code between <template></template> code and paste it to the header template. Save the template.

I hope it will solve the error.
Quick replies, thanks!

I took the bits from the xml file like you said and it worked a treat! Even pulled bits from the html I still had open which brought back all the changed I had made previously.

I'll turn codepress off to try and get it running in chrome.

Thanks guys!
Thanks. Smile