[TYPO3-dev] Flexible content element creation
Shanmugarajan K
shanmugarajan.k at tcs.com
Mon Dec 6 13:08:37 CET 2010
Hello Team,
Any suggestion/help regarding this?
Thanks & regards
Shan
Hello all,
I have created the FCE, but i am facing following problems on it. Can any
one help me to short it out. i am not sure this is bug?? or i have missing
some where. I have checked with templavoila but it seems related to core.
1. Required field validation is not working. All ways validation happens
in the second set of fields. ie. if we have given required for first and
second text box, it will validate always validating the second one.
2. Validation exclamation mark is not displaying near by required fields.
Please find the below xml structure for the same.
=============
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
</meta>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the HTML element on the page
which you want to be the overall container element for the
template.</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_teaser1_title type="array">
<tx_templavoila type="array">
<title>Teaser 1 Title</title>
<description>Map to channel
title(channelpage2teaser_left channelpage2teaser_title)</description>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>input</eType>
<proc type="array">
<HSC
type="integer">1</HSC>
<stdWrap></stdWrap>
</proc>
<preview></preview>
<TypoScript
type="NULL"></TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim,required</eval>
</config>
<label>Teaser 1 Title (*)</label>
</TCEforms>
</field_teaser1_title>
<field_teaser1_img type="array">
<tx_templavoila type="array">
<title>Teaser 1 Image</title>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>image</eType>
<TypoScript>10 = IMAGE
10.file.import = uploads/{$TSconst.uploadfolder}/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 123
10.stdWrap.typolink.parameter.field = field_teaser1_link
</TypoScript>
<preview></preview>
<proc type="array">
<int>0</int>
<HSC>0</HSC>
<stdWrap></stdWrap>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg,swf,bmp</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
<eval>required</eval>
</config>
<label>Teaser 1 Image (*)</label>
</TCEforms>
</field_teaser1_img>
<field_teaser1_desc type="array">
<tx_templavoila type="array">
<title>Teaser1 Description</title>
<description>Channel
Description(channelpage2teaser_left channelpage2teaser_desc)</description>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>text</eType>
<TypoScript></TypoScript>
<proc type="array">
<HSC
type="integer">1</HSC>
<stdWrap></stdWrap>
</proc>
<preview></preview>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
<eval>trim,required</eval>
</config>
<label>Teaser 1 Description
(*)</label>
</TCEforms>
</field_teaser1_desc>
<field_teaser2_title type="array">
<tx_templavoila type="array">
<title>Teaser 2 Title</title>
<description>Map to channel
title(channelpage2teaser_right channelpage2teaser_title)</description>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>input</eType>
<proc type="array">
<HSC
type="integer">1</HSC>
<stdWrap></stdWrap>
</proc>
<preview></preview>
<TypoScript
type="NULL"></TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim,required</eval>
</config>
<label>Teaser 2 Title (*)</label>
</TCEforms>
</field_teaser2_title>
<field_teaser2_img type="array">
<tx_templavoila type="array">
<title>Teaser 2 Image</title>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>image</eType>
<TypoScript>10 = IMAGE
10.file.import = uploads/{$TSconst.uploadfolder}/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 123
10.stdWrap.typolink.parameter.field = field_teaser2_link
</TypoScript>
<preview></preview>
<proc type="array">
<int>0</int>
<HSC>0</HSC>
<stdWrap></stdWrap>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg,swf,bmp</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>1</minitems>
<eval>required</eval>
</config>
<label>Teaser 2 Image (*)</label>
</TCEforms>
</field_teaser2_img>
<field_teaser2_desc type="array">
<tx_templavoila type="array">
<title>Teaser 2
Description</title>
<description>Channel
Description(channelpage2teaser_right
channelpage2teaser_desc)</description>
<sample_data type="array">
<numIndex
index="0"></numIndex>
</sample_data>
<eType>text</eType>
<TypoScript></TypoScript>
<proc type="array">
<HSC
type="integer">1</HSC>
<stdWrap></stdWrap>
</proc>
<preview></preview>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
<eval>required</eval>
</config>
<label>Teaser 2 Description
(*)</label>
</TCEforms>
</field_teaser2_desc>
</el>
</ROOT>
</T3DataStructure>
====================
Thanks & regards
Shan
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
More information about the TYPO3-dev
mailing list