Re: Template -> what does mosCountModules do? It returns 1 or 0 depending on if there are published modules in the section indicated in the backets;
mosCountModules('left') will return 0 if there are no modules set to the 'left' position in the module manager that are published. It will return 1 if there are 1 or more published as 'left'.
I'm thinking of advancing this on my own site to actually count the modules, or at least make some other function that counts the modules that are registered or not.
Issues I've found are the inability of joomla to allow a registered/public distinction that shows or hides modules depending if users are logged in or not, for say a registration promotion image, pointless for a user to see if they're already registered |