[TYPO3-realty] Strategies for changing/customising/hiding fields & options ?

Christoph Stadler christophe at stadler.com
Tue Nov 30 12:47:09 CET 2010


Hello all,

i'm working on two different realty projects for two very different 
clients and both need completely different options from each other and 
the ones provided in the realty as defaults.

For example one of them prices flats depending on 5 or 6 different seasons:

Summer low
Summer High
Winter low
Winter mid
Winter high
Special dates (christmas, new year, festival)

i could use something like this to use other fields i don't need:

plugin.tx_realty_pi1._LOCAL_LANG.default.label_deposit = Winter low-season
plugin.tx_realty_pi1._LOCAL_LANG.default.label_provision = Winter mid-season
plugin.tx_realty_pi1._LOCAL_LANG.default.label_usable_from = Winter 
high-season
plugin.tx_realty_pi1._LOCAL_LANG.default.label_rent_excluding_bills = Summer

But this might create problems in the future if the client at some point 
decides to need one of the fields i reallocated. It also doesn't change 
the BE labels so it's confusing.

Before i used to hack the database field names but that also wasn't a 
good solution.

Then i also need to change some of the options, one client might need a 
'Balcony' option the other one a 'View of the mountain' option, how do i 
add custom fields i need.

And also i would need to hide some options i don't need at all in the BE 
form so the form only displays what i'm using, for example i don't need 
Country/City selector (all objects are in the same village) and am not 
using the Teaser or Contact Data Source (all objects are from the same 
provider) and i don't want the air conditioning option to appear ...

SO my question is how do i add new fields and options i need, and how do 
i only display what i want ... what's the best/intelligent/elegant 
solution to do this


More information about the TYPO3-project-realty mailing list