[TYPO3] using added tt_news fields with news_feedit

Stefan Kaufmann kaufmann at dwwd.ch
Fri Jul 28 19:56:11 CEST 2006


Hello,
I was studying several hours to get this working but no success yet. 
Here is an extract when viewing the source:
It looks like the RTE not properly loaded. The 'bodytext' part is the 
working example which is integrated into tt_news by default. The 
'tx_ttnewsaddfields_field_1'- part is the one I would like to edit or 
add in the FE. I am unable to set the same values for field_1 as for the 
bodytext in the kickstarter.Any help from anyone?

Cheers
Stefan


<div class="tx-newsfeedit-pi1-form-row" 
class="tx-newsfeedit-pi1-form-row-bodytext">
	             <div class="tx-newsfeedit-pi1-form-label 
tx-newsfeedit-pi1-form-label-bodytext">

                        <div 
class="tx-newsfeedit-pi1-form-required-marker"></div>
                        Text:
                        <div class="tx-newsfeedit-pi1-form-help-icon"></div>
                      </div>
		     <div class="tx-newsfeedit-pi1-form-field"><input type="hidden" 
name="FE[tt_news][_TRANSFORM_bodytext]" value="RTE" />
			<div id="pleasewait1" class="pleasewait">The editor is being loaded. 
Please wait...</div>
			<div id="editorWrap1" class="editorWrap" style="visibility:hidden; 
height:382px; width:462px;">
			<textarea id="RTEarea1" name="FE[tt_news][bodytext]" 
style="position:relative; left:0px; top:0px; height:380px; width:460px; 
border: 1px solid black;">
</textarea>

			</div>
			<div class="tx-newsfeedit-pi1-rte-clearer"></div></div>

		   </div>
<div class="tx-newsfeedit-pi1-form-row" 
class="tx-newsfeedit-pi1-form-row-tx_ttnewsaddfields_field_1">
	             <div class="tx-newsfeedit-pi1-form-label 
tx-newsfeedit-pi1-form-label-tx_ttnewsaddfields_field_1">
                        <div 
class="tx-newsfeedit-pi1-form-required-marker"></div>

                        <div class="tx-newsfeedit-pi1-form-help-icon"></div>
                      </div>
		     <div class="tx-newsfeedit-pi1-form-field"><input type="text" 
name="FE[tt_news][tx_ttnewsaddfields_field_1]" 
class="tx-newsfeedit-pi1-form-data-tx_ttnewsaddfields_field_1" /></div>


		   </div>






Stefan Kaufmann wrote:
> Hi everyone,
> I added some text-fields to tt_news and they do appear in BE and FE. I 
> installed news_feedit to edit my news records and the extension works 
> fine. The added fields (used extension kickstarter) however won't show 
> up when trying to edit or create new news records with news_feedit. Only 
>  the standard tt_news fields show. I also added this to my TS-setup:
> 
> plugin.tx_newsfeedit_pi1.mthfeedit {
> // Creating
> create.fields = 
> title,datetime,image,imagecaption,imagealttext,imagetitletext,related,short,bodytext,author,author_email,category,news_files,links,type,keywords,archivedate,ext_url,hidden 
> 
> create.show_fields = 
> title,bodytext,tx_ttnewsaddfields_field_1,short,datetime,author,author_email,image,category 
> 
> create.overrideValues {
> hidden = 1
> }
> }
> 
> ...but no success. The field 'tx_ttnewsaddfields_field_1' is the one I 
> wish to add...
> Does anyone have a tip on how to solve this?
> Many thanks
> Stefan



More information about the TYPO3-english mailing list