set backend columns in TemplaVoila

10. March 2013

0 Kommentare

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
	<meta type="array">
		<langDisable>1</langDisable>
		<beLayout>
		            <!&#91;CDATA&#91;
		            <table width="99%" rules="all">
		                <tr>
		                    <td width="69%" valign="top">###field_content###</td>
		                    <td width="30%" valign="top">###field_rightcolumn###</td>
		                </tr>
						<tr>
		                    <td width="99%" colspan="2">###field_seofooter###</td>
		                </tr>
		            </table>
		            &#93;&#93;>
		        </beLayout>
	</meta>
	<ROOT type="array">
</ROOT>

¬ geschrieben von 7masod7 in TYPO3

change RTE default values of tables like number of columns

21. August 2012

0 Kommentare

Add this to the group, user or page TSconfig Field:
RTE.default.buttons.table.properties.headers.defaultValue = none
RTE.default.buttons.table.properties.numberOfColumns.defaultValue = 2
RTE.default.buttons.table.properties.numberOfRows.defaultValue = 2

In your own Extension you should try this in the ext_localconf.php

t3lib_extMgm::addPageTSConfig('
 
    # ***************************************************************************************
    # CONFIGURATION of RTE in table "tx_commerce_products", field "description"
    # ***************************************************************************************
RTE.config.tx_commerce_products.description {
  buttons.table.properties.headers.defaultValue = none
  buttons.table.properties.numberOfColumns.defaultValue = 2
  buttons.table.properties.numberOfRows.defaultValue = 2
}
');

¬ geschrieben von 7masod7 in TYPO3

using class tslib_cObj and parseFunc() in own class

8. February 2012

0 Kommentare


require_once(PATH_t3lib.'class.t3lib_tcemain.php');
$cObj = t3lib_div::makeInstance('tslib_cObj');
$tparseFunc = $GLOBALS['TSFE']->tmpl->setup['lib.']['parseFunc_RTE.'];
$cObj->parseFunc($stellenangebot['anforderungen'],$tparseFunc);

¬ geschrieben von 7masod7 in extensions, TYPO3

remove default-css from extension

11. January 2012

0 Kommentare

TypoScript:

plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >
plugin.extensionkey._CSS_DEFAULT_STYLE >

¬ geschrieben von 7masod7 in TYPO3

show pageId in pagetree

25. August 2011

0 Kommentare

enter in user or usergroup TSConfig or in page TSConfig

options.pageTree.showPageIdWithTitle = 1

¬ geschrieben von 7masod7 in TYPO3

selectbox foreign table plugin flexform

26. July 2011

0 Kommentare

<category>
             <TCEforms>
                <exclude>1</exclude>
                <label>Projektkategorie:</label>
                    <config>
                      <type>select</type>
                      <items>
                          <numIndex index="0" type="array">
                                <numIndex index="0">Bitte Wählen</numIndex>
                                <numIndex index="1"></numIndex>
                          </numIndex>
                     </items>       
                     <foreign_table>tx_bbshowroom_categories</foreign_table>
                     <foreign_table_where> ORDER BY tx_bbshowroom_categories.uid DESC</foreign_table_where>
                     <size>1</size>
                     <min>1</min>
                     <max>1</max>
                    </config>
            </TCEforms>
        </category>

¬ geschrieben von 7masod7 in extensions, TYPO3

set page access automatically

3. June 2011

0 Kommentare

TSconfig:

TCEMAIN {
# groupId
permissions.groupid = 1

permissions.user = show, editcontent, edit, delete, new
permissions.group = show, editcontent, edit, delete, new

permissions.everybody =
}

¬ geschrieben von 7masod7 in TYPO3

using TYPO3 diff-function in frontend extensions

3. June 2011

0 Kommentare

$t3lib_diff_Obj = t3lib_div::makeInstance('t3lib_diff');
$differenz = $t3lib_diff_Obj->makeDiffDisplay($text1, $text2);
$differenz = nl2br($differenz);

¬ geschrieben von 7masod7 in extensions, TYPO3

get rootline from any page

3. June 2011

0 Kommentare

$rootline = $GLOBALS['TSFE']->sys_page->getRootLine($uid);
$rootline = array_reverse($rootline);

¬ geschrieben von 7masod7 in extensions, TYPO3

rte in subheader tt_news

3. June 2011

0 Kommentare

rte in subheader of tt_news
edit typo3conf/extTables.php

<?php
t3lib_div::loadTCA('tt_news');
$GLOBALS&#91;'TCA'&#93;&#91;'tt_news'&#93;&#91;'columns'&#93;&#91;'short'&#93;&#91;'config'&#93;&#91;'softref'&#93; = 'typolink_tag,images,email&#91;subst&#93;,url';
$GLOBALS&#91;'TCA'&#93;&#91;'tt_news'&#93;&#91;'columns'&#93;&#91;'short'&#93;&#91;'config'&#93;&#91;'wizards'&#93; = array(
	'_PADDING' => 4,
	'RTE' => array(
		'notNewRecords' => 1,
		'RTEonly' => 1,
		'type' => 'script',
		'title' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
		'icon' => 'wizard_rte2.gif',
		'script' => 'wizard_rte.php',
	),
);
foreach($GLOBALS['TCA']['tt_news']['types'] as $index => $conf) {
	$GLOBALS['TCA']['tt_news']['types'][$index]['showitem'] = preg_replace('/short([.^,])*,/', 'short;;;richtext:rte_transform[flag=rte_enabled|mode=ts];4-4-4,', $GLOBALS['TCA']['tt_news']['types'][$index]['showitem']);
}
?>

and we need typoscript

plugin.tt_news {
  displayList {
    subheader_stdWrap.stripHtml = 0
    subheader_stdWrap.crop =
    subheader_stdWrap.parseFunc =< lib.parseFunc_RTE
    subheader_stdWrap.outerWrap >
  }
}

¬ geschrieben von 7masod7 in extensions, TYPO3

Theme von BenediktRB • Powered by Wordpress • Abonniere den RSS Feed