Titles Not Displaying

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Nov 24, 2013 9:19 am
Reply with quote
Report this post
Hi there,

I created a new module position however the module titles do not seem to be displaying. The titles display fine in other locations.

Is there something that needs to be altered for that to work?

Thanks.
User avatar
Gold Boarder

GK User
Mon Nov 25, 2013 11:20 pm
Reply with quote
Report this post
Hi.
On which template position you don't have module title ?
Because there are about 20 of them... :side:
User avatar
Platinum Boarder

GK User
Mon Nov 25, 2013 11:24 pm
Reply with quote
Report this post
Oh, you are talking about new.
Probably you have to add style look at this example

Code: Select all
<jdoc:include type="modules" name="newmodule" style="<?php echo $this->module_styles['sidebar']; ?>" />


check this out.
Replace "newmodule' with your module name.
User avatar
Platinum Boarder

GK User
Tue Nov 26, 2013 4:02 pm
Reply with quote
Report this post
Hi there, I believe my syntax is correct already. This is it here:

<jdoc:include type="modules" name="mobiletopmenu" style="<?php echo $this->module_styles['mobiletopmenu']; ?>" />

If I place modules in breadcrumb position I also have the same issue with no titles.

Thanks.
User avatar
Gold Boarder

GK User
Fri Nov 29, 2013 8:34 am
Reply with quote
Report this post
Any answer?

Thanks.
User avatar
Gold Boarder

GK User
Sat Nov 30, 2013 12:41 am
Reply with quote
Report this post
Sorry I was out off office whole day and for dew days we had problems with Moderator dashboard.
User avatar
Platinum Boarder

GK User
Sat Nov 30, 2013 12:56 am
Reply with quote
Report this post
It's because some positions by default don't have "title" - but you can change that here

templates/gk_shop_and_buy/lib/framework/gk.const.php

Code: Select all
// definitions of module positions default styles
$GK_TEMPLATE_MODULE_STYLES = array(
   'breadcrumb' => 'none',
   'lang' => 'none',
   'search' => 'none',
   'topmenu' => 'none',
.....


so if you want titles - change "none" to "gk_style"

For example I did it for breadcrumbs, and right now this module can show title, like few others.
breadcrumbs.png
User avatar
Platinum Boarder

GK User
Mon Dec 02, 2013 2:41 am
Reply with quote
Report this post
Thanks I will give that a try. :)
User avatar
Gold Boarder