Results 1 to 4 of 4

Thread: DCA - Extend only eval

  1. #1

    Default DCA - Extend only eval

    Hi.
    Is it possible to only extend eval of field?

    For example I have made module which extend event with some extra fields.
    I have need to extend or change field "location" eval so that 'tl_class' will have 'w50' and not 'long' (as core).

    Does anybody has some experience or idea how to achieve that?

    Kind regards,
    Andraz
    Web design agency - EDsolution.si Izdelava spletnih strani

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    untested
    PHP Code:
    $GLOBALS['TL_DCA']['tl_events']['fields']['location']['eval']['tl_class'] = 'w50'
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  3. #3

    Default

    Unfortunately it doesn't work
    Web design agency - EDsolution.si Izdelava spletnih strani

  4. #4

    Default

    Don't know why my post wasn't submited but ok.

    Andreas unfortunately this code snippet isn't working :S
    Web design agency - EDsolution.si Izdelava spletnih strani

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •