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
Type: Posts; User: cliffen
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
Hi, seems your PHP version is too old. Which one is configured for your system?
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:
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'.
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...
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"...
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.
...
The export in efg is not configurable. This could only be done via code modification.
Greetings, Cliff
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
You can use the [EfgMemberSelect].
Greetings, Cliff
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...
Yep, "minDate" has to be removed ... howsoever it was added.
There is more discussed in the german commnuity board:...
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.
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).
The <span> with the text "Mandatory field" is visible.
Add a class 'invisible' to your CSS file with "display: none" ... thats all.
Greetings, Cliff
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
Thanks
Have a look at DC_Table ... there yout can find some places where "foreignKey" is read from DCA.
Hi,
i think that's not possible. Use the 'options_callback', to define a custom DB statement with filters and ordering.
Greetings, Cliff
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
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...
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