Any workaround for page_theme file after install of theme?

Permalink
Hi There,

I need to at some styles classes to the CKEditor, and the only way I know to do that is by the page_theme file. For some reason I did not add this file in the initial installation of this theme.
And placing it afterwards does not seem to get pickup up. Anyone found a workaround for this issue?

vincedelaking
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Uninstall the theme, the reinstall it.
vincedelaking replied on at Permalink Reply
vincedelaking
Interesting thought, but this site is live for over a year, with loss of pagetypes, content, blogposts and calander events and all. How will this effect one and other.
JohntheFish replied on at Permalink Reply
JohntheFish
Ahh, I had the impression this was a site under development and not a long live site. Good that you didn't risk trying it on the live site !!

Areas - will disappear when you swap the theme out, then reappear with all content when you add it again
Custom blocks provided by theme package - content could be lost
Page Templates - should be OK as they are associated by handle
Page Types - I don't know whether they are associated by handle (in which case you would be OK) or by #ID, in which case page type associations could be lost.

If you want to risk it, try it first on a development clone of the live site.
vincedelaking replied on at Permalink Reply
vincedelaking
Yep, I will do that!
But as you know it, there is no DB field I can change to make the theme_page.php take its power?
JohntheFish replied on at Permalink Reply
JohntheFish
You can likely find a way to hack it by following through the theme install code. But I don't know what that is.
vincedelaking replied on at Permalink Reply
vincedelaking
Thanks John, worked like a charm !