{{indexmenu_n>10}} ====== Enhanced Frontend-Editor ====== > Just created an enhancement for the frontend-editor i could no more live without :) > > As simple as it gets. This Tweak adds: > 1. "Go to Backend" Button > 2. "New structure" //(below active structure)// button > 3. "New article" //(into active structure)// button > > Installation: > 1. create "rt_more_fe_links.php" and paste the code below. > 2. put the file into "template/inc_script/frontend_render/..". > > The box is only visible to logged in admin, also requires the frontend editor to be enabled. > > {{:deutsch:andere-erweiterungen:frontend:phpwcmsenhancedfeeditor.jpg|}} \\ ---- Docu: -- \\ Forum: [[http://forum.phpwcms.org/viewtopic.php?p=132644|Enhanced Frontend Editor (Easy)]] **Author:** Konstantin Schultes (phalancs) [[http://www.enym.com]] \\ **CMS Version:** >= 1.4x \\ **Version:** V1.0 //(27.02.2012)// \\ **Condition:** -> [[http://www.phpwcms-docu.de/config_files.phtml|config/phpwcms/conf.inc.php]] \\ * $phpwcms['allow_ext_render'] = 1; * $phpwcms['frontend_edit'] = 1; * $phpwcms['SESSION_FEinit'] = 1; ---- \\ ===== PHP: ===== **File:** 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'] .= '
'; } ?>
\\