[Typo3-dev] Help with extension (TCA?)
Rainer Kuhn
kuhn at punkt.de
Mon Mar 21 16:43:31 CET 2005
Joshua Preston wrote:
> Well, I used the extension kickstarter to setup the database tables, the
> m_to, m_cc and m_bcc fields are all field types "database relation",
> with a relation to Front End Users, (fe_users) . The relation type is
> Field with Element Browser. It has 20 max num relations. I'm not using
> True M-M relations, so its a commalist of values. Should I have used
> M-M relations? I wasn't sure about that, but it says that (otherwise
> commalist of values). I didn't really think True M-M relations were
> good, but should I go that route? I'd still have the same problem, but
> maybe filtering the messages would perhaps be easier?
Hi Joshua,
if you prefer using the comma seperated lists and there's no DBAL compliant
way of filtering via the database (thx for your hint Alex, you're right :),
IMHO you have to get the whole comma seperated list string and
filter/process it via your PHP code. As Alex pointed out there are helper
functions in t3lib_div - did you try t3lib_div::inList()?
Rainer
More information about the TYPO3-dev
mailing list