-
AuthorPosts
-
October 19, 2013 at 5:44 pm #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.netNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 22, 2013 at 12:46 pm #509854I 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)
October 23, 2013 at 8:32 pm #510023Hi Ninja,
I sent you the info.
ThanksNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 24, 2013 at 10:45 am #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
<?phpdefined('_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
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
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