[TYPO3-UG Russia] Нужна адекватная интеграция

Semyon Vyskubov uoziod at reviez.ru
Tue Jan 30 15:59:14 CET 2007


#
# Table structure for table 'tx_onetmaps_categories'
#

CREATE TABLE tx_onetmaps_objects (
	uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
	pid int(11) unsigned DEFAULT '0' NOT NULL,
	tstamp int(11) unsigned DEFAULT '0' NOT NULL,
	crdate int(11) unsigned DEFAULT '0' NOT NULL,
	cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
	sorting int(10) unsigned DEFAULT '0' NOT NULL,
	deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
	hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,

	latitude varchar(50) DEFAULT '0' NOT NULL,
	longitude varchar(50) DEFAULT '0' NOT NULL,
	category int(11) unsigned DEFAULT '0' NOT NULL,
	title varchar(150) DEFAULT '' NOT NULL,
	address varchar(255) DEFAULT '' NOT NULL,
	...
	expired_tstmp int(11) unsigned DEFAULT '0' NOT NULL,

	PRIMARY KEY (uid),
	KEY parent (pid)
);

---

$TCA["tx_onetmaps_objects"] = Array (
	"ctrl" => $TCA["tx_onetmaps_objects"]["ctrl"],
	"interface" => Array (
		"showRecordFieldList" => "hidden,title"
	),
	"feInterface" => $TCA["tx_onetmaps_objects"]["feInterface"],
	"columns" => Array (
		"hidden" => Array (		
			"exclude" => 1,	
			"label" => "Hidden",
			"config" => Array (
				"type" => "check",
				"default" => "0"
			)
		),
		"title" => Array (		
			"exclude" => 1,		
			"label" => "title",		
			"config" => Array (
				"type" => "text",
				"cols" => "30",	
				"rows" => "3",
			)
		),
	),
	"types" => Array (
		"0" => Array("showitem" => "hidden,title")
	),
	"palettes" => Array (
		"1" => Array("showitem" => "")
	)
);

Best wishes.
Semyon Vyskubov
u at reviez.ru


On Jan 30, 2007, at 5:56 PM, Dimitri Tarassenko wrote:

> Покажи как ты в $TCA эту таблицу описал.
>
>
> Dimitri Tarassenko
> Project Manager
> ChamberExpress™ / Advanced Computing Technologies, Inc.
> 1-877-935-0300 x 16 - http://www.chamberexpress.com
> We help you bring great businesses together.
>
>
>
>> -----Original Message-----
>> From: typo3-russia-bounces at lists.netfielders.de
>> [mailto:typo3-russia-bounces at lists.netfielders.de] On Behalf
>> Of Semyon Vyskubov
>> Sent: Tuesday, January 30, 2007 9:48 AM
>> To: TYPO3 Usergroup Russia
>> Subject: [TYPO3-UG Russia] Нужна адекватная  
>> интеграция
>>
>> Помогите, пожалуйста, разобраться в
>> такой задаче.
>>
>> Есть таблица, создавалась вручную для
>> отдельного модуля (mod1/). А теперь
>> понадобилось ТОЛЬКО ВИДЕТЬ
>> содержимое этой таблицы на
>> определённой странице. В таблицу были
>> добавлены соответствующие поля: pid,
>> crdate, и т.д. В ext_tables.php добавил
>> t3lib_extMgm::allowTableOnStandardPages("...");
>>
>> Но содержимое таблицы по прежнему не
>> проявилось на заданной странице (pid =
>> xxx), через модуль "Список" (List).
>>
>> Скажите, что делать?
>>
>> Best wishes.
>> Semyon Vyskubov
>> u at reviez.ru
>>
>>
>> _______________________________________________
>> TYPO3-russia mailing list
>> TYPO3-russia at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-russia
>>
> _______________________________________________
> TYPO3-russia mailing list
> TYPO3-russia at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-russia



More information about the TYPO3-russia mailing list