I think this module looks very promising for me. I am starting out on the learning curve, and I noticed that if I create a simple "custompage-testme.tpl.php" file like this:
asdgfsdfgsfdgsdf
<?php
$menu_name="menu-testmenu01";
print custompage_menu_tile( $menu_name);
print "queueeeeeee";
?>
fffffffffffffffff
then it fails on the menu_tile call.
I dug down and found that it was this line:
$item = _custompage_translate_path($item);
in function function custompage_menu_tile in file: custompage/custompage_util.inc that was causing the problem. That function apparently relies (according to the documentation) on some other modules that I have not installed/enabled.
Probably there should be a check to see if those modules are enabled before the attempt to translate is made.
My workaround for now is to simply comment out that line, but in the end it should probably be repaired for other people.
btw, I am an experienced old hand at i18n/l10n so I am glad to see these functions in there at all, it is a selling point for me even if I am not using it right now.
Comments
Comment #1
febbraro commentedThis is fixed and in the 1.3 release. Thanks for the report.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.