serendipity_plugin_category_dhtml_menu.php

Creating and modifying plugins.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

serendipity_plugin_category_dhtml_menu.php

Post by JWalker »

serendipity_plugin_category_dhtml_menu.php version v1.10

The line 107 contains

Code: Select all

        if (@include_once('HTML/TreeMenu.php') || @include_once('HTML_TreeMenu/TreeMenu.php')) {
This if expression does not evaluate to true and its else part executes. When I removed the left part of || operator it evaluated to true and categories tree appeared. TreeMenu.php is in HTML_TreeMenu in my installation.
Now I use this construction

Code: Select all

if (@include_once('HTML_TreeMenu/TreeMenu.php')) {
and it works.

Regards,
Ivan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_plugin_category_dhtml_menu.php

Post by garvinhicking »

Thanks for that pointer! Just committed an update!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply