Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dcasmr Friend
    #191544

    Hi There,
    I have been trying to get help for days without luck. I am not sure if I should continue using JA University at all.
    The modules names do not show even when you check to display them in joomla…
    Please help.
    Site: http://www.leburkina.net

    Ninja Lead Moderator
    #509854

    I would need to take a closer look at your site, pls pm me FTP account of your site, I will help you to debug it ( I tried to access with ftp account you provided in this thread but without success)

    dcasmr Friend
    #510023

    Hi Ninja,
    I sent you the info.
    Thanks

    Ninja Lead Moderator
    #510109

    <em>@dcasmr 394960 wrote:</em><blockquote>Hi Ninja,
    I sent you the info.
    Thanks</blockquote>

    I have just fixed the title of module on your site this way

    Create templates/ja_university/html/modules.php file

    And below script


    <?php

    defined('_JEXEC') or die('Restricted access');

    /**

    * This is a file to add template specific chrome to module rendering. To use it you would

    * set the style attribute for the given module(s) include in your template to use the style

    * for each given modChrome function.

    *

    * eg. To render a module mod_test in the sliders style, you would use the following include:

    * <jdoc:include type="module" name="test" style="slider" />

    *

    * This gives template designers ultimate control over how modules are rendered.

    *

    * NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same

    * three arguments.

    */

    /*

    * Default Module Chrome that has sematic markup and has best SEO support

    */

    function modChrome_JAxhtml($module, &$params, &$attribs)

    {

    $badge = preg_match ('/badge/', $params->get('moduleclass_sfx'))?"<span class="badge"> </span>n":"";

    ?>

    <div class="ja-moduletable moduletable<?php echo $params->get('moduleclass_sfx'); ?> clearfix" id="Mod<?php echo $module->id; ?>">

    <?php echo $badge; ?>

    <?php if ($module->showtitle != 0) : ?>

    <h3><span><?php echo $module->title; ?></span></h3>

    <?php endif; ?>

    <div class="ja-box-ct clearfix">

    <?php echo $module->content; ?>

    </div>

    </div>

    <?php

    }

    /*

    * Module chrome that allows for rounded corners by wrapping in nested div tags

    */

    function modChrome_JArounded($module, &$params, &$attribs)

    {

    $badge = preg_match ('/badge/', $params->get('moduleclass_sfx'))?"<span class="badge"> </span>n":"";

    ?>

    <div class="ja-module ja-box-br module<?php echo $params->get('moduleclass_sfx'); ?>" id="Mod<?php echo $module->id; ?>">

    <div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl clearfix">

    <?php echo $badge; ?>

    <?php if ($module->showtitle != 0) : ?>

    <h3><span><?php echo $module->title; ?></span></h3>

    <?php endif; ?>

    <div class="jamod-content ja-box-ct clearfix">

    <?php echo $module->content; ?>

    </div>

    </div></div></div>

    </div>

    <?php

    }

    Let me know if it helps

    dcasmr Friend
    #510140

    Hi Ninja,
    It works perfectly as far as the modules titles showing.
    Thank you so much.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  dcasmr 11 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum