Fixing custom templates after upgrade [message #167507] |
Wed, 04 July 2012 21:36 |
|
ShineOn
Messages: 53 Registered: July 2011
Karma: 1
|
Member |
|
|
I have some customized themes, using path info, along with some other tweaks (icons, CSS gradient, etc.)
Upgrading from FUDforum 3.03 to FUDforum 3.04RC4, I encountered these errors:
Please manually update custom theme SnSSlateBlue.
Unable to compile theme SnSSlateBlue. Please fix it manually: Undefined template: "karma_show" inside "message_entry" in file drawmsg.tmpl
Please manually update custom theme SnSTwilightGrey.
Unable to compile theme SnSTwilightGrey. Please fix it manually: Undefined template: "karma_show" inside "message_entry" in file drawmsg.tmpl
Please manually update custom theme SnSUserInfoLeft.
Unable to compile theme SnSUserInfoLeft. Please fix it manually: Undefined template: "karma_change" inside "dmsg_message_toolbar" in file drawmsg.tmpl
Please manually update custom theme SnSUserInfoRight.
Unable to compile theme SnSUserInfoRight. Please fix it manually: Undefined template: "karma_change" inside "dmsg_message_toolbar" in file drawmsg.tmpl
Please manually update custom theme SnSForestGreen.
Unable to compile theme SnSForestGreen. Please fix it manually: Undefined template: "karma_show" inside "message_entry" in file drawmsg.tmpl
It appears the easy fix is to copy the three kharma template files and the drawmsg.tmpl file from default set to the custom template sets. I haven't determined if that breaks anything else. If anyone knows whether that is "the" fix, or if I have to re-create my custom template sets from scratch, please let me know.
<edit> That doesn't seem to be the fix, because apparently path_info has its own drawmsg.tmpl file (which is waaaay smaller than the one in default) - now when viewing messages, the "friendly urls" don't show. They just show when in the forum list.
Gaah.
Is the drawmsg.tmpl in the upgraded path_info template set updated for kharma?
[Updated on: Wed, 04 July 2012 22:11] Report message to a moderator
|
|
|
|
|
Re: Fixing custom templates after upgrade [message #167535 is a reply to message #167532] |
Sun, 08 July 2012 05:16 |
AutoHost
Messages: 99 Registered: October 2002
Karma: 0
|
Member |
|
|
I have a similar problem, trying to rebuild my custom theme I get this error:
Please fix theme: Undefined template: "thread_rating" inside "ratethread.php.t".
I created that theme under v2.3.5, then upgraded forum to 2.7.3, then 3.0.0, then 3.0.3.
Ron Miller
Stars! AutoHost
|
|
|
|