I'm making a glossary and I've duplicated faq.php, faq_body.html and I've created a language file for the glossary editable in the admin cp, but I'm kind of stuck with changing the ammount of columns in faq_body.html...and I still want to be able to control how many faq blocks show (currently 4) before the next block shifts to collumn 2.
I think the edit needs to be done in here.
Code: Select all
<div class="panel bg1" id="faqlinks">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="column1">
<!-- BEGIN faq_block -->
<!-- IF faq_block.S_ROW_COUNT == 4 -->
</div>
<div class="column2">
<!-- ENDIF -->
<dl class="faq">
<dt><strong>{faq_block.BLOCK_TITLE}</strong></dt>
<!-- BEGIN faq_row -->
<dd><a href="#f{faq_block.S_ROW_COUNT}{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></dd>
<!-- END faq_row -->
</dl>
<!-- END faq_block -->
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
Many thanks!
Wookie