NAVIGATION
This is an old revision of the document!
Der Backend Standard Text wird auf der Login Seite ins Backend, beim Eintritt (Home) angezeigt. Es ist somit Möglich auf allen Installationen von PHPWCMS diesen Text anzeigen zu lassen. Eine Anwendung wäre zb. wenn Sie allen Ihren Kunden aktuelle News auf Ihre Stasteite im Login Bereich senden möchten.
hier eine Abbildung:
Sie müssen eine Seite im Netz erstellen auf denen Sie die “News” Seite pflegen. mit folgenden Code können Sie dann auf diese Seite zugreifen. Dieser Code ist unter “Backend Standardtext” einzutragen.
<? function url_include($url) { $ch = curl_init(); $timeout = 1; curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $result = curl_exec($ch); curl_close($ch); return $result; } ?> <?php $include = url_include("http://hier ihre newswebseite/index.php"); print $include; ?>
hier die index.php - welche die news seite bildet:
</br> <style type="text/css"> <!-- .rahmen { border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #92A1AF; border-bottom-color: #92A1AF; border-spacing: 2px; } .hoehe { padding: 2px 0 4px 5px;} --> </style> <h1 class="title">News & Kontakt</h1> <table class="rahmen" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"> <tr> <td class="hoehe"><b>DVA-Datenverarbeitung - Markus Schartner</b></td> </tr> <tr> <td class="hoehe" bgcolor="#E1E1C8"><img src="http://www.4x4-tirol.at/bilder/text_1.gif" alt="Email" width="11" height="15" border="0" align="top"><a href="mailto:ihre emailadresse"> Email</a></td> </tr> <tr> <td class="hoehe" bgcolor="#F0F0E3"><img src="http://ihre homepage/bilder/text_1.gif" alt="Telefon" width="11" height="15" align="top"> Telefon ihre telefonnummer</td> </tr> <tr> <td class="hoehe" bgcolor="#E1E1C8"><p><b>NEWS</b><br /><br /> Jetzt Onlinegang der Seite <br /> </p></td> </tr> </table>
— Markus Schartner 2009/10/24 12:37