[+introtext:ifempty=`[+content+]`+]
[+introtext:ifempty=`[+pagetitle+]`+]
[+introtext:isnot=``:then=`[+introtext+]...`:else=`[+content:word_limit=`100`+]...`+]
[+phx:if=`[+introtext+]`:ne=``:then=`[+content+]`:else=`[+introtext+]`+]
It shows intro well but others only "..."!
I have done this before but using a slightly different syntax[+introtext:isnot=``:then=`[+introtext+]...`:else=`[+content:word_limit=`100`+]...`+]
It shows nothing as content and for docs have intro, puts content in [+phx:if=` and `+]
Or you can try with another syntax as well:
[+phx:if=`[+introtext+]`:ne=``:then=`[+content+]`:else=`[+introtext+]`+]
[+introtext:isnot=``:then=`[+introtext+]...`:else=`[+content+]...`+]
I had been tried it ....
Try without the word_limit extender (not sure if that is default or extra)
[+introtext:isnot=``:then=`[+introtext+]...`:else=`[+content+]...`+]
If this doesn’t work try changing the Ditto call cache settings [[ ]] or [! !]
[+phx:if=`[+introtext+]`:is=``:then=`[+content+]`:else=`[+introtext+]`+]
I did it with Ditto summary extender. when &trunc=0, Ditto will check for introtext and replace it with [+summary+] else (there is no intro) uses content without "Read more" link as output.I did not know that trick. Good to know But I wonder why it did not work with PHx?