[TYPO3] problem with cag_pagebrowser

Roelof Wobben rwobben at hotmail.com
Sun Mar 4 15:21:56 CET 2007


Hello,

I try to make this plugin working.

I did as far as i know everything from the book.
I changed my DS to :
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
	<meta type="array">
		<langChildren type="integer">1</langChildren>
		<langDisable type="integer">0</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_menu type="array">
				<tx_templavoila type="array">
					<title>menu</title>
					<description>menu</description>
					<sample_data type="array">
						<numIndex index="0">menu</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<tags>*:inner</tags>
					<TypoScriptObjPath>lib.zmenu</TypoScriptObjPath>
				</tx_templavoila>
			</field_menu>
			<field_titel type="array">
				<tx_templavoila type="array">
					<title>titel</title>
					<description>titel</description>
					<sample_data type="array">
						<numIndex index="0">titel</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<TypoScriptObjPath>lib.titel</TypoScriptObjPath>
				</tx_templavoila>
			</field_titel>
			<field_datum type="array">
				<tx_templavoila type="array">
					<title>datum</title>
					<description>datum</description>
					<sample_data type="array">
						<numIndex index="0">Datum</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<TypoScriptObjPath>lib.datum</TypoScriptObjPath>
				</tx_templavoila>
			</field_datum>
			<field_content type="array">
				<tx_templavoila type="array">
					<title>content</title>
					<description>content</description>
					<sample_data type="array">
						<numIndex index="0">content</numIndex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript>
                                                                             
    <field_pagebrowser type="array">
<tx_templavoila type="array">
<title>Pagebrowser</title>
<description>Map this to the place you want the pagebrowser to 
be</description>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>plugin.tx_cagpagebrowser</objPath>
</eType_EXTRA>
<TypoScriptObjPath>plugin.tx_cagpagebrowser</TypoScriptObjPath>
</tx_templavoila>
</field_pagebrowser>

	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;
                    </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>
					</config>
					<label>content</label>
				</TCEforms>
			</field_content>
		</el>

          </ROOT>
</T3DataStructure>

I saved this DS.

I cleared the buffers.

But when i make a article the pagebrowser did not show up in the type field.

What am i doing wrong ??

Roelof

_________________________________________________________________
Veilig & gerust mailen met de verbeterde antivirusscan van Live Mail! 
http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl



More information about the TYPO3-english mailing list