<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[www.punbb-forum.de - PHP Probleme abseits des PunBB]]></title>
		<link>http://www.punbb-forum.de/forum/topic/10/php-probleme-abseits-des-punbb/</link>
		<description><![CDATA[Die neusten Beiträge in PHP Probleme abseits des PunBB.]]></description>
		<lastBuildDate>Fri, 07 Oct 2005 22:10:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/45/#p45</link>
			<description><![CDATA[Ich habe doch erstmal nur die Startseite, wenn ich alles, was sich wiederholt zu meiner Zufriedenheit eingebaut habe, erstelle ich natürlich auch die unterseiten.
Vielmehr kopiere ich sie nur noch und ändere die Texte, bzw. passe diese an.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Fri, 07 Oct 2005 22:10:53 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/45/#p45</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/44/#p44</link>
			<description><![CDATA[Huebsch, der Kalender.
Aber die Links funktionieren alle nicht auf der Site, ist das Absicht?]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Fri, 07 Oct 2005 17:30:29 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/44/#p44</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/41/#p41</link>
			<description><![CDATA[Hi,

das mit dem CSS habe ich noch nicht zu meiner vollen Zufriedenheit gelöst, aber ich habe den Kalender nach einer langen suche endlich valide bekommen.

[url=http://haresnet.com]Hier mal das Ergebnis[/url]

Ich versuche das mit dem CSS weiter, wenn ich es sauber hinbekomme hinterlasse ich mal für interessenten meine Version.

Danke für die Hinweise und Tipps.

Greetz B.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Fri, 07 Oct 2005 08:30:39 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/41/#p41</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/40/#p40</link>
			<description><![CDATA[das geht mit
[code]<link rel="styleshet" href="/mein.css">[/code]
Das kommt in den Dateiheader.
Und natuerlich dafuer das ganze statische CSS raus.
Was sich da mit deinen bestehenden Stylesheets beisst, kann ihc nicht wissen, aber das wirst du sicher dann nach und nach rausfinden koennen.]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Tue, 04 Oct 2005 11:21:48 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/40/#p40</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/39/#p39</link>
			<description><![CDATA[Pfade sind jetzt OK, da hattest du recht! :)

Jetzt zum CSS, schau mal bitte [url=http://haresnet.com]hier[/url]

Sieht hoffentlich ganz frisch aus, das ist [url]http://domain.xx[/url]
der Kalender ist aber wirklich hier, [url]http://domain.xx/calendar[/url]

In dieser, [url]http://domain.xx/calendar/index.php,[/url] ist folgender Code:

[code]////////////////////////////////////////////////////////////////
// CSS for the calender ///////////////////////////////////////
//
echo "<STYLE type=\"text/css\">
<!--
.A {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             bold;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    vertical-align:         middle;
    text-align:             center;
    color:                $numberTextColor;

}

.sel {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             normal;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    text-align:             center;
    vertical-align:         middle; 
    cursor:             default;
    color:                $selTextColor;
    background-color:        $selBGColor;
}
.event {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             normal;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    cursor:             default;
    vertical-align:         middle;
    text-align:             center;
    color:                $numberTextColor;
    background-color:        $numberBGColor;
}

.empty {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             normal;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    cursor:                default;
    vertical-align:         middle;
    text-align:             center;
    color:                $emptyTextColor;
    background-color:        $emptyBGColor;
}
.today {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             normal;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    cursor:             default;
    vertical-align:         middle;
    text-align:             center;
    color:                $todayTextColor;
    background-color:        $todayBGColor;
}";

if($act == "event") {

echo "table {
    width:                250px;
    border-style:             none;
    padding:            0px;
    margin:                0px;
    vertical-align:         middle;
}

td {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:                10;
    font-weight:              normal;
    font-style:               normal;
    text-align:             center;
    vertical-align:         middle;
    padding:            2 2 2 2;
    text-align:            left;
    vertical-align:         top;
    vertical-align:         middle;
}\n";
} else {
echo ".table {
    border-style:             none;


     border-collapse:         $spacing;
    empty-cells:             hide;
}

.td {
    font-family:             Verdana, Arial, Helvetica, sans-serif;
    font-size:             10px;
    font-style:             normal;
    line-height:             normal;
    font-weight:             normal;
    font-variant:             normal;
    text-transform:         none;
    text-decoration:         none;
    text-align:             center;
    vertical-align:         middle; 
}";
}
echo "-->\n</STYLE>\n\n";
// End of CSS
////////////////////////////////////////////////////////////////[/code]
Wie kann ich das extern gestalten, also der index.php sagen, hol dir die CSS-Datei von [url]http://domain.xx/calendar/calendar.css?[/url]

Das überwirft sich nämlich mit meinem CSS, habe schon einiges geändert, bin aber noch nicht ganz zufrieden, zumal das mit dem CSS so nicht valide ist.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Tue, 04 Oct 2005 09:02:24 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/39/#p39</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/38/#p38</link>
			<description><![CDATA[Check mal die Pfade in der Datei [url]http://domain.xx/calendar/index.php,[/url]
denn wenn du die includest, ist der Pfad ja [url]http://domain.xx/,[/url] nicht [url]http://domain.xx/calendar/.[/url]
Wahrscheinlich gibts da eine externe Javascriptdatei, die so nicht mehr gefunden wird. Hoert sich jedenfalls schwer so an]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Mon, 03 Oct 2005 17:46:34 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/38/#p38</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/37/#p37</link>
			<description><![CDATA[Lassen wir das mit dem CSS mal kurz weg.

Ich habe eine Website gemacht.
Ich hatte Interesse an einem Minikalender, den ich in meine Website einbauen kann.
Nach kurzer suche fand ich ein für mich interessanten Minikalender.
Da aber alle gefundenen Kalender auf PHP basieren, nannte ich kurzerhand die HTML-Dateien, *.htm, einfach in *.php um.
Nun habe ich den Minikalender in das Verzeichnis "calendar" gepackt, da das script wie meine Startseite index.php lautet.
jetzt habe ich in meiner index.php die index.php vom Kalender via include-Befehl eingebunden.
Nun bekomme ich aber abgespeicherte Termine auf meiner [url]http://domain.xx/index.php[/url] beim hovern über den Kalender keine Termine angezeigt.
Begebe ich mich in das Verzeichnis des Kalenders, [url]http://domain.xx/calendar/index.php,[/url] so werden die abgespeicherten Termine angezeigt.

Kann man da etwas dran machen, das die Termine auf der [url]http://domain.xx/index.php[/url] angezeigt werden?

Wenn jetzt nicht, dann nie! :D

Gruß B.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Mon, 03 Oct 2005 16:38:39 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/37/#p37</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/36/#p36</link>
			<description><![CDATA[Sorry, ich fuerchte, ich verstehe Deine Fragen absolut nicht.
*was* internes bitte?]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Mon, 03 Oct 2005 15:01:27 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/36/#p36</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/35/#p35</link>
			<description><![CDATA[Und das interne des Kalenders wird ignoriert?]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Mon, 03 Oct 2005 14:40:19 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/35/#p35</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/34/#p34</link>
			<description><![CDATA[Naja, dann machst Du Dir ein zweites Stylesheet, da packst Du dann die Styles aus der index.php rein und verfaerst ansonsten wie oben.]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Mon, 03 Oct 2005 13:41:44 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/34/#p34</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/33/#p33</link>
			<description><![CDATA[Das habe ich ja auch so, aber der Kalender ist nicht von mir, sondern freeware und dieser hat in seiner index.php das CSS eingearbeitet. Dieses möchte ich daraus extrahieren um einfacher Layout-Änderungen vornehmen zu können.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Mon, 03 Oct 2005 13:15:32 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/33/#p33</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/31/#p31</link>
			<description><![CDATA[Dein Script kann ich natuerlich nicht bis ins kleinste auseinandernehmen,
Stylesheets solltest Du aber auf jeden Fall in der Ziel (HTML)datei einbinden, also in der index.php:
<link href="calendar_styles.css" rel="stylesheet" type="text/css"> 

Warum sollte man das mit PHP machen??]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Mon, 03 Oct 2005 13:00:18 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/31/#p31</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/30/#p30</link>
			<description><![CDATA[Hi Tobi,

eingebunden habe ich die index.php folgendermaßen:

[code]<span class="calendar"><?php include 'calendar/index.php'; ?></span>[/code]
Das dazugehörige CSS ist in der PHP-Site, das möchte ich gerne als externe CSS-Datei machen. Gibt es für PHP einen speziellen Befehl eine CSS-Datei aufzurufen und zu verwenden?

Das aktuelle script in der Website bekommt man [url=http://www.blog.snag.se/projects/another-calendar]hier[/url].

Gruß B.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Mon, 03 Oct 2005 12:40:54 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/30/#p30</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/29/#p29</link>
			<description><![CDATA[Ich kenne das Script ja nciht, aber grundsaetzlich muesstest Du das an passender Stelle mit include() einbinden.
Wenn die Datei, die da includet wird, auf ein externes Styleseheet zugreift, dann reicht es auch, den Link dahin auf der Hauptseite zu setzen.
Die restliche Funktionalitaet muss dann eben in die zu includende datei.]]></description>
			<author><![CDATA[dummy@example.com (Tobi)]]></author>
			<pubDate>Mon, 03 Oct 2005 10:44:41 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/29/#p29</guid>
		</item>
		<item>
			<title><![CDATA[PHP Probleme abseits des PunBB]]></title>
			<link>http://www.punbb-forum.de/forum/post/28/#p28</link>
			<description><![CDATA[Moin - Moin, wie die Krauts zu sagen pflegen.

Ich arbeite da gerade an einem Projekt und habe mir einen minimalistischen Terminkalender in die Webseite eingebaut.
Die Anzeige auf der Website habe ich schon hinbekommen, nun möchte ich, da das ganze script nicht HTML valide ist, dieses anpassen.
Auch erfasste Termine werden nicht auf der Website ausgegeben, lediglich wenn ich den Kalender direkt anspreche, unter "calendar/index.php".

Mir ist wichtig, Die Anzeige der Termine auf der Website und das Einbinden einer externen CSS-Datei.

Leider ist mein Wissen um PHP extrem begrenzt, es reicht gerade mal zum Einbau kleiner Mods.

Hier mal der [url=http://stylefeedback.com]Link[/url], damit man sich mehr drunter vorstellen kann.

Wer kann und mag mir helfen?

Gruß B.]]></description>
			<author><![CDATA[dummy@example.com (B. Scheuert)]]></author>
			<pubDate>Mon, 03 Oct 2005 09:13:24 +0000</pubDate>
			<guid>http://www.punbb-forum.de/forum/post/28/#p28</guid>
		</item>
	</channel>
</rss>

