Search:

Type: Posts; User: cliffen

Search: Search took 0.00 seconds.

  1. Thread: Form Generator

    by cliffen
    Replies
    2
    Views
    2,434

    Hi, for an easy solution you can use a hidden...

    Hi,

    for an easy solution you can use a hidden field with a default value "{{user::id}}". But be careful, this is not secure, because the value can be modified via Developer Tools.

    Regards, Cliff
  2. Replies
    1
    Views
    1,904

    Hi, seems your PHP version is too old. Which one...

    Hi, seems your PHP version is too old. Which one is configured for your system?
  3. Replies
    2
    Views
    1,982

    Hi, i think you hav to use an alias. Something...

    Hi, i think you hav to use an alias.

    Something like this:


    SELECT SUM(money) as mysum FROM `tl_

    And the use it in the database result:
  4. Replies
    7
    Views
    2,736

    Look at this function, it displays the icon:...

    Look at this function, it displays the icon: https://github.com/contao/core/blob/master/system/modules/core/dca/tl_member.php#L496

    It checks the attributes 'disable', 'start' and 'stop'.
  5. Replies
    7
    Views
    2,736

    Hi, the name of the field you need is "disable"...

    Hi, the name of the field you need is "disable" (https://github.com/contao/core/blob/master/system/modules/core/dca/tl_member.php#L355)

    Add it in the listing module definition.

    This should at...
  6. Replies
    8
    Views
    2,525

    I think it would be better to distinguish between...

    I think it would be better to distinguish between the configuration in the backend and the output in the frontend.

    I would suggest:

    - keep the default englisch format in the "system setitngs"...
  7. Add a hidden field to the form (via form...

    Add a hidden field to the form (via form generator) and set the value to '{{user::email}}'.

    This should create a new column in your data. The inserttag filles in the email of the current user.
    ...
  8. The export in efg is not configurable. This could...

    The export in efg is not configurable. This could only be done via code modification.

    Greetings, Cliff
  9. Replies
    8
    Views
    2,525

    Hi, you could use this time format: H\hi ...

    Hi,

    you could use this time format:
    H\hi

    Explanation:

    - "H" returns the hours with leading zeros
    - "\h" return the "h" (The "\" escapes the letter)
    - "i" return the minuites
  10. Replies
    2
    Views
    1,596

    You can use the [EfgMemberSelect]...

    You can use the [EfgMemberSelect].

    Greetings, Cliff
  11. Replies
    6
    Views
    4,765

    Contao only sends values of fields, created with...

    Contao only sends values of fields, created with form generator. There is no simple possibility to change this.

    Use the form generator for yout fields. The HTML field could only be used for...
  12. Replies
    8
    Views
    3,297

    Yep, "minDate" has to be removed ... howsoever it...

    Yep, "minDate" has to be removed ... howsoever it was added.

    There is more discussed in the german commnuity board:...
  13. Replies
    8
    Views
    3,297

    How do you add the calendar to the form field....

    How do you add the calendar to the form field. Are you using an extension?

    In the JS Code for the initialization there is a 'minDate' defined.
  14. Thread: Metamodels 3.4

    by cliffen
    Replies
    1
    Views
    1,140

    Hi, there is a bug in Contao 3.4.0 causing...

    Hi, there is a bug in Contao 3.4.0 causing problems if models are missing. You have to wait until Contao 3.4.1 is available (which should fix this bug).
  15. The with the text "Mandatory field" is...

    The <span> with the text "Mandatory field" is visible.

    Add a class 'invisible' to your CSS file with "display: none" ... thats all.

    Greetings, Cliff
  16. Hi, i think "feEditable" in the eval array is...

    Hi,

    i think "feEditable" in the eval array is the keyword ... "feGroup" also.

    Look at my [SimpleFrontendPortlets] for an example.

    I also added a custom group ...

    Greetings, Cliff
  17. Replies
    5
    Views
    2,753

    Thanks

    Thanks
  18. Replies
    5
    Views
    2,753

    Have a look at DC_Table ... there yout can find...

    Have a look at DC_Table ... there yout can find some places where "foreignKey" is read from DCA.
  19. Replies
    5
    Views
    2,753

    Hi, i think that's not possible. Use the...

    Hi,

    i think that's not possible. Use the 'options_callback', to define a custom DB statement with filters and ordering.

    Greetings, Cliff
  20. Replies
    2
    Views
    1,967

    Hi Goran, you can use inserttags as default...

    Hi Goran,

    you can use inserttags as default value in formfields.

    Look at the manual: https://contao.org/en/manual/3.2/managing-content.html#user-properties

    Greetings, Cliff
  21. Replies
    2
    Views
    3,374

    Hi, i can reproduce the error in a test...

    Hi,

    i can reproduce the error in a test environment.

    - I modified my DCA definion of the field 'username' in tl_user (deleted the eval-Array, so the field is not mandatory).
    - Then i added a...
  22. Hi Sebastian, i think the table you are...

    Hi Sebastian,

    i think the table you are searching for is 'tl_version'.

    But the original data will be stored in a BLOB ... will be hard to read.

    Greetings, Cliff
Results 1 to 22 of 22