[Typo3-dev] kickstarter and db-relations

Daniel Gercke gercke at hnm.de
Mon Sep 13 13:37:30 CEST 2004


Hello,

> Hello
> 
>>
>> i've build a little extension in the kickstarter which connects some
>> tables by relations. now i dont want to show the relation_id in the
>> listview, but the connected datafield(s)
> 
> 
> I think you did not configure the field as relation to another table? 
> (perhaps you did only specified that the value is an integer?)

no it is a relation to another table. it looks like:

      table_person            table_adress
      ____________            _____________
  |-> personid        |--->   adressid
  |   adressid(lf) ---|       country
  |   name                    area-code(lf)
  |   gender
  |
  |  table_consultant
  |  ________________
  |  consultantid
  |- personid(lf)

*(lf) = labelfield

now we have defined for persons as labelfield=adressid, and for 
table_adress is labelfield = area-code.
if we look into listmode for person, we will see the adressid coming 
from table_adress but we want to see area-code. better: <area-code, 
country>... same problem in tceform for consultant, when i want to 
choose a person i see the adressid.


how we can do it?
(the example above is not our table)

>> what do i have to do to become dates before 01.01.1970 into these field?
> 
> 
> it is a negativ value were is the problem? (look at the two birthdaylist 
> extensions for example..)
> 



> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 


--
haus neuer medien GmbH . agentur fuer neuen antrieb
.
Tel 03834 8313 0 . Fax 8313 13 . info at hnm.de . www.hnm.de
Wolgaster Strasse 146  (Ollmannsche Villa) . 17489 Greifswald
AG Stralsund HRB 5089 . Geschaeftsfuehrer Daniel Scheibner
.
-- 
[Diese Nachricht gilt als frei von Viren und gefaehrlichen Dateianhaengen.
Schutz vor Viren und Spam von haus neuer medien. Bei Fragen oder Interesse Kontakt ueber mailscanner at hnm.de oder 03834 83130.]






More information about the TYPO3-dev mailing list