Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Modules
»
Mod_Ads + Google Adsense problem [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Mod_Ads + Google Adsense problem [SOLVED] (Read 5486 times)
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Mod_Ads + Google Adsense problem [SOLVED]
«
on:
June 09, 2014, 15:17:03 »
I'm trying to use the mod_ads module with the use of Google Adsense. I input the code as given from Google, but it shows this part of code, instead of the advertisement:
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-315
XXXXXXXX
89"
data-ad-slot="408
XXXXXXXX
06">
«
Last Edit: June 09, 2014, 22:22:23 by rentasite
»
Logged
Rent a Site
|
Lelevose
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Mod_Ads + Google Adsense problem
«
Reply #1 on:
June 09, 2014, 17:41:34 »
Make sure you write all the code in
one line
!
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Mod_Ads + Google Adsense problem
«
Reply #2 on:
June 09, 2014, 22:22:08 »
With all the code in one line, it works.
Thanks!!
Logged
Rent a Site
|
Lelevose
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Mod_Ads + Google Adsense problem [SOLVED]
«
Reply #3 on:
June 09, 2014, 22:51:06 »
This is global rule for all XML parameters. All parameters values, regardless their length, should be entered in one line only. This is because line ends are considered parameters separator. You have no problem thinking of this rule for no other parameter type than textarea. Textarea parameter type is rarely used in Elxis extensions.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Modules
»
Mod_Ads + Google Adsense problem [SOLVED]