Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dca fields for tl_iso_products not loading! #1060

Closed
tsarma opened this issue Apr 10, 2014 · 3 comments
Closed

Custom dca fields for tl_iso_products not loading! #1060

tsarma opened this issue Apr 10, 2014 · 3 comments

Comments

@tsarma
Copy link
Contributor

tsarma commented Apr 10, 2014

Inside custom module: /dca/tl_iso_product.php

$GLOBALS['TL_DCA']['tl_iso_product']['fields']['flagged'] = array
(
    'label'                   => &$GLOBALS['TL_LANG']['tl_iso_product']['flagged'],
    'exclude'                 => true,
    'filter'                  => true,
    'inputType'               => 'checkbox',
    'eval'                    => array('submitOnChange'=>true),
    'sql'                     => "char(1) NOT NULL default ''"
);

above is not loading, not even showing add database field 'flagged' when I run install script. Dca cache is disabled! Is this a bug?

@tsarma
Copy link
Contributor Author

tsarma commented Apr 10, 2014

Why does isotope DCA always loads afterwards!!
break-contract

This differs from standard

@aschempp
Copy link
Member

You must set the dependencies in your autoload.ini

@tsarma
Copy link
Contributor Author

tsarma commented Apr 10, 2014

Thanks, I learned something new today. I works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants