Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 05:39:59 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
Adsense - how to SOLVED
Pages: [
1
]
Go Down
Author
Topic: Adsense - how to SOLVED (Read 1989 times)
Ben Meijer
Offline
Posts: 34
Adsense - how to SOLVED
«
on:
September 09, 2007, 11:11:14 PM »
Hi Guys,
I want to ask about experience with implementation of Adsense.
I tried to take the HTML and convert to PHP using print, and cut and paste into the Code either in WSYWIG or in Code section.
Neither seems to work. Any ideas or experience??
Or does somebody have a better plan, like in the templates
Kind regards,
Ben
«
Last Edit: September 13, 2007, 08:40:40 AM by Ben Meijer
»
Logged
doc
Guest
Re: Adsense
«
Reply #1 on:
September 10, 2007, 10:43:59 AM »
Hello,
code does not work when added to a WYSIWYG page. Use a code page/section instead. Search the forum for
heredoc
which should point you to the right direction. Another possibility is to write your own code snippet (search the forum for code snippet to learn more).
Regards Christian
Logged
Ben Meijer
Offline
Posts: 34
Re: Adsense
«
Reply #2 on:
September 12, 2007, 12:02:51 PM »
Hi Christian,
Thank you for your reply,
I've embedded youtube before by just adding a code section, making sure the code was PHP and not HTML, and that was it.
Why does it not work just the same?
I cannot find the heredoc you refer to, it this a typo?
Kind Regards,
Ben
Logged
doc
Guest
Re: Adsense
«
Reply #3 on:
September 12, 2007, 03:01:35 PM »
Hello,
ever tried the advanced search??? Simply search there for heredoc.
If you would post the damn code you try to add, help would be more easy to all of us. With the level of information you are providing it is just not possible to help
So my last tip. Most likely you have a typo in your code or forgot to escape special chars.
Christian
«
Last Edit: September 12, 2007, 03:04:28 PM by doc
»
Logged
Ben Meijer
Offline
Posts: 34
Re: Adsense - Solved.
«
Reply #4 on:
September 13, 2007, 08:39:11 AM »
thanks to your tireless help, and some experimentation on my part, I solved how to add Addsense.
Aparantly, when converting HTML as provided by Google, you need to use the
print "\n";
For those of us who dont want to manually convert everything, this tool assisted me
http://www.quasarcr.com/html2php/
Have a good day.
Ben
Logged
lexscripta
Offline
Posts: 62
Re: Adsense - how to SOLVED
«
Reply #5 on:
October 17, 2007, 03:28:37 AM »
Thanks for the edification... BUt I thought google provided Javascript?
LexScripta
«
Last Edit: October 17, 2007, 03:44:08 AM by lexscripta
»
Logged
Ben Meijer
Offline
Posts: 34
Re: Adsense - how to SOLVED
«
Reply #6 on:
December 06, 2007, 05:14:55 PM »
Yes, they provide javascript and HTML.
And you still need to make php eat that.
Kind regards,
Ben
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...