Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#346 2024-09-16 19:59:01
Re: mem_postmaster - Postmaster Revamp
Bloke wrote #337873:
we need to put the whole expression in the
testattribute.
Only in this rather special valueless query case. Your snippet was fine (and quite logical), it’s just that not does not work this way. A ‘normal’ tag detects which (true or false) part it should process before parsing it. The global not just inverses this choice. But <txp:evaluate /> must parse first its content to know whether it’s empty and only then eventually handle not attribute. I don’t think we have implemented this exception.
Offline
#347 2024-09-17 10:10:17
Re: mem_postmaster - Postmaster Revamp
etc wrote #337874:
Only in this rather special valueless
querycase. Your snippet was fine (and quite logical), it’s just thatnotdoes not work this way. A ‘normal’ tag detects which (true or false) part it should process before parsing it. The globalnotjust inverses this choice. But<txp:evaluate />must parse first its content to know whether it’s empty and only then eventually handlenotattribute. I don’t think we have implemented this exception.
Thanks Oleg for this thorough explanation. It should go in the wiki, no? What’s the modus operandi to update the wiki?
Offline
#348 2024-09-17 10:18:16
Re: mem_postmaster - Postmaster Revamp
Someone has to submit it :-) Also, I’d prefer not to document Easter eggs, they are hacky and subject to change.
Offline