I m familiar with $this->countModules()
and getModule()
, but what I am looking to do is limit the output of specific module positions to the first module. I m aware that I could customize which pages modules are set to output on, or that with CSS I could visually hide those extra modules.
Is there any way to limit amount of modules for a single module position within a template?