Differences

This shows you the differences between two versions of the page.

english:other-enhancements:backend:custom-links-in-home [2010/08/23 23:37]
Knut Heermann (flip-flop)
english:other-enhancements:backend:custom-links-in-home [2018/06/03 18:09] (current)
Line 3: Line 3:
====== Custom links in "home" ====== ====== Custom links in "home" ======
-Backend: This snippet places a user link range in " home". You can use any type of link.+**Backend:** This snippet places a user link range in " home". You can use any type of link.
 +Inspired by this snippet of Markus: [[english/phpwcms-system/admin/backend-default-text]]
E.g.\\ E.g.\\
Line 15: Line 16:
  - create the folder "include/inc_ext/**be_special**".   - create the folder "include/inc_ext/**be_special**".
  - create the folders "include/inc_ext/**be_special/lang/backend/de**- and **/lang/backend/en**".   - create the folders "include/inc_ext/**be_special/lang/backend/de**- and **/lang/backend/en**".
-  - copy and paste the file "**startup.php**" into the **folder "template/inc_default**".+  - copy and paste the file "**startup.php**" into the folder "**template/inc_default**".
  - copy and paste the file "**startupX.php**" into the folder "**...be_special**".   - copy and paste the file "**startupX.php**" into the folder "**...be_special**".
  - copy and paste the files "**lang.inc.php**" into the folders "**...be_special/lang/backend/de**- and **...be_special/lang/backend/en**".   - copy and paste the files "**lang.inc.php**" into the folders "**...be_special/lang/backend/de**- and **...be_special/lang/backend/en**".
Line 42: Line 43:
<note>Play around a little bit. **If there is a section in "startupX(_YY).php" you don´t need, please kill the entries.** </note> <note>Play around a little bit. **If there is a section in "startupX(_YY).php" you don´t need, please kill the entries.** </note>
 +
 +~~UP~~
===== Some link examples: ===== ===== Some link examples: =====
   
-**Open a folder with the ID=13:** +**Open a folder with the ID=13:** //(You can´t open a folder if the parent folder is closed)//.
<code html><a href="phpwcms.php?do=articles&open=13:1"></code> <code html><a href="phpwcms.php?do=articles&open=13:1"></code>
\\ \\
Line 60: Line 63:
\\ \\
 +~~UP~~
===== Code: ===== ===== Code: =====
Line 69: Line 73:
**File:** template/inc_default/startup.php **File:** template/inc_default/startup.php
-<code hrml>+<code php> 
 +<?php 
 +// -------------------------------------!!!! Don´t touch !!!!--------------------------------- 
 +// obligate check for phpwcms constants   
 +   if (!defined('PHPWCMS_ROOT')) {die("You Cannot Access This Script Directly, Have a Nice Day."); } 
 +// ------------------------------------------------------------------------------------------- 
 +?> 
<!-- fill in information for your customers here --> <!-- fill in information for your customers here -->
Line 96: Line 107:
    * include/inc_ext/be_special/startupX.php //(include the right startupX(_YY).php)//     * include/inc_ext/be_special/startupX.php //(include the right startupX(_YY).php)//
    * include/inc_ext/be_special/startupX_de.php //(The german file)//     * include/inc_ext/be_special/startupX_de.php //(The german file)//
-    * include/inc_ext/be_special/startupX_en.php //(The englisch file)//+    * include/inc_ext/be_special/startupX_en.php //(The english file)//
    * include/inc_ext/be_special/act_fileX.php //(file for "delete all files from filecenter trash can" -> [[english/other-enhancements/backend/custom-links-in-home/move-deleted-files]])//     * include/inc_ext/be_special/act_fileX.php //(file for "delete all files from filecenter trash can" -> [[english/other-enhancements/backend/custom-links-in-home/move-deleted-files]])//
    * include/inc_ext/be_special/lang/backend/de/lang.inc.php  //(The german language file)//     * include/inc_ext/be_special/lang/backend/de/lang.inc.php  //(The german language file)//
english/other-enhancements/backend/custom-links-in-home.1282599434.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
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