Advertisement
krot

joomla добавляет class custom jdoc:include модуля

Jan 18th, 2016
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. templates/mytml/html/mod_custom/default.php
  2. <?php
  3. defined('_JEXEC') or die;
  4. if($moduleclass_sfx){  
  5.    echo '<div class="'.$moduleclass_sfx.'">' . $module->content . '</div>';  
  6. }
  7. else{
  8.    echo $module->content;
  9. }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement