Every website has footer links these days, and why should we go the old fashioned way of editing files when we can do it from the comfort of our Blesta Admin installation?

Like everything, every template is different so you will need to customise our following code to fit it in with your design. We will offer our help to our customers via support ticket, live chat, our BlestaCMS Pro discord channel.

The reason you don't need to do any edits to your load modules function because you should be already loading the footer as follows:
Loader::loadModels($this, array("cmspro.Pages", "cmspro.Blogs", "cmspro.Menus", "cmspro.Footer"));

<?php foreach( $footer_categories as $foot_cat ){ ?>
	<div class="col-sm-4">
	 <p class="footer-sub-links">
	   <b><?php echo $foot_cat->cat_title[$lang]; ?></b>
	 </p>
	 <ul>
	 <?php foreach( $footer_links as $foot_link ) if( $foot_link->parent == $foot_cat->fcid ){ ?>
   		<li><a href="<?php if($foot_link->target == '-'){ ?>//<?php echo $this->Html->safe(trim($system_company->hostname . $this->Html->safe(WEBDIR) . ($default_lang == $lang ? null : $lang . '/') . ($foot_link->uri == '/' ? null : $foot_link->uri)), ''); }else{ echo $foot_link->uri; } ?>" <?php if($foot_link->target != '-'){?>target="_blank"<?php } ?>><?php echo $foot_link->title[$lang];?></a>			</li>
	 <?php } ?>
	 </ul>
	</div>
<?php } ?>
Default code

Another example for the code:

<div class="col-lg-9">
  <div class="row">
     <?php foreach( $footer_categories as $foot_cat ){ ?>
        <div class="col-lg-3 col-md-6 mb-5 mb-lg-0">
           <div class="text-uppercase-expanded text-xs mb-4">
              <?php echo $foot_cat->cat_title[$lang]; ?>
           </div>
           <ul class="list-unstyled mb-0">
             <?php foreach( $footer_links as $foot_link ) if( $foot_link->parent == $foot_cat->fcid ){ ?>
               <li class="mb-2">
                 <a href="<?php if($foot_link->target == '-'){ ?>//<?php echo $this->Html->safe(trim($system_company->hostname . $this->Html->safe(WEBDIR) . ($default_lang == $lang ? null : $lang . '/') . ($foot_link->uri == '/' ? null : $foot_link->uri)), ''); }else{ echo $foot_link->uri; } ?>" <?php if($foot_link->target != '-'){?>target="_blank"<?php } ?>>
                 	<?php echo $foot_link->title[$lang];?>
                 </a>
               </li>
             <?php } ?>
           </ul>
        </div>
     <?php } ?>
  </div>
</div>
One we use for Blesta.store