FAQ - Hook: tpl_footer_widgets

Hook: tpl_footer_widgets

4515


Place some widgets dynamically in the footer. This is an example how igrid used this hook:

<?php if (is_numeric(JAK_BCONTENT1_IGRID_TPL)) {   <br ?-->            if (isset($JAK_HOOK_FOOTER_WIDGET) && is_array($JAK_HOOK_FOOTER_WIDGET)) foreach($JAK_HOOK_FOOTER_WIDGET as $hfw) {
            if ($hfw["id"] == JAK_BCONTENT1_IGRID_TPL) {
                include_once $hfw["phpcode"];
        } } } else { echo JAK_BCONTENT1_IGRID_TPL;}?>