Google Adsense
Google Adsense
Ich möchte gern unter einer Detailseite der Rubrik Neuigkeiten Google-Adsense Anzeigen einfügen. Wo füge ich am besten das Javasrcipt ein. Im Template ist es ja nicht möglich.
- MarkusR
- Handbuchversteher
- Beiträge: 7362
- Registriert: 01.01.1970 01:00
- Hat sich bedankt: 111 Mal
- Danksagung erhalten: 934 Mal
- Kontaktdaten:
Entweder in der detail.php der Rubrik oder im local_footer der Rubrik oder im global_footer mit vorheriger Abfrage der Rubrik, um es nur dort anzuzeigen.
Ciao Markus
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
Hallo Markus,
Wo in der Detail.php? Ich habe eine reklame.php mit dem Adsense-Code angelegt und anschließend in die detail.php includet. Funzt aber net.
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: */
// +----------------------------------------------------------------------+
// | ConPresso version 3 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2000-2003 |
// | Bartels Schoene GmbH & Co. KG, 48149 Muenster, Germany |
// +----------------------------------------------------------------------+
// | This source file is subject to ConPresso license version 2002-11-16 |
// | that is bundled with this package in the files LICENSE_EN.TXT or |
// | LICENSE_DE.TXT, and is available at through the world-wide-web at |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT or |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT |
// | If you did not receive a copy of the ConPresso license and are |
// | unable to obtain it through the world-wide-web, please send a note |
// | to license@conpresso.de so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: ConPresso development and support team |
// | <support@conpresso.de> |
// +----------------------------------------------------------------------+
//
// $Id: detail.php,v 1.1.1.1.2.7 2003/10/14 20:23:28 balu Exp $
define('CPO', true);
if (file_exists("../_cfg/const.php")) require("../_cfg/const.php");
else require("../_cfg/const.php.dist");
$katego = $kategorie;
require(CPO_BASEDIR."_include/category_rubric.inc.php");
if ( $directory == '' )
{
$directory = $_SESSION['SID_Rubrik'];
}
require(CPO_BASEDIR."_include/var_category.php");
// not needed...?
// require(CPO_BASEDIR.$directory."/const_rubric_language.php");
$Artikel_header = $Rubric_header;
require(CPO_BASEDIR."_include/secure.php");
# --- HEADER ---
require(CPO_BASEDIR.$directory."/_inc_header.php");
require(CPO_BASEDIR."_includesite/i_detail.php");
include('../neuigkeiten/reklame.php');
include('../taf/tell_a_friend.inc.php');
# --- FOOTER ---
require(CPO_BASEDIR.$directory."/_inc_footer.php");
?>
Wo in der Detail.php? Ich habe eine reklame.php mit dem Adsense-Code angelegt und anschließend in die detail.php includet. Funzt aber net.
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: */
// +----------------------------------------------------------------------+
// | ConPresso version 3 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2000-2003 |
// | Bartels Schoene GmbH & Co. KG, 48149 Muenster, Germany |
// +----------------------------------------------------------------------+
// | This source file is subject to ConPresso license version 2002-11-16 |
// | that is bundled with this package in the files LICENSE_EN.TXT or |
// | LICENSE_DE.TXT, and is available at through the world-wide-web at |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT or |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT |
// | If you did not receive a copy of the ConPresso license and are |
// | unable to obtain it through the world-wide-web, please send a note |
// | to license@conpresso.de so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: ConPresso development and support team |
// | <support@conpresso.de> |
// +----------------------------------------------------------------------+
//
// $Id: detail.php,v 1.1.1.1.2.7 2003/10/14 20:23:28 balu Exp $
define('CPO', true);
if (file_exists("../_cfg/const.php")) require("../_cfg/const.php");
else require("../_cfg/const.php.dist");
$katego = $kategorie;
require(CPO_BASEDIR."_include/category_rubric.inc.php");
if ( $directory == '' )
{
$directory = $_SESSION['SID_Rubrik'];
}
require(CPO_BASEDIR."_include/var_category.php");
// not needed...?
// require(CPO_BASEDIR.$directory."/const_rubric_language.php");
$Artikel_header = $Rubric_header;
require(CPO_BASEDIR."_include/secure.php");
# --- HEADER ---
require(CPO_BASEDIR.$directory."/_inc_header.php");
require(CPO_BASEDIR."_includesite/i_detail.php");
include('../neuigkeiten/reklame.php');
include('../taf/tell_a_friend.inc.php');
# --- FOOTER ---
require(CPO_BASEDIR.$directory."/_inc_footer.php");
?>
- MarkusR
- Handbuchversteher
- Beiträge: 7362
- Registriert: 01.01.1970 01:00
- Hat sich bedankt: 111 Mal
- Danksagung erhalten: 934 Mal
- Kontaktdaten:
Funzt es denn, wenn es nicht includet wird?
Irgendeine Kontrollausgabe mal mit einbauen? Damit zumindest sichergestellt ist, daß die Datei auch wirklich includet wird?
Ist der Adsense-Code tatsächlich ein PHP-Script???
(sorry, ich kanns nicht wissen, da ich sowas nicht mag auf Webseiten)
Irgendeine Kontrollausgabe mal mit einbauen? Damit zumindest sichergestellt ist, daß die Datei auch wirklich includet wird?
Ist der Adsense-Code tatsächlich ein PHP-Script???
(sorry, ich kanns nicht wissen, da ich sowas nicht mag auf Webseiten)
Ciao Markus
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
- semf
- Modul-Entwickler
- Beiträge: 1853
- Registriert: 01.01.1970 01:00
- Wohnort: Gütersloh-Friedrichsdorf
- Hat sich bedankt: 14 Mal
- Danksagung erhalten: 40 Mal
- Kontaktdaten:
.. adsense ist komplett javascript. aber wie markus schon schrieb -
was funzt denn nicht? da adsense auf content reagiert, sollte der auch
ausreichend da sein. denn wenn adsense nichts findet, dann zeigt es
anzeigen von hilfsorganisationen an oder nimmt die hintergrundfarbe
deiner website an - kommt drauf an, wie du es konfiguriert hast!
was funzt denn nicht? da adsense auf content reagiert, sollte der auch
ausreichend da sein. denn wenn adsense nichts findet, dann zeigt es
anzeigen von hilfsorganisationen an oder nimmt die hintergrundfarbe
deiner website an - kommt drauf an, wie du es konfiguriert hast!
Viel Erfolg!
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download
Sorry, so funzt es nicht.
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: */
// +----------------------------------------------------------------------+
// | ConPresso version 3 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2000-2003 |
// | Bartels Schoene GmbH & Co. KG, 48149 Muenster, Germany |
// +----------------------------------------------------------------------+
// | This source file is subject to ConPresso license version 2002-11-16 |
// | that is bundled with this package in the files LICENSE_EN.TXT or |
// | LICENSE_DE.TXT, and is available at through the world-wide-web at |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT or |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT |
// | If you did not receive a copy of the ConPresso license and are |
// | unable to obtain it through the world-wide-web, please send a note |
// | to license@conpresso.de so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: ConPresso development and support team |
// | <support@conpresso.de> |
// +----------------------------------------------------------------------+
//
// $Id: detail.php,v 1.1.1.1.2.7 2003/10/14 20:23:28 balu Exp $
define('CPO', true);
if (file_exists("../_cfg/const.php")) require("../_cfg/const.php");
else require("../_cfg/const.php.dist");
$katego = $kategorie;
require(CPO_BASEDIR."_include/category_rubric.inc.php");
if ( $directory == '' )
{
$directory = $_SESSION['SID_Rubrik'];
}
require(CPO_BASEDIR."_include/var_category.php");
// not needed...?
// require(CPO_BASEDIR.$directory."/const_rubric_language.php");
$Artikel_header = $Rubric_header;
require(CPO_BASEDIR."_include/secure.php");
# --- HEADER ---
require(CPO_BASEDIR.$directory."/_inc_header.php");
require(CPO_BASEDIR."_includesite/i_detail.php");
<script type="text/javascript"><!--
google_ad_client = "pub-2139935784708995";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
google_ad_channel ="";
google_color_border = "CC0000";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
# --- FOOTER ---
require(CPO_BASEDIR.$directory."/_inc_footer.php");
?>
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: */
// +----------------------------------------------------------------------+
// | ConPresso version 3 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2000-2003 |
// | Bartels Schoene GmbH & Co. KG, 48149 Muenster, Germany |
// +----------------------------------------------------------------------+
// | This source file is subject to ConPresso license version 2002-11-16 |
// | that is bundled with this package in the files LICENSE_EN.TXT or |
// | LICENSE_DE.TXT, and is available at through the world-wide-web at |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT or |
// | http://www.conpresso.de/license/LICENSE ... -11-16.TXT |
// | If you did not receive a copy of the ConPresso license and are |
// | unable to obtain it through the world-wide-web, please send a note |
// | to license@conpresso.de so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: ConPresso development and support team |
// | <support@conpresso.de> |
// +----------------------------------------------------------------------+
//
// $Id: detail.php,v 1.1.1.1.2.7 2003/10/14 20:23:28 balu Exp $
define('CPO', true);
if (file_exists("../_cfg/const.php")) require("../_cfg/const.php");
else require("../_cfg/const.php.dist");
$katego = $kategorie;
require(CPO_BASEDIR."_include/category_rubric.inc.php");
if ( $directory == '' )
{
$directory = $_SESSION['SID_Rubrik'];
}
require(CPO_BASEDIR."_include/var_category.php");
// not needed...?
// require(CPO_BASEDIR.$directory."/const_rubric_language.php");
$Artikel_header = $Rubric_header;
require(CPO_BASEDIR."_include/secure.php");
# --- HEADER ---
require(CPO_BASEDIR.$directory."/_inc_header.php");
require(CPO_BASEDIR."_includesite/i_detail.php");
<script type="text/javascript"><!--
google_ad_client = "pub-2139935784708995";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
google_ad_channel ="";
google_color_border = "CC0000";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
# --- FOOTER ---
require(CPO_BASEDIR.$directory."/_inc_footer.php");
?>
- MarkusR
- Handbuchversteher
- Beiträge: 7362
- Registriert: 01.01.1970 01:00
- Hat sich bedankt: 111 Mal
- Danksagung erhalten: 934 Mal
- Kontaktdaten:
Javascript innerhalb eines PHP-Tags funktioniert NIE... Webmaster X
Probiere es doch mal im HTML-Teil
Das sieht dann so aus
http://mods.50n.de/jobs/detail.php?nr=79&kategorie=jobs
Probiere es doch mal im HTML-Teil
Code: Alles auswählen
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: */
// +----------------------------------------------------------------------+
// | ConPresso version 3 |
// +----------------------------------------------------------------------+
// | Copyright (c) 2000-2003 |
// | Bartels Schoene GmbH & Co. KG, 48149 Muenster, Germany |
// +----------------------------------------------------------------------+
// | This source file is subject to ConPresso license version 2002-11-16 |
// | that is bundled with this package in the files LICENSE_EN.TXT or |
// | LICENSE_DE.TXT, and is available at through the world-wide-web at |
// | http://www.conpresso.de/license/LICENSE_EN-2002-11-16.TXT or |
// | http://www.conpresso.de/license/LICENSE_DE-2002-11-16.TXT |
// | If you did not receive a copy of the ConPresso license and are |
// | unable to obtain it through the world-wide-web, please send a note |
// | to license@conpresso.de so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: ConPresso development and support team |
// | <support@conpresso.de> |
// +----------------------------------------------------------------------+
//
// $Id: detail.php,v 1.1.1.1.2.7 2003/10/14 20:23:28 balu Exp $
define('CPO', true);
if (file_exists("../_cfg/const.php")) require("../_cfg/const.php");
else require("../_cfg/const.php.dist");
$katego = $kategorie;
require(CPO_BASEDIR."_include/category_rubric.inc.php");
if ( $directory == '' )
{
$directory = $_SESSION['SID_Rubrik'];
}
require(CPO_BASEDIR."_include/var_category.php");
// not needed...?
// require(CPO_BASEDIR.$directory."/const_rubric_language.php");
$Artikel_header = $Rubric_header;
require(CPO_BASEDIR."_include/secure.php");
# --- HEADER ---
require(CPO_BASEDIR.$directory."/_inc_header.php");
require(CPO_BASEDIR."_includesite/i_detail.php");
?>
<script type="text/javascript"><!--
google_ad_client = "pub-2139935784708995";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
google_ad_channel ="";
google_color_border = "CC0000";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php
# --- FOOTER ---
require(CPO_BASEDIR.$directory."/_inc_footer.php");
?>
http://mods.50n.de/jobs/detail.php?nr=79&kategorie=jobs
Ciao Markus
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
ConPresso-Module
Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!
Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
- semf
- Modul-Entwickler
- Beiträge: 1853
- Registriert: 01.01.1970 01:00
- Wohnort: Gütersloh-Friedrichsdorf
- Hat sich bedankt: 14 Mal
- Danksagung erhalten: 40 Mal
- Kontaktdaten:
... also wenn du an einer lösung interessiert bist - kann man sich das
denn mal wo anschauen? ich meine, das ergebnis?
ps: du testet das ganze aber nicht lokal und bekommst evtl. keine
verbindung nach draussen?
denn mal wo anschauen? ich meine, das ergebnis?
ps: du testet das ganze aber nicht lokal und bekommst evtl. keine
verbindung nach draussen?
Viel Erfolg!
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download
- semf
- Modul-Entwickler
- Beiträge: 1853
- Registriert: 01.01.1970 01:00
- Wohnort: Gütersloh-Friedrichsdorf
- Hat sich bedankt: 14 Mal
- Danksagung erhalten: 40 Mal
- Kontaktdaten:
... in was für einem dreck suhlt ihr euch den sonst?Du solltest mal einen sauberen Editor nehmen und dann den Code ganz sauber einbinden.
Viel Erfolg!
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download
Module ConPresso 4.x
Latest News
Tell-a-friend
Module ConPresso 3.4.x
Index_X
Kontakt
RSS-Feed
Umfrage
Gästebuch
Tell-a-Friend
Modul-Download