Problem with custom Theme in 5.5
Permalink
Hi All
Well I thought it was time that I play around with 5.5.
Very excited about the new design and features.
Of course changing from something you know well to something new will always have a few problems whilst you get used to it.
My question is this, I have a custom theme that worked perfectly in 5.4.2.2 but something odd is happening when I install the theme onto a blank version of 5.5. Once the theme is activated (no content added yet) and I return to website I seem to loose my edit tool bar at the top of the page.
I switched the theme back to good old Plain Yoghurt and the tool bar returns.
Now I am guessing that this has something to do with code in my theme but it all worked perfectly in previous versions.
Has anyone come across this problem? Is there something obvious staring me in the face that I am missing?
Any help or tips greatly appreciated.
Alex
Well I thought it was time that I play around with 5.5.
Very excited about the new design and features.
Of course changing from something you know well to something new will always have a few problems whilst you get used to it.
My question is this, I have a custom theme that worked perfectly in 5.4.2.2 but something odd is happening when I install the theme onto a blank version of 5.5. Once the theme is activated (no content added yet) and I return to website I seem to loose my edit tool bar at the top of the page.
I switched the theme back to good old Plain Yoghurt and the tool bar returns.
Now I am guessing that this has something to do with code in my theme but it all worked perfectly in previous versions.
Has anyone come across this problem? Is there something obvious staring me in the face that I am missing?
Any help or tips greatly appreciated.
Alex
Hi
Thanks for the reply, I do have something similar but not the same.
Could it be as simple as that???
I will change it now and let you know.
Thanks for the reply, I do have something similar but not the same.
<?php $this->inc('elements/footer.php'); ?>
Could it be as simple as that???
I will change it now and let you know.
Now that was exactly what I needed.
Thanks so much.
Thanks so much.
No problem, I had the same problem after upgrading with one of my custom themes. The dashboard-javascript-code was moved to the footer in 5.5, so it is now necessary to load the required footer if you didn't do it in your theme already. (It was necessary before, but dashboard still worked if you forgot it)
The line
does only include the file elements/footer.php which is in your theme-folder. You can also paste the Loader-call for the required footer in this file.
The line
<?php $this->inc('elements/footer.php'); ?>
does only include the file elements/footer.php which is in your theme-folder. You can also paste the Loader-call for the required footer in this file.
OK got it all back now.
Thanks for the heads up on that, it is all becoming clear now.
It's just a case of me getting used to the new way of working.
Thanks again for the info, very useful.
I think that this questions will be coming up a few times in the future from others.
Regards
Alex
Thanks for the heads up on that, it is all becoming clear now.
It's just a case of me getting used to the new way of working.
Thanks again for the info, very useful.
I think that this questions will be coming up a few times in the future from others.
Regards
Alex
I speak to soon :(
Lost my footer now.
Back to head scratching but if you have any other ideas that would be great.
Lost my footer now.
Back to head scratching but if you have any other ideas that would be great.
Don't change/remove the "$this->inc" line, because it loads your footer.php file (see my post above). Paste the line I gave you in the footer.php above your body-end-tag, then everything should work as expected.
do you have the following above your "</body>"-end-tag?