Strict Standards: Declaration of action_plugin_dlcount::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/dlcount/action.php on line 14

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/indexmenu/action.php on line 169

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/ipban/action.php on line 67

Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/loglog/action.php on line 82

Strict Standards: Declaration of action_plugin_navi::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/navi/action.php on line 46

Strict Standards: Declaration of action_plugin_uparrow::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/uparrow/action.php on line 69

Strict Standards: Declaration of action_plugin_userspagecreate::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/userspagecreate/action.php on line 97

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /home/www/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/auth.php on line 312

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/actions.php on line 154
backend default text [phpwcms-HowTo:wiki]

Strict Standards: Declaration of syntax_plugin_code::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/code/syntax.php on line 41

Strict Standards: Declaration of syntax_plugin_tip::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/tip/syntax.php on line 38

backend default text

The backend default text will be shown every time you are logging into your site's backend. You can show the content of this page within all of your phpwcms installations. Think of it as a convenient way to show hot news to all of your customers or use it individually as some TODO list or….

Have a look to: Custom links in "home"



Autor: Markus Schartner (markus_s) http://www.4x4-tirol.at 2009/10/24
CMS Version: >= V1.3.x



Here is some picture:

You have to set up a page where you will keep the news and information updated. By using the following code you then can pull this page into your backend default text page. Drop it into the text input field under /admin/“backend default text”.

<?php
// -------------------------------------!!!! Don´t touch !!!!---------------------------------
// obligate check for phpwcms constants
   if (!defined('PHPWCMS_ROOT')) {die("You Cannot Access This Script Directly, Have a Nice Day."); }
// -------------------------------------------------------------------------------------------
?>
 
<?php
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 IUhre NewsWebseite/index.php");
print $include; ?>


here is index.php - which is setting up the news page:

</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.example.com/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://www.example.com/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

english/phpwcms-system/admin/backend-default-text.txt · Last modified: 2011/03/01 16:47 by Knut Heermann (flip-flop)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 79