#1 Developer Help » Parser - how to to do this? » March 3, 2018 1:33pm

neosin
Replies: 1

Hello
In my module I have 2 date fields and want to compare them and based on the comparison display a string instead of displaying the 2 date fields in the view.

Example:
when a user goes here http://127.0.0.1/admin/mymodule/ and they see the list of entries, in the list the 2 dates would not show. Instead it would display a string based on the comparison outcome of the two date fields.

I tried putting the code in the parser field but I can't seem to put any php in there other than simple $value = X;
also it seems not possible to reference other fields in the parser field itself.

how do I proceed?

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.