Header & Breadcrumbs Module Positions Incorrect

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
Tue Nov 19, 2013 5:37 am
Reply with quote
Report this post
Hi there,

In the template module positions page it shows that Breadcrumbs position is above the Header. But upon putting a module in the Header position, the header seems to be above.

I wanted to create some menus to replace the sidebar in mobile views at the top above the main content. I guess the only way I can do this is by putting them in the Breadcrumbs.

Thanks.
User avatar
Gold Boarder

GK User
Tue Nov 19, 2013 6:44 pm
Reply with quote
Report this post
The breadcrumb is below the header and it is a bug in our module variations graphics problem - if you want to display any module above the header the only way is to add custom module position. More about this details you will find here >> http://www.gavick.com/documentation/joomla-extensions/how-to-add-new-module-position/
User avatar
Platinum Boarder

GK User
Wed Nov 20, 2013 2:43 am
Reply with quote
Report this post
bkrztuk wrote:The breadcrumb is below the header and it is a bug in our module variations graphics problem - if you want to display any module above the header the only way is to add custom module position. More about this details you will find here >> http://www.gavick.com/documentation/joomla-extensions/how-to-add-new-module-position/


Thanks mate
User avatar
Gold Boarder

GK User
Wed Nov 20, 2013 4:27 am
Reply with quote
Report this post
I just tried this but it gave me this error:

Fatal error: Call to undefined method GKTemplate::modules() in C:\wamp\www\gkshopbuy\templates\gk_shop_and_buy\layouts\default.php on line 123

The line it refers to is this one here:
<?php if($this->modules('mobiletopmenu')) : ?> <div class="mobiletopmenu">

Thanks.
User avatar
Gold Boarder

GK User
Wed Nov 20, 2013 4:44 am
Reply with quote
Report this post
ninjab wrote:I just tried this but it gave me this error:

Fatal error: Call to undefined method GKTemplate::modules() in C:\wamp\www\gkshopbuy\templates\gk_shop_and_buy\layouts\default.php on line 123

The line it refers to is this one here:
<?php if($this->modules('mobiletopmenu')) : ?> <div class="mobiletopmenu">

Thanks.


By the look of the code in the insitruction page you sent me and comparing to what the other code is like in the template, I added the API-> to the code as per this:

Code: Select all
<?php if($this->API->modules('mobiletopmenu')) : ?>


This seem to make the page load properly.
User avatar
Gold Boarder

GK User
Thu Nov 21, 2013 11:04 am
Reply with quote
Report this post
Yes the second code is proper.
User avatar
Platinum Boarder


cron