I have a problem with the current countModules function (http://docs.joomla.org/JDocumentHTML/countModules) It seems that it returns All the assigned modules to that position, even in the case where you can´t access them.
In my case, I have a column for menus that must disappear completely if there are none, but it seems that countModules return more than 0 because I have admin only menus there. There are alternatives (javascript for example) but I think this would be helpful.
I'm going to close this item, since we have the above JoomlaCode Tracker Item. If and when you submit a pull request, please reference the JoomlaCode Tracker Item URL. Thanks!
| Labels |
Added:
?
Removed: ? |
||
| Build | ⇒ | staging | |
Thanks for posting this, Irbian! Can you send a pull request? If you need to learn how, check out this tutorial:
http://docs.joomla.org/Git_for_Coders
I also created a tracker item for this issue:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30848
You can receive notifications from it by signing in, going to the item, and clicking "Monitory Item" in the left column.
While we’re transitioning to a new integrated tracker, the JoomlaCode tracker is where we do most of Joomla's bug fixing. You can find out more about the process at:
http://docs.joomla.org/Filing_bugs_and_issues
Let me know if you have any questions and I'll be glad to answer.
Thanks again, Irbian!