Help me add Google Adsense Banner (728 * 90) beside Logo

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Jul 15, 2012 10:46 am
I followed all the steps in adding a new module position but i cannot see the module position listed in the sitemap...I am using joomla 2.5, and the world news 2 template

I need this module for my 728px by 90px google adsense to the right of my logo. I have moved my logo to the right by adding the code in the Overide css in the template.

I followed the step by step instruction on
https://www.gavick.com/documentation/jo ... -position/ but i still dont see the module position

step 1 ......The first step in adding a new module position to your active template is to edit the templateDetails.xml file. This is located under the template folder. Once opened for code editing, locate the <postions></positions> tags:
<postions>mytop</positions>

step2: Add the new module position tot he template module styles by editing the gk.const.php file located in /lib/framework.
'mytop' = 'none'

STep 3: All template files are located in the layouts folder. Default.php is the default template view, and it contains code blocks located in layouts/blocks. The module may be added directly into the default.php file or to one of these blocks. Paste the following code:
<?php if($this->modules(‘mytop’)) : ?>
<div>
<jdoc:include type=”modules” name=”mytop” style=”<?php echo $this->module_styles['mytop']; ?>” />
</div>
<?php endif; ?>

I SEE THE MODULE POSITION WHEN I SELECT POSITIONS FOR MY CUSTOM HTML BUT I DONT KNOW WHAT TO DO TO CUSTOMISE MY CSS.............
CAN SOMEONE HELP ME???

beddy.de is the site
User avatar
Fresh Boarder

GK User
Sun Jul 15, 2012 11:50 pm
Hi,

Please try to follow this topic instead https://www.gavick.com/forums/131/is-it ... 16605.html

Thanks,
User avatar
Platinum Boarder

GK User
Tue Jul 17, 2012 11:41 am
@Don lee , u guys keep refering people to read this post or that post but come to find out that some files mentioned in the post dont exist in the template one is working on......
I have sent u 3 emails with my login info..... the post u asked me to read, didnt help me..........i dont understand why u guys didnt add this position in the first place... u guys know that alot of people use this position to add their banner ads..so it should have been added to avoid all this aftermath.....welll the post u refered me to ...https://www.gavick.com/forums/131/is-it ... ml...didnt help me.
I would greatly appreciate it if u take a look at this for me...it has been almost 2weeks since i sent u an email with my login info...i will resend it again..please, im begging u to take a look at it for me. i need a new module position call MYTOP added between the logo and the login of my TWN2 Template
User avatar
Fresh Boarder

GK User
Thu Jul 19, 2012 8:58 am
Hi,

I'm sorry for any confusion, I have just checked your site and moved the code you had added from default.php to /blocks/logo.php

and now the banner shows up beside the logo as you want.

Cheers,
User avatar
Platinum Boarder

GK User
Thu Jul 19, 2012 5:42 pm
Thank u don lee for taking care of the MYTOP position in beddy.de for me. But now i did the steps all over again on another site of mine and its showing up in the sitemap, but i cant see the position in my modules so as to select it


step 1 ......The first step in adding a new module position to your active template is to edit the templateDetails.xml file. This is located under the template folder. Once opened for code editing, locate the <postions></positions> tags:
<postions>mytop</positions>

step2: Add the new module position tot he template module styles by editing the gk.const.php file located in /lib/framework.
'mytop' = 'none'

STep 3:. Paste the following code in logo.php
<?php if($this->modules(‘mytop’)) : ?>
<div>
<jdoc:include type=”modules” name=”mytop” style=”<?php echo $this->module_styles['mytop']; ?>” />
</div>
<?php endif; ?>

Please tell me what i am doing wrong now.. I see it in sitemap but dont see it in positions

more1.jpg


http://www.topafric.com is the site
User avatar
Fresh Boarder

GK User
Thu Jul 19, 2012 6:12 pm
Hi,

Please tell me what you have done and been stuck, also send a PM to provide access to this site then I will check for you.

Cheers,
User avatar
Platinum Boarder

GK User
Thu Jul 19, 2012 10:10 pm
i sent u a PM with the login info for www.topafric.com.. please check ur PM...thank u
User avatar
Fresh Boarder

GK User
Mon Jul 23, 2012 5:38 am
It's really weird that everything I tried to change in the xml file is not affected so I have thought of another solution for you that is to use an existed position which has been declared in that file to use instead of mytop, it's "bottom12" which I saw there's no module assigned to there yet. So now please assign your ads module to that position to see it beside your logo.

Thanks,
User avatar
Platinum Boarder

GK User
Mon Jul 23, 2012 5:40 pm
Don thanks for adding that position. but i am having an error showing up after adding the ad banner. dont know if it is related or not. i see that the bottom12 position is at the top and also at the bottom. after adding the banner, i see the error message JLIB_APPLICATION_ERROR_COMPONENT_NOT_LOADING...please advice..thanks in advance..

jlib2.jpg
User avatar
Fresh Boarder

GK User
Wed Jul 25, 2012 12:26 pm
Hi,

Can you let me know where the error code appears?

I forgot to unload the bottom12 position in bottom place, that's why it showed it twice, I have just fixed for you.

Cheers,
User avatar
Platinum Boarder

GK User
Wed Jul 25, 2012 2:47 pm
@don lee, the errror message is still there and i dont know what is causing it.... JLIB_APPLICATION_ERROR_COMPONENT_NOT_LOADING .. it is right above the TOP1 position....but i dont have anything in that position.....look at the print screen and u will see it below the menus. it shows up twice....
jlib2.jpg
User avatar
Fresh Boarder

GK User
Wed Jul 25, 2012 5:04 pm
I don't think it's a problem from that customization, I did some searching on Google and it seems to be some problem from Kunena component such as http://forum.joomla.org/viewtopic.php?p=2542109
User avatar
Platinum Boarder


cron