Pre-Alpha 1.0
MB Montessori

tenterhooks

suspense seldom kills

New Wordpress Menu

08/03/07: Clarification:

UPDATE! Please download the sitemap fix for version 2.0.3. All new downloads, please also download the fix and overwrite the file. The next version will be available as soon as my main site has finished it’s facelift.

The What

The Webdezine Pure CSS Horizontal Menu is a dropdpwn, cross browser multi-level (nested) css navigation system for Wordpress that can be displayed across the top of your header area. It includes support for Pages, Categories, Archives, Blogroll and Meta Links. The menus can be used in place of or in addition to the default Wordpress fuctions wp_list_categories, wp_list_pages, wp_get_archives, wp_list_bookmarks, and meta data that is contained in the sidebar.php. The menu is currently compatible with Wordpress 2.1.* and will soon be available to 2.0.* Wordpress users. The menu is as always, free for personal use, although support is greatly appreciated. Commercial users (including developers) should download the commercial version of the menu.

The Screen Shots

wd_css_shot1.gif wd_css_shot2.gif wd_css_shot3.gif
wd_css_shot4.gif wd_css_shot5.gif wd_css_shot6.gif
wd_css_shot7.gif wd_css_shot8.gif wd_css_shot9.gif
wd_css_shot10.gif wd_css_shot11.gif wd_css_shot12.gif


The Demos


The Features

  • The Menu
    • The menu is entirely CSS based. It does not rely on client-side scripting such as Javascript to hide or reveal the menu levels.
    • The menu is based a degradable unordered html list
    • The menu can be nested to a maximum of 4 levels (do the users really want more than that?).
    • The menu is compatible with PHP4+
    • A sitemap is connected to the title links in case of menu failure (unlikely).
    • Each menu or nested level can be styled individually if you wish
    • The css classes are based on divs and links for maximum compatibility
    • You can now choose which menus to display and how
    • You can exclude pages or categories from your menus
    • You can display page, post or link counts in your menus
    • You can organize your blogroll into multiple top-level categories
    • …………etc.
  • The Sitemap
    • The sitemap is also based a degradable unordered html list
    • Each menu or nested level can be styled individually if you wish
    • The css classes are based on divs and links for maximum compatibility
    • A sitemap page is created upon activation
    • If you already have a great sitemap, you can detour this one and link your menu to the one already in place
  • The Admin
    • The admin is now a pimped up wonder
    • Tabs separate the option sections
    • Display the options in English, French, Spanish, German, or Italian
    • Choose to display the titles (Pages/Categories/Archives) or spread the top levels across the header. Each menu is individually customized - e.g. display the archive title, but not the page title
    • More options for the menu - Choose the date format for the archives, exclude categories, ….
    • Input your old sitemap url and the menu takes care of the rest
    • Edit the CSS directly from the option page (and the IE6 css!)
    • Preview your changes in the option page (I got tired of refreshing my development site - this is much better)
  • The Machine
    • Nonce security has been added
    • Personal and Commercial License payments are now accepted through the option screen
    • Licensees are automatically registered for the in-depth support forum for help with customization, support and feature requests
    • If caching is enabled the calls to the database are cached
    • If a new category or post is created the cache is refreshed allowing your visitors to get the newest information instantly.
    • Upon activation, the plug-in loads up the default values - Upon deactivation, the plugin removes all options/sitemap from the database….almost like it was never there.

The Structure

<ul>
  <li><a href="">LIST NAME
    <table>
      <tr>
        <td>
          <ul>
            <li><a href="">PARENT CAT
              <table>
                <tr>
                  <td>
                    <ul>
                      <li><a href="">CHILD CAT
                         <table>
                            <tr>
                              <td>
                                <ul>
                                  <li><a href="">SUB-CHILD CAT</a></li>
                                </ul>
                              </td>
                            </tr>
                         </table>
                  </a>
                      </li>
                    </ul>
                  </td>
                </tr>
              </table>
              </a>
            </li>
          </ul>
        </td>
      </tr>
    </table>
    </a>
  </li>
</ul>
 
Why the tag soup?  To make it compitable with IE of course!

The Compatibility

OS Browser Version Compatible? Issues?
Windows XP Firefox 2.X Yes None
Windows XP Internet Explorer 6 Yes None
Windows XP Internet Explorer 7 Yes None
Windows XP Opera 9.1 Yes None
Linux Firefox 2.0.0.3 Yes None
Linux Konqueror 3.5.6 Yes None

I need a heads up for non-windows OS browsers. Please drop me a comment listing your Operating System, Browser, Version, whether it’s compatible or not and any issues related to the operation of the menu.Thanks for your help!

The Stats

  • Version Download Totals
    • Webdezine Wordpress Menu V1.0 (23)
    • Webdezine Wordpress Menu PHP4 V1.0 (4)
    • Webdezine Wordpress Menu V1.1 (58)
    • Webdezine Wordpress Menu PHP4 V1.1 (28)
    • Webdezine Wordpress Menu PHP4 V1.2 (40)
    • Webdezine Wordpress Menu PHP5 V1.2 (537)
    • Webdezine Wordpress Menu PHP4 V1.3 (487)
    • Webdezine Wordpress Menu PHP5 V2.0 - PERSONAL & COMMERCIAL (20)
    • Webdezine Wordpress Menu PHP5 V2.0.1 - PERSONAL & COMMERCIAL (17)
    • Webdezine Wordpress Menu PHP5 V2.0.2 - PERSONAL & COMMERCIAL (109)

The Download

The Why

I found the default lists impractical and IMHO quite ugly. I also wanted to use the same menu for my blog that I will be using for my main site.

The How

The Installation Instructions

  • Download the .zip file
  • Extract the .zip file
  • Upload the folder called ‘webdezine_menu’ and the file called ‘webdezine_css_menu.php’ into your plugin directory located in /wp-content/plugins
  • Upload the webdezine_sitemap.php page template into your theme file located in /wp-content/themes.
  • Add this code to your header file
    <?php
    if (function_exists('get_menu'))
    get_menu('topmenu');
    ?>
    

    It will look like this in the default theme

    <div id="header">
      <div id="headerimg">
        <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
        <div class="description"><?php bloginfo('description'); ?></div>
    <?php
    if (function_exists('get_menu'))
    get_menu('topmenu');
    ?>
      </div>
    </div>
    <hr />
    
  • Head over to your admin interface and activate the plugin
  • Head over to the webdezine css menu option page and customize to your liking
  • IMPORTANT! When using the Blogroll menu you must only use top parent categories to store your links. These are special categories you have created that have a category parent ID of ZERO. You may organize your links into those categories. The links will pop out in a list from each “0″ level link category.

The Upgrade Instructions

  • download the current zip
  • To UPGRADE:
    • From 2.0 to 2.0.1:

      • overwrite the “scr.js” file in the webdezine plugin folder
      • overwrite the “wd_all_the_menus.php” in the webdezine plugin folder
    • From 2.0.1 to 2.0.2:
      • overwrite the “wd_all_the_menus.php” in the webdezine plugin folder

The Customization

The function variables can be changed from the admin option menu. Note: Please remember that should you change the CSS class names available through the option menu, you will also have to change the class names within the CSS file.

The Changes

  • 02/25/07: Version 1.0 released - not a plugin
  • 02/27/07: Version 1.1 released - not a plugin
    • Missing close bracket at line 198 FIXED
    • Query ERROR: “You have an error in your SQL syntax; check the manual
      that corresponds to your MySQL server version for the right syntax” - FIXED
    • Amended the read_me file to include instructions on how to add the css style information
  • 03/12/07: Version 1.2 released - a plugin
    • changed the menu to a plugin to allow more to easily use this resource
    • fixed 2 lines of code that prevented the page menu from displaying the sub-child page names
    • fixed 2 lines of code that prevented the post count from showing correctly in the category menu
    • added support for the blogroll–now a drop-down menu like the others
    • added a variable in blogroll function to allow a separate css class for different styling of links
    • removed the read-me file and placed the information here
  • 03/13/07: Version 1.3 released -PHP4
    • Fixed a mismatched file name in the PHP4 version
    • Fixed the missing php tags within the code to add to the template
  • 05/01/07: Version 2.0 release - PHP5 only
    • Completely rewrote the functions eliminating all known bugs
    • Added many more options for customization
    • Revamped the admin section
    • Added css editing support from the admin
    • Added page preview from the admin
    • Created a licensee forum for in-depth support
    • Integrated forum registration with Paypal into the option page
    • Created separate personal and commercial versions
    • Worked like a dawg on this plugin
  • 05/02/07: Version 2.0.1 released
    • fixed admin javascript conflict
  • 05/02/07: Version 2.0.2 released
    • fixed array check in “wd_all_the_menus.php
  • 05/08/07: Version 2.0.3 released
    • added PHP4 compatibility
  • 08/05/07: SITEMAP FIX FOR 2.0.3
    • overwrite existing file with replacement

The Bugs

Found a bug? I’d be happy to squash it. Just leave me a comment and I’ll do what I can.

Here is a link to another way to accomplish a dynamic css menu for wordpress:
side dynamic menu for pages. While not a drop down or one that is used for all links, it does highlight the page links if that is more important to the blog than the other links available.

Tags: , , , , ,

RSS feed

307 Comments

Comment by Sheri
2007-03-09 16:44:48

OK downloaders…we have PASSED the 100 download mark for this menu system.
Please grab the new version which is now a plugin and if you can, leave me a comment.

 
2007-03-13 06:30:25

[…] Webdezine Pure CSS Dropdown Menu turns your default Wordpress navigation into a cross browser multi-level nested css drop down menu, […]

 
2007-03-13 08:16:18

[…] Webdezine Pure CSS Dropdown Menu ändert die normale WordPress Navigation in eine browserübergreifende, mehrere Ebenen umfassende […]

 
Comment by Markus
2007-03-13 18:07:07

I have to question:

- Witch Version er correct for php 4.4.4.?
- I get an error: Cannot load webdezine_css_menu.php.

Can you help?
Thank you for your time and work!
Markus

Comment by Sheri
2007-03-13 18:13:03

Which version of Wordpress are you using?
***EDIT*** a quick look on google and I now need to ask… are you talking about the options page in admin?

 
 
Comment by Eric
2007-03-14 06:44:37

I think he means that, when you download the plugin version for php 4, the php file is called …css_menuphp4.php When you try to change the plugin settings through the admin plugin options panel you get that error message. I (php 4.5, latest wordpress) had it too, renamed the file to css_menu.php and you don’t get the error message anymore.

However the menu doesn’t work on my tryout-site, I get a text “(function_exists(’get_menu’)) get_menu(’topmenu’)” instead of the menu.

You can check it out at
ericzuzi.ericmathot.com

I must have pasted the code in the wrong place (i placed it in the body of the header code).

Could you help me out, I would love to use your neat-looking menu!

Eric

Comment by Sheri
2007-03-14 07:04:56

Thank you Eric! What a complete dolt I am. I changed the #4 file name and didn’t change it in the code. Fix will be up shortly. For your problem…another typo on my part. Please place <?php before the if statement and ?> after the semicolon. I’m off to fix both problems, thank you for reporting them :D

 
Comment by Sheri
2007-03-14 07:33:36

Eric, the fixes have been put in place. Please let me know how it works out for you.

 
 
2007-03-14 10:23:28

[…] tenterhooks » Blog Archive » New Wordpress Menu […]

 
Comment by Eric
2007-03-14 12:54:51

The menu appears now, but i get an “invalid argument” error in it, and the pages are blank (the names don’t appear in the menu).

Thanks for your quick response by the way :)

Eric
tryout: ericzuzi.ericmathot.com

Comment by Sheri
2007-03-14 13:09:23

Thanks for getting back. OK then. I know that the 5 version works…it’s right up above :P My line 754 is the first call to the blogroll. Looking at the code I see that I forgot to see if there was anything there before walking through the array. Lets try to fix this before I update the download!

Please replace the blogroll function found beginning at line 740 in webdezine_css_menu.php with this function:


function webdezine_list_blogroll ($top_name_display = 'Blogroll',$head_name_class = 'blogroll_top', $sub_parent_link_class = 'blogroll_child', $roll_link_class = 'blogroll_link',$display_link_count = '0', $bobrace = '(', $eobrace = ')') {
   global $wpdb;
 
//INITAL CALLS TO THE DB
   $blogroll_query = get_blog_roll ();
  if (isset($blogroll_query)){
//HTML NECESSARY TO MAKE THE CSS WORK
    $parent_group_start_string     = '<!--[if IE 7]><!--></a><!--<![endif]--><table><tr><td><ul>';
    $parent_group_end_string       = '</ul></td></tr></table><!--[if lte IE 6]></a><![endif]--></li>';
 
//START THE ENGINE
   $output = '';
   $output .= '<ul><li><a class="'.$head_name_class.'" href="" rel="nofollow">'.$top_name_display.$parent_group_start_string;
 
   foreach ($blogroll_query as $cats){
                if ($cats->category_parent==0){    //discovering whether the category is a parent by comparing the cat id with the parent id array
                        $output .= '<li><a class="'.$sub_parent_link_class.'" title="'.$cats- rel="nofollow">cat_ID.'-'.$cats->cat_name .'" href="'.$cats->cat_ID.'">'.$cats->cat_name ;
                         if  ($display_link_count == 1 ){
                        $output .= $bobrace .$cats->link_count.$eobrace; }
                        $output .= $parent_group_start_string;
 
                        $current_parent_id = $cats->cat_ID;
                                foreach ($blogroll_query as $child_cats){
                                        if  ($child_cats->cat_ID == $current_parent_id) {
                                                $output .= '<li><a class="'.$roll_link_class.'" href="'.$child_cats- rel="nofollow">link_url.'" rel="'.$child_cats->link_rel.' name="'.$child_cats->link_name.'" title="'.$child_cats->link_description . ' rated:'.$child_cats->link_rating .' by '.$child_cats->display_name .'" target="'.$child_cats->link_rel .'" >'.$child_cats->link_name .'</a></li>';
                                                 }
                                                }
                                                $output .= $parent_group_end_string;
                }
    }
    $output .= $parent_group_end_string;
    $output .= '</ul>';
    echo $output;
}
}

 
 
Comment by Eric
2007-03-14 13:41:59

Result is on the tryout site :
i have a “parse error” screen, it evens makes logging in to the admin panel impossible.
It went away when i put the old cssmenu.php back in , I put the new one back up there so you could see.

Thanks for your time,
Eric

Comment by Sheri
2007-03-14 13:53:08

I can see the parse error, but without being able to see the file i’m just guessing. Could you email me (check the member section in the members menu for my address) the file? I’ll take a look and send it back to you. Thanks for going through all this. It’s not easy to debug and I wasn’t able to do it with PHP4. You are the only one that has come to me with an error…and I’m really happy you did! Thanks again.

Comment by Eric
2007-03-15 16:45:50

The menu works just fine now! Many thanks for your quick responses and good luck with your brilliant plugin!

 
 
 
Comment by vbernd
2007-03-15 03:12:30

i get some errors on the page, but the administration seems to work:
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 472
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 477
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 483
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 490
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 505
 
    * Seiten
 
    * Kategorien
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 665
 
    * Archives
 
WordPress database error: [Table 'testsql.l2c' doesn't exist]
select c.category_parent, c.cat_name, c.link_count, c.cat_ID , u.display_name, l2c.link_id , l.link_url, l.link_name, l.link_target, l.link_rating, l.link_description, l.link_rel from wp1_categories c left join l2c on c.cat_ID = l2c.category_id left join wp1_links l on l.link_id = l2c.link_id left join wp1_users u on l.link_owner = u.ID where l.link_visible = "Y" order by category_parent, cat_name, link_name
 
Warning: Invalid argument supplied for foreach() in /home/vbernd05/www.vbernd.com/blog/wp-content/plugins/webdezine_css_menu.php on line 754

Comment by Sheri
2007-03-15 08:12:30

you must be using a version of wordpress that is not compatible with this plugin. The plugin is compatible with wordpress 2.1+. That is why you are getting the mysql table doesn,’t exist message. Maybe you want to upgrade to the newest version of the software?

 
Comment by Sheri
2007-03-15 08:14:04

You must have done something because I see the menu on your site! Looks good too!

 
 
 
Comment by damian
2007-03-17 17:04:49

I get this error:

Warning: Invalid argument supplied for foreach() in webdezine_css_menu.php on line 754

Any ideas?

Comment by Sheri
2007-03-17 17:55:47

Yup, the fix is within the comments. If you would like to wait, I am releasing the next version with the fix for both versions later tonight. If you are PHP shy, you could simply put in a dummy blogroll link until the new version is up and ready. That’s what the problem is…you have no links! But the menu should work regardless….whoops

Sheri

Comment by Sheri
2007-03-17 18:01:17

I would also like to tell you that the commercial version of the menu is also to be released tonight. The commercial version is for commercial sites and developers. Non-profit and educational businesses are excluded from the definition of “commercial”.

 
 
 
 
Comment by Stijn
2007-03-18 18:04:27

Just so you know, Opera 9.10 doesn’t seem to be supporting this. I get the flickering, but nothing after that. Thus, actually using the navigation is impossible.

Comment by Sheri
2007-03-18 19:53:59

Thanks for letting me know! I will hunt the web to try to find a fix for opera, but i am afraid it might not come to fruition. Opera is notoriously unsupportive. Additionally, my stats indicate that opera users make up about 1% of all browsers that visit this site. :( Again, thanks for letting me know.

Comment by Stijn
2007-03-19 07:03:15

I won’t make it a problem. I you can see, I use other browsers as well.

 
 
 
Comment by Balack
2007-03-18 18:42:58

As it’s css-based it can not float down with the visitors’ movements in a window? Like it anyway, but I love to have my navigation options with me wherever I go. It’s like driving a car and being forced to drive back 100 miles to go some place that’s only one mile away. I don’t drive a car. But I have this floating Milonic menu on a non-WP site: http://www.path-work.info/pathworksearch/lectures/lecturesread.htm

Thanks for your work, it’s the best menu I’ve seen thus far and I’m a tagging/classification/navigation fanatic.

Balack

Comment by Sheri
2007-03-18 20:06:13

Hi Balack,

That is an interesting suggestion! I actually created a “fixed” CSS script for another site that required a SSL image to remain at the bottom right hand corner with or without javascript. So, it can be done. It bounces in IE6 but moves very smoothly in firefox.

Thanks for the suggestion!

Comment by Balack
2007-03-19 14:07:57

Sheri,
I like bounces in roads but not in my websites. Another thing I just thought of because I struggled with it before: I like the way you have positioned your menu, just beneath the header. Visitors at the top of any window would see it positioned there, not completely at the top of the window like hey see it when they scroll down. Well, just play with the idea. I’m gonna see whether I can think of a good categorization that suits your presentation.

One other question: are you committed to this plugin and/or is it future proof? Will WP 7.3 still understand you? Please…Childhood discovery is one thing, old age care another.

Cheerio, Balack

Comment by Sheri
2007-03-19 17:15:59

It actually bounces less than your current menu at the link provided. Almost imperceptible. I can’t see why a menu could not be positioned fixed with a top margin as well. Although somethings I think are possible in CSS are not.

Not sure what you mean by categorization.

As to the committed thing, as long as I don’t have to sign in blood, yes I am committed but I hope that by the time WP 7.3 is released, they have a group of menu options to choose from in the vanilla model so no extra plugins are necessary.

Do you know why that handle is in the logo? My main project is creating an e-cart for a Montessori Mall of sorts. Wordpress is just the vehicle I am using to document my development…but it seems to have taken over somewhat.

(Comments wont nest below this level)
 
 
Comment by Balack
2007-03-19 16:57:03

Shouldn’t the PHP4 V1.3 download contain ‘webdezine_css_menuphp4.php’?

Comment by Sheri
2007-03-19 17:18:45

Nope. That filename was causing a problem. It is the almost same file as originally released in 1.2 with the php4 name. OK, back to placing the fixes in the current versions…I got a little sidetracked with Income Taxes. The tax man waits for no one.

(Comments wont nest below this level)
 
 
 
 
Comment by Clifton K
2007-03-27 11:42:44

I like your work. Where can I contact you? Do you have an e-mail?

Regards,
Clifton, Malta

Comment by Sheri
2007-03-27 16:10:15

Hello Clifton from Malta! What a beautiful country :) Thank you for the compliment. I enjoy designing websites and programming. You can contact me by email:
***REMOVED*** SPAM BOTS :p (take out the extra spaces).

 
 
2007-03-27 22:19:50

[…] recently updated his Webdezine Pure CSS Dropdown Menu Wordpress (WP) plugin. At first, I had no idea what this plugin does even after reading what he had to say on the […]

Comment by Sheri
2007-03-27 23:00:17

Thanks for the review Syed. You’re absolutely right…css drop menus are not for the very n00bish. You have to be able to play with the css code in order to get the look you want. On a side note…I am a woman…we can code too!!!!

 
 
2007-03-29 16:44:29

[…] de eerste halte is al gelijk raak; Tenterhooks feat. Webdezine.ca Wordpress Menu. Veel verhaal, redelijk browsersafe, maar de plugin is in feite een sidebar vervanger. […]

 
2007-03-31 08:04:38

[…] tenterhooks » Blog Archive » New Wordpress Menu Plugin de Wordpress para mostrar otro tipo de navegacion. (tags: wordpress menu navigation plugin plugins menus css) […]

 
Comment by jim
2007-04-02 20:19:02

I just switched over to WordPress from RapidWeaver and need to create a drop down menu just for my Directory. If you look at the mainlink, you’ll see how I have it. (the test site is at the same address with /index.php added)I trying your plugin, I’m getting this error showing up in my pages, along with an indented box covering 3-4 lines which include nav graphics for logout, meta and site admin only when you mouse over them:

Warning: Invalid argument supplied for foreach() in /home/localsus/public_html/wp-content/plugins/webdezine/webdezine_css_menu.php on line 754

All I want is my “Directory” category to have a drop down for each sub category that is in the directory, each of which I’m creating with the “Directory” being the parent.

Any thoughts on how to do this, without too much of a headache?

Thanks,
Jim

Comment by Sheri
2007-04-13 18:08:18

Hi Jim,

I am working hard on getting the next version out so that this error is eradicated. For now, if you could simply add a blogroll link the error will go away. If you want to fix it yourself, the fix is located above in the comment by Eric.

Best, Sheri

 
 
Comment by Ashish
2007-04-13 01:40:43

First and foremost, my greetings for a great plug-in. This is incidentally the only menu that works with my WP 2.1.3 installation. I am using it for my cousin’s website and wanted your advice on the following:
Currently, all the menu items have a uniform width. However, that leaves uneven space between the items if the section headers are of different word length (e.g. ‘Contact’ and ‘About Rajendra’). Is there a way I can ensure that the space between the two sections is uniform instead of uniform width items?
Is there something that I can change in the code and make it happen?
Please help.
Thanks

Comment by Sheri
2007-04-13 18:04:10

Hi Ashish,

Thanks for the comment. This plugin will continue to work with future versions of WP until they change the way the database saves data.

The menu is designed to allow each heading to be the width of the word with uniform additional pixels to the right and left.

To change this to be uniform width regardless of length of word you need to assign a width to the topmost link in the css file:

.topmenu a, .topmenu a:visited

Simply choose a width that you want.

Best, Sheri

*WHOOPS* 04/14/07 - you also need to assign the same width to the hover attribute for the top-most links:

.topmenu ul li a.topmenu1:hover
.topmenu ul li a.topmenu2:hover
etc.
.topmenu ul li:hover a.topmenu1
.topmenu ul li:hover a.topmenu2
etc.

Without assigning a width to these classes, your menu would revert back to the old style on hover.

 
 
Comment by ChiLyn
2007-04-13 15:00:57

Hi!

This seems like a great plugin and may be very useful to me. However, upon install and adding the directed code to the header, I get a bunch of errors on my blog page. I am a bit of a newbie here (gasp!), so it may be something I did… but I don;t know what that could be. :P

Errors are as follows:

Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'webdezine_list_pages' was given in /home/content/.../html/wordpress/wp-content/plugins/webdezine_css_menu.php on line 799
 
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'webdezine_list_cats' was given in /home/content/.../html/wordpress/wp-content/plugins/webdezine_css_menu.php on line 800
 
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'webdezine_list_archives' was given in /home/content/.../html/wordpress/wp-content/plugins/webdezine_css_menu.php on line 801
 
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'webdezine_list_blogroll' was given in /home/content/.../html/wordpress/wp-content/plugins/webdezine_css_menu.php on line 802
 
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'webdezine_list_meta' was given in /home/content/.../html/wordpress/wp-content/plugins/webdezine_css_menu.php on line 803

I am using the Andreas 04 theme that is all widgety and whatnot. :)

Comment by ChiLyn
2007-04-13 16:05:37

It seems it may have something to do with the template. I haven’t tested fully, but I am getting some menu action in the Unnamed One Template. No errors so far, anyway. :)

 
Comment by Sheri
2007-04-13 18:25:36

Hi ChiLyn,

The errors that you are getting are related to the display of the menu. It’s indicating that the functions which create the meat and potatoes of the menu are not being recognized. Which version of WP are you using?

Comment by ChiLyn
2007-04-13 22:26:04

Thanks for the quick reply!

I am currently using build 2.1.3.

As I said above, I am getting the main list displayed in the current template I am using. However, all of the dropdowns are empty or not dropping at all except the Meta tab. I tired clicking on the empty menu buttons out of curiousity and they simply re-loaded my site.

Comment by Sheri
2007-04-14 06:39:30

I get you…i also should have asked which plugin you have—the one for php5 or php4?

(Comments wont nest below this level)
Comment by ChiLyn
2007-04-14 14:52:22

Hi again!

Not sure if I am breaking etiquette by putting this below the original comment line or not, but here I go anyway… :P

I tried both versions of the plugin with the other template, but only PHP4 with this one. I am (fairly) certain that my server has 4 installed, but I plan to try the other version again anyway and hope for the best. As yet, I still have not been able to get the dropdowns to populate.

 
Comment by ChiLyn
2007-04-14 18:54:30

Tried version 1.2 with my current theme and it works perfectly! I still have no idea what went wrong with the other theme I was using (too bad, too, cause it was a nice theme) — but I am a happy camper.

Thanks! :D

 
Comment by Sheri
2007-04-14 19:40:27

I’m glad it worked out…I am going to install your preferred theme on my development site and check it out anyway.

 
Comment by Sheri
2007-04-14 20:25:16

The problem with the Andreas04 theme is that it does not follow WP’s basic structure - i.e. html header information is not found in the header.php file, but is placed in each individual file(index.php, page.php, etc). This means that the hooks that plugins use to place information within the head section cannot be placed as WP cannot find the head section. It would be better to use a theme that uses the WP structure so that you can install plugins.

 
Comment by ChiLyn
2007-04-14 23:12:45

Odd. I had many plugins that worked fine. Then again, there were others that just went all nutty — I believe you have cleared up several problems for me.

Perhaps you should assume the title of Super _______ and bask in the glory of your adoring public. *nod nod*

Thanks again! :D

 
Comment by Sheri
2007-04-15 11:14:38

LOL Thanks ChiLyn….anything for a fellow Canuck

P.S. Any plugin that does not put anything into the head section would not be effected by the strange structure of the theme

 
 
 
 
 
Comment by lou
2007-04-14 08:01:19

i use opera 9.1 and firefox 2.0.2
i want to tell you that your plugin works well on firefox, but not on opera. the problem is i can’t click on the dropdown menu from each categories (pages, categories, archives, bookmarks, and also members). hope u fix it soon :)

Comment by Sheri
2007-04-14 11:56:44

Thanks for the comment :)

I have the Opera fix in place for the next release. Just finalizing the various components of the next version(was away in Las Vegas for a week and the catch-up is killing me!). It will include support for PHP5, PHP4, WP 2.0+, WP 2.1+, as well as personal and commercial applications of the menu. There will also be a in-depth support forum for people who register their versions by making donations or payments as in the case of a commercial version. I also have a menu in the works for those who use WP as a basic CMS - rather than multiple menus with headings, it will allow the blogger to list the top-most page(s)/category(s) spread across the top. Lots in the works…but only 24 hours in a day. ;)

 
 
Comment by ChiLyn
2007-04-15 13:04:51

Hello again, Super Sheri! ;)

I have another question/problem/…thingy. :P

I have been doing more testing and have added some nested categories to my site. While I am very pleased to discover that the menu you have created only shows categories that actually contain content, I have discovered that, for some reason, the nesting isn’t diplaying properly.

For example, I have put a post under the categories of:

Writing
—> Fiction
——> Character Development
——> Fantasy

each category being checked.

The Menu shows this:

Categories
|
|
Writing
—> Fiction
——> Character Development
|
|
Fantasy

Any id