{{indexmenu_n>10}} ====== Custom links in "home" ====== **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.\\ {{:english:other-enhancements:backend:custom-links-in-home:custom_links01_en_1.gif|}} ===== Necessary preparations ===== - as there are: - create the folder "include/inc_ext/**be_special**". - 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 "**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**". \\ ---- Docu: -- \\ Forum: -- **Author:** K.Heermann (flip-flop) http://planmatrix.de \\ **CMS Version:** >= 1.4x \\ **Version:** V1.0 //(11.05.2010)// \\ **Folder:** include/inc_ext/be_special/ * \\ **Condition:** -- ---- \\ Have a look into the files "include/inc_ext/be_special/startupX(_YY).php" and you will understand the functional. The vars for e.g. "%%$BL['be_custom_link01_1_title']%%" you will find in "include/inc_ext/be_special/lang/backend/(YY)/lang.inc.php". Play around a little bit. **If there is a section in "startupX(_YY).php" you don´t need, please kill the entries.** ~~UP~~ ===== Some link examples: ===== **Open a folder with the ID=13:** //(You can´t open a folder if the parent folder is closed)//. \\ **Open the article with the ID=15:** \\ **Edit the article with the ID=15:** \\ **Edit the contentpart with the ID=22 in category ID=14:** \\ ~~UP~~ ===== Code: ===== Insert this snippet to template/inc_default/startup.php This snippet integrates the new file startupX.php. **File:** template/inc_default/startup.php \\ ===== Download: ===== **Files in zip archive:** * custom links * 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_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/lang/backend/de/lang.inc.php //(The german language file)// * include/inc_ext/be_special/lang/backend/en/lang.inc.php //(The english language file)// * filebrowserX.php //(A passive file browser with some extensions: [[english/other-enhancements/backend/custom-links-in-home/filebrowserx]])// \\ **File:** {{:english:other-enhancements:backend:be_special_v10.zip|custom links, filebrowserX, act_fileX}}