{{indexmenu_n>10}} {{indexmenu_n>10}} ====== Erweiterter Frontend-Editor ====== > Gerade habe ich eine Erweiterung für den Frontend-Editor erstellt, ich könnte nicht mehr leben ohne :) > > So einfach wie es nur geht. Dieser Tweak fügt hinzu: > 1. "Gehe in das Backend" Button > 2. "Neue Struktur" //(unterhalb der aktiven Struktur)// Button > 3. "Neuer Artikel" //(in der aktiven Struktur)// Button > > **Installation:** > 1. Erstelle eine Datei "rt_more_fe_links.php" und kopiere den unten gezeigten Code hinein. > 2. Die Datei wird in "template/inc_script/frontend_render/.." abgelegt. > > **Die Box ist nur sichtbar für eingeloggte Administratoren, der Frontend-Editor muss aktiviert sein.** > > {{:deutsch:andere-erweiterungen:frontend:phpwcmsenhancedfeeditor.jpg|}} \\ ---- Docu: -- \\ Forum: [[http://forum.phpwcms.org/viewtopic.php?p=132644|Enhanced Frontend Editor (Easy)]] **Autor:** Konstantin Schultes (phalancs) [[http://www.enym.com]] \\ **CMS Version:** >= 1.4x \\ **Version:** V1.0 //(27.02.2012)// \\ **Bedingung:** -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] \\ * $phpwcms['allow_ext_render'] = 1; * $phpwcms['frontend_edit'] = 1; * $phpwcms['SESSION_FEinit'] = 1; ---- \\ ===== PHP: ===== **Datei:** template/inc_script/frontend_render/rt_more_fe_links.php #admin_box1 { position: absolute; right: 80px; top: 3px; color: white; border: 1px solid #030; padding: 3px; background-position: center center; background-repeat: no-repeat; height: 16px; width: 16px; cursor: pointer; z-index: 10000; background-color:#8cb963; } #admin_box2 { position: absolute; right: 31px; top: 3px; color: white; border: 1px solid #030; padding: 3px; background-position: center center; background-repeat: no-repeat; height: 16px; width: 37px; cursor: pointer; z-index: 10000; background-color:#fff58a; } '; //ADD THE ADMIN BOX $content['all'] .= '
'; $content['all'] .= '
'; $content['all'] .= '
'; } ?>
\\