In: , , , ,
On: 2005 / 12 / 08 Viewed: 60910 times
Shorter URL for this post: http://ozh.in/af

I’ve just updated the WordPress Theme Toolkit to make it compatible with the upcoming WordPress 2.0

WordPress Theme Toolkit is a theme addon that allows designers to create an admin menu, integrated within WordPress’ admin area, as easily as editing 3 lines in a file. Version 1.0 (initial release) of the Theme Toolkit was causing WordPress 2.0 to die, whining about some function shipped with a theme that could not be declared twice. Doh.

To upgrade, simply get version 1.1 and replace all your existing “themetoolkit.php” in all theme directories using it.

Of course, this newer version of the Theme Toolkit is downwards compatible with WordPress 1.5x. Theme authors should update their theme package files as soon as possible. Theme users are advised to upgrade too.

It’s possible that once you’ve installed WordPress 2.0 and the newest Theme Toolkit, you still see the “cannot redeclare function” error : blame WordPress’ new cache system :) Hit the “Refresh” button of your browser and you will be hopefully done.

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/af

Metastuff

This entry "WordPress Theme Toolkit Upgrade" was posted on 08/12/2005 at 10:24 am and is tagged with , , , ,
Watch this discussion : Comments RSS 2.0.

16 Blablas

  1. 1
    Ben United Kingdom »
    said, on 08/Dec/05 at 12:01 pm # :

    That’s cool. Unfortunately I’ve gone and rewritten the admin panel for Regulus so it works in wordpress 2, however I’m sure this will be handy for other people.

  2. 2
    Steve Europe »
    commented, on 08/Dec/05 at 12:59 pm # :

    That’s great… I was waiting for it for my new theme. As i already asked to you any plan to make it internationalized having toolkit strings localizable and the variable text too ?

    An waht about having other 2 controls one to make section headers for the panel and one for textarea ?

    I know i’m never satisfied ;)

  3. 3
    Steve Europe »
    thought, on 08/Dec/05 at 1:03 pm # :

    opps textaread is already present.. sorry :)

  4. 4
    Steve Europe »
    thought, on 08/Dec/05 at 2:21 pm # :

    on a 2.0 installation if i have a function in function.php that use a value of the option array it get nothing, if i print the same option with an echo direclty in the theme tha value show up. If i use error_reporting(E_ALL); i got this:

    Notice: Undefined variable: mytheme in F:\40annibuttati\wp-content\themes\forty-years\functions.php on line 75

    Where the line refer to a simple line that state:

    $type = $mytheme->option['header_type'];

    Obniuosly i’ve the header_type value assigned infact if in a file of the theme i do:

    echo $mytheme->option['header_type'];

    The value show up. Any idea?

  5. 5
    Ozh France »
    thought, on 08/Dec/05 at 3:43 pm # :

    Steve » aren’t you missing a “global $mytheme” somewhere ? Also, be sure *not* to use “mytheme” as a name for your toolkit. You don’t want it to conflict with another potential theme using the same name.

  6. 6
    Steve Europe »
    wrote, on 08/Dec/05 at 4:12 pm # :

    Yeah you right.. just my dumbness :) Sorry :)

    I’m using somehting different than mythem in real usage, that was just a test. Thanksfor the help and sorry for the noise :)

  7. 7
    Greg Canada »
    replied, on 08/Dec/05 at 9:49 pm # :

    Love this theme, sweet theme. I use Mac OS X and when I switched this theme, mt browser keeps crashing. Has anyone noticed that?

  8. 8
    Greg Canada »
    said, on 08/Dec/05 at 9:58 pm # :

    BTW: it browser that crashes is the Safari browser. It is stable in FF 1.5.

    What is it like in IE?

  9. 9
    Ozh France »
    wrote, on 08/Dec/05 at 10:10 pm # :

    Nothing particular with any browser I could use under Windows and Linux. And there’s is really nothing weird that should bug with Safari. As stated, this theme is very minimalist :)

  10. 10
    Greg Canada »
    commented, on 08/Dec/05 at 11:02 pm # :

    I figured it out. It seems that the “Extended Live Archives” Plugin was making it crash. For some reason it worked fine using the K2 Beta Theme. Hmmm…

  11. 11
    Greg Canada »
    commented, on 09/Dec/05 at 2:23 pm # :

    Perhaps this is a question for the WP forum but I am wondering why my categories are not in alphabetical order? Is there a way to make WP 2 RC1 sort categories in alphabetical order? BTW: thanks for a great theme.

  12. 12
    Steve Europe »
    replied, on 09/Dec/05 at 10:33 pm # :

    I notice a little bug, I’m using ‘option_variable’ => ‘Option Title ## optionnal explanations’ to let people put some code that will be then evaluated with the eval() function. It’s all ok but for the followin text:

    mdv_recent_comments(10, 7, ”, ”, true, 0);

    If i save the variable got the right value but when the value show up again in the admin panel it get truncated this way:

    mdv_recent_comments(10, 7,

    Obvoiously the problem is in the ‘. THe same done on a textarea work with no problem

    Would be nice have the simple filed text have an optional paramter for size.

  13. 13
    Ozh France »
    thought, on 09/Dec/05 at 11:34 pm # :

    Steve » I wanted to keep things as simple as possible. Adding support for width, section titles and so on was starting to be a bit overkill. I mean, if it’s harder to figure out how to build the admin menu, than to write everything yourself without using the Toolkit, where’s the point ? :)

  14. 14
    Steve Europe »
    commented, on 09/Dec/05 at 11:44 pm # :

    heheheheeh yes you are right :) But your system is so fast that even if someone knoow ho w to do stuff will use it.

    What about the problem of quote?

  15. 15
    links for 2005-12-09 at Bharath Kumar United States »
    pingback on 10/Dec/05 at 3:59 pm # :

    [...] WordPress Theme Toolkit Upgrade « planetOzh (tags: wordpress) [...]

  16. 16
    aNieto2K » Nuevo Wordpress Theme T... Italy »
    pingback on 11/Dec/05 at 1:44 pm # :

    [...] Más info | aqui –> [...]

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Read more ?