[TYPO3-templavoila] Content Elements wizards don't work

Jan Bednarik info at bednarik.org
Sun Oct 26 16:58:07 CET 2008


Hi guys,

I'd like to have Flexible Content element that would allow me to 
organize any content in 3 columns. I imagine having 3 selector box that 
would browse tt_content table. So far it's OK, but when I add wizards to 
this selector box (add/edit) they just don't work. Add wizard adds a 
content to a page but doesn't add item to the selector box. Edit wizard 
pops up and then disappears.

The definition is following:

<field_z type="array">
				<tx_templavoila type="array">
					<title>ABC</title>
					<sample_data type="array">
						<numIndex index="0"></numIndex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript>
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
                     </TypoScript>
					<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
				</tx_templavoila>
				<TCEforms type="array">
					<config type="array">
						<type>group</type>
						<internal_type>db</internal_type>
						<allowed>tt_content</allowed>
						<size>5</size>
						<maxitems>200</maxitems>
						<minitems>0</minitems>
						<multiple>1</multiple>
						<show_thumbs>1</show_thumbs>
								<wizards>
									<_PADDING>1</_PADDING>
									<_VERTICAL>1</_VERTICAL>
									<add>
										<type>script</type>
										<title>Add</title>
										<icon>add.gif</icon>
										<params>
											<table>tt_content</table>
											<pid>###CURRENT_PID###</pid>
											<setValue>prepend</setValue>
										</params>
										<script>wizard_add.php</script>
									</add>
									<edit>
										<type>popup</type>
										<title>Edit</title>
										<icon>edit2.gif</icon>
									 
<JSopenParams>height=350,width=580,status=0,menubar=0,scrollbars=1</JSopenParams>
										<popup_onlyOpenIfSelected>1</popup_onlyOpenIfSelected>
										<script>wizard_edit.php</script>
									</edit>
								</wizards>
					</config>
					<label>ABC</label>
				</TCEforms>
			</field_z>

Any ideas?

Thanks

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-project-templavoila mailing list