Results 1 to 4 of 4

Thread: Contao 3 and MySQL fulltext index

  1. #1
    New user
    Join Date
    12-27-12.
    Posts
    16

    Default Contao 3 and MySQL fulltext index

    Hello,

    How can I set a fulltext index in Contao 3? can we customize DCA to add fulltext index?

    Thanks

    David

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Contao 3 and MySQL fulltext index

    Code:
    $GLOBALS['TL_DCA']['TL_TABLENAME']['config']['sql']['keys']['KEY_NAME'] = 'fulltext';

  3. #3
    New user
    Join Date
    12-27-12.
    Posts
    16

    Default Re: Contao 3 and MySQL fulltext index

    Hello

    Thanks, but where did you put that? in dca?

    See U

    David

  4. #4
    New user qzminski's Avatar
    Join Date
    01-08-13.
    Location
    Poland
    Posts
    24

    Default Re: Contao 3 and MySQL fulltext index

    Yes, in DCA. You can clearly see that it is located in the config settings of the data container.
    Contao ambassador
    Codefog - Contao web development

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
  •