Problem in adding new module position

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Sat Jul 21, 2012 9:23 pm
Hi,
as the title say, i have problem to add a new module position. I want to add one next to the logo, between the top menu and the main menu (720x...)
I followed the steps in the tutorial https://www.gavick.com/documentation/joomla-extensions/how-to-add-new-module-position/ but when i add the code in the last step i have always blank screen with the logo and the message below:

Fatal error: Call to undefined method GKTemplateLayout::modules() in /home....... on line 38

i have tried to put this code in many places (default.php, logo.php, top.php) always the same result.

is it something more i have to do specific for this template?

thanks

Nikos
User avatar
Fresh Boarder

GK User
Sat Jul 21, 2012 10:54 pm
Hi Nikos,

Please send me a PM to provide with your site backend and FTP access then I will check for you.

Thanks,
User avatar
Platinum Boarder

GK User
Sun Jul 22, 2012 9:03 am
Don Lee wrote:Hi Nikos,

Please send me a PM to provide with your site backend and FTP access then I will check for you.

Thanks,

Hi,
thanks for the reply.
Is it possible to have a mail because i don't find how to send PM, for sending the infos you asked.

thanks

Nikos
User avatar
Fresh Boarder

GK User
Mon Jul 23, 2012 6:45 am
User avatar
Platinum Boarder

GK User
Mon Jul 23, 2012 10:33 pm
Don Lee wrote:Here you go https://www.gavick.com/forums/user/compose.html?i=pm

Thank you,

Hi,
i sent the pm with the details.
If you didn't recieve them send me an email address to send them through mail.

thanks

Nikos
User avatar
Fresh Boarder

GK User
Wed Jul 25, 2012 9:08 am
Hi Nikos,

Somehow I haven't received your message yet, can you please check to send again? My email address is don at jschase dot com.

Thanks,
User avatar
Platinum Boarder

GK User
Wed Jul 25, 2012 9:55 am
Don Lee wrote:Hi Nikos,

Somehow I haven't received your message yet, can you please check to send again? My email address is don at jschase dot com.

Thanks,

Hi,
i have also sent an email. I hope to recieve it! :)

thanks

Nikos
User avatar
Fresh Boarder

GK User
Wed Jul 25, 2012 4:24 pm
Thank you for the mail, I have just added this code into default.php for you:
Code: Select all
<?php if($this->API->modules('koitop')) : ?>
            <div id="koitop">
              <jdoc:include type="modules" name="koitop" style="<?php echo $this->module_styles['koitop']; ?>" />
            </div>
            <?php endif; ?>

and now if you go to your homepage you will see your ad module display there within koitop position.

Cheers,
User avatar
Platinum Boarder

GK User
Fri Jul 27, 2012 6:16 pm
Don Lee wrote:Thank you for the mail, I have just added this code into default.php for you:
Code: Select all
<?php if($this->API->modules('koitop')) : ?>
            <div id="koitop">
              <jdoc:include type="modules" name="koitop" style="<?php echo $this->module_styles['koitop']; ?>" />
            </div>
            <?php endif; ?>

and now if you go to your homepage you will see your ad module display there within koitop position.

Cheers,

Hi,
thanks for your help.
i will try to do the same with the other positions.
thanks

Nikos
User avatar
Fresh Boarder

GK User
Sat Jul 28, 2012 2:28 pm
Feel free to let me know if you need any further assistance.

Cheers,
User avatar
Platinum Boarder

GK User
Mon Jul 30, 2012 2:28 pm
User avatar
Fresh Boarder

GK User
Mon Jul 30, 2012 4:11 pm
User avatar
Platinum Boarder


cron