So if I want to add bottom-c how do I go about it?
I tried duplicating the code in index.php to simply add another instance thus:
Code: Select all
<?php if ($this->countModules('bottom-a', true)) : ?>
<div class="grid-child container-bottom-a">
<jdoc:include type="modules" name="bottom-a" style="card" />
</div>
<?php endif; ?>
<?php if ($this->countModules('bottom-b', true)) : ?>
<div class="grid-child container-bottom-b">
<jdoc:include type="modules" name="bottom-b" style="card" />
</div>
<?php endif; ?>
#ADDED CODE
<?php if ($this->countModules('bottom-c', true)) : ?>
<div class="grid-child container-bottom-c">
<jdoc:include type="modules" name="bottom-c" style="card" />
</div>
#ADDED CODE
<?php endif; ?>
Code: Select all
<position>bottom-a</position>
<position>bottom-b</position>
#ADDED CODE
<position>bottom-c</position>
#ADDED CODE
<position>footer</position>
<position>debug</position>
Is there a simple way to do what I want and add this position? I'm not great with digging into code, so explain in simple terms please!