[Typo3-dev] Front-end plugin

Rob Kamp typo3 at kamp.nl.eu.org
Wed Apr 20 22:34:25 CEST 2005


Rainer Kuhn wrote:

> Rob Kamp wrote:
>
>> I have developed a simple front-end plugin through the kickstarter. I 
>> have modified it so it displays several types of layout in the 
>> front-end based on a variable tmplate in the pages setup.
>>
>> I now have a question about the back-end. I am looking for a way to 
>> only have some of the fields on the back-end form? How is this 
>> realized? I cannot find any documentation that show how this is done 
>> correctly.
>
>
> Hi Rob,
>
> I'm not sure if I got your question - do you want to hide some fields 
> of database tables you've extented? If yes, go to the the 
> ext_tables.php file of your extension and edit the line
>
> t3lib_extMgm::addToAllTCAtypes("pages", ...);
>
> HTH,
>
> Cheers Rainer
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev


Hi Rainer,

This is almost what I want. The next step is to be able to do this from 
with a template setup or constants that I define on a specific page so 
the backen will respond to the fields I have set there.  Something like 
this:
    plugin.tx_test_pi1.interface.showRecordFieldList = 'modeltype, 
brandid, tiresize'
   

I have items of the same class but of different types. E.g. I have all 
cars but my cars have different attributes (i.e. fields) based on their 
specific brand. (Hope this clarifies the question)

-- 
Met vriendelijke groet,


Rob Kamp

<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=67"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/88x31/trust.gif"/></a>



------------------------------------------------------------------------

avast! Antivirus <http://www.avast.com>: Inkomende bericht is niet besmet.

Virus Gegevensbestand (VPS): 0516-4, 20-04-2005
Getest op: 20-4-2005 22:34:05
avast! auteursrecht (c) 1988-2005 ALWIL Software.





---
avast! Antivirus: Uitgaande bericht is niet besmet.
Virus Gegevensbestand (VPS): 0516-4, 20-04-2005
Getest op: 20-4-2005 22:34:26
avast! auteursrecht (c) 1988-2005 ALWIL Software.
http://www.avast.com






More information about the TYPO3-dev mailing list