Hello,
i want to use this variable
{edit_date format="%Y %m %d"}inside an if
for example:
{if entry was edited}
{edit_date format="%Y %m %d"}
{/if}
I hope you can understand my question, even my english is not so good
Thanks
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 29, 2012 6:15pm
Subscribe [3]#1 / Aug 29, 2012 6:15pm
Hello,
i want to use this variable
{edit_date format="%Y %m %d"}inside an if
for example:
{if entry was edited}
{edit_date format="%Y %m %d"}
{/if}
I hope you can understand my question, even my english is not so good
Thanks
#2 / Aug 30, 2012 7:03am
how about
{if edit_date != ""} {edit_date format="%Y %m %d"}{/if}#3 / Aug 30, 2012 7:31am
with that the edit_date always show even if is equal to the entry_date
i would like to have something like this
{if edit_date !="{entry_date}”}
{edit_date format="%Y %m %d"}
{/if}
is it correct?
thanks
#4 / Aug 30, 2012 7:33am
{if edit_date != entry_date}
{edit_date format=ā%Y %m %dā}
{/if}#5 / Aug 30, 2012 7:56am
Thanks Steven 😊
#6 / Aug 30, 2012 4:52pm
Hey Fedor,
I am glad to see that Dan was able to help you.
If you need anything else, please just let me know by opening a new thread.
Cheers,