Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmieren [2013/12/03 15:14] gevatterprogrammieren [2019/05/29 21:17] (current) gevatter
Line 1: Line 1:
 ====== Programmieren ====== ====== Programmieren ======
 +  * [[python]]
 +
 ===== HTML ===== ===== HTML =====
   * [[http://www.preissens.de/html-header/header_generator.html|HTML Header Geneator]]   * [[http://www.preissens.de/html-header/header_generator.html|HTML Header Geneator]]
Line 7: Line 9:
   * [[http://iblog.ikarius.net/index.php/2010/10/01/php-strtotime-und-kalenderwochen/|Mit Kalenderwochen rechnen]]   * [[http://iblog.ikarius.net/index.php/2010/10/01/php-strtotime-und-kalenderwochen/|Mit Kalenderwochen rechnen]]
   * [[http://www.tcpdf.org/|Bibliothek zum Arbeiten mit PDFs]] Die Doku ist dürftig aber die Funktionsumfang ist groß   * [[http://www.tcpdf.org/|Bibliothek zum Arbeiten mit PDFs]] Die Doku ist dürftig aber die Funktionsumfang ist groß
 +
 +===== mysql =====
 +==== drop all tables ====
 +<code>
 +SELECT concat('DROP TABLE IF EXISTS `', table_name, '`;')
 +FROM information_schema.tables
 +WHERE table_schema = 'MyDatabaseName';
 +</code>
 +source: https://stackoverflow.com/a/8248281
 ===== git ===== ===== git =====
   * [[http://ben.kulbertis.org/2011/10/synchronizing-a-mysql-database-with-git-and-git-hooks/|MySQL Datenbank per git synchronisieren]]   * [[http://ben.kulbertis.org/2011/10/synchronizing-a-mysql-database-with-git-and-git-hooks/|MySQL Datenbank per git synchronisieren]]
 +
 +===== grunt =====
 +
 +  * grunt installed but command not available: https://stackoverflow.com/questions/10667381/node-package-grunt-installed-but-not-available
 +
 ===== Typo3 ===== ===== Typo3 =====
   * [[http://www.tugle.de/know_how/typo3_tutorials/typoscript_komfortabel_editieren/syntax_highlighting_mit_gvim.html|vim syntax highlighting für typoscript]]   * [[http://www.tugle.de/know_how/typo3_tutorials/typoscript_komfortabel_editieren/syntax_highlighting_mit_gvim.html|vim syntax highlighting für typoscript]]
 +
 +  * bekommt seine eigene Seite [[typo3]]
 ==== Tags aus Seitentitel löschen ==== ==== Tags aus Seitentitel löschen ====
 <code> <code>
Line 84: Line 102:
  
 source: http://blog.marit.ag/2007/07/18/wie-blende-ich-bereiche-des-backends-fur-bestimmte-user-aus/ source: http://blog.marit.ag/2007/07/18/wie-blende-ich-bereiche-des-backends-fur-bestimmte-user-aus/
 +
 +==== Content Elemente kopieren und anpassen ====
 +**!UNDER CONSTRUCTION!**
 +
 +<code>
 +t3lib_div::loadTCA('tt_content');
 +$TCA['tt_content']['columns']['CType']['config']['items'][] = array('Contentslider', 'bxslider','i/tt_content_image.gif');
 +$TCA['tt_content']['types']['bxslider'] = array(
 + //'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images, image, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagelinks;imagelinks, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
 + 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images, image, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagelinks;imagelinks, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,  --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
 +);
 +// Achtung Bug!
 +// Damit CCEs Bilder rendern können, muss die id in der Datei  typo3/sysext/core/Classes/Resource/Service/FrontendContentAdapterService.php eingetragen werden!
 +// Siehe: http://forge.typo3.org/issues/46067
 +// --pdieter 20131129
 +</code>