Overrode header_required.php, then undid it, site header is messed up!?
Permalink
Hi,
I've been using c5 for a couple weeks now and love it, but today I was following a how-to dealing with OpenGraph data for sharing blog posts on Facebook. It involved overriding /concrete/elements/header_required.php to /elements/header_required.php, which I did before changing anything. I'm not really skilled at all in PHP (I'm at the copy/paste level), and the changes affected my site's header everywhere on the site. So I deleted the file in /elements, and made sure the file in /concrete/elements is the original, untouched one...which it is. However, **the header is still messed up**!
By "messed up", I mean that the image I had for the site name has gone back to being text, and some navigation buttons i had in the top right are now literally on top of the content underneath on the page...everything else is fine, but this is obviously huge.
I know that all I changed was header_required.php, and I undid the override, so what's up? (I've cleared the cache too). What can I do to fix this? I've modified a lot of the CSS files in the theme (Plain Yogurt) for the site, so I don't want to re-install something and lose my customizations. Please help!?
I've been using c5 for a couple weeks now and love it, but today I was following a how-to dealing with OpenGraph data for sharing blog posts on Facebook. It involved overriding /concrete/elements/header_required.php to /elements/header_required.php, which I did before changing anything. I'm not really skilled at all in PHP (I'm at the copy/paste level), and the changes affected my site's header everywhere on the site. So I deleted the file in /elements, and made sure the file in /concrete/elements is the original, untouched one...which it is. However, **the header is still messed up**!
By "messed up", I mean that the image I had for the site name has gone back to being text, and some navigation buttons i had in the top right are now literally on top of the content underneath on the page...everything else is fine, but this is obviously huge.
I know that all I changed was header_required.php, and I undid the override, so what's up? (I've cleared the cache too). What can I do to fix this? I've modified a lot of the CSS files in the theme (Plain Yogurt) for the site, so I don't want to re-install something and lose my customizations. Please help!?
I had been adding an attribute to the Site Name File, and never approved the changes in the stack. As soon as I did, the image went back, and the height of the image pushed the entire header up to where it was before. So I'm not at *bad* as I thought I was, maybe just *stupider* :P
Since I'm pretty obviously new here, what's the protocol for guys who solve their own problem within 5 minutes? Should I delete the thread? Happy to comply with whatever. Thanks!