Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#361 2021-01-30 12:42:08
Offline
#362 2021-01-30 17:07:15
Re: etc_query: all things Textpattern
Yiannis
——————————
neme.org | hblack.net | EMAP | A Sea change | NeMe @ github
I do my best editing after I click on the submit button.
Offline
#363 2021-01-30 17:13:20
Offline
#364 2021-01-30 17:49:58
Re: etc_query: all things Textpattern
Thanks so much Oleg,
I’ll install it and report if there are any issues.
Yiannis
——————————
neme.org | hblack.net | EMAP | A Sea change | NeMe @ github
I do my best editing after I click on the submit button.
Offline
#365 2021-05-16 19:20:01
Re: etc_query: all things Textpattern
Version 1.4 is released. Main news:
- added
ini
markup, to importini
-formatted arrays; - added
sort
attribute, to order (flat) multi-dimensional arrays by one or several fields.
Offline
#366 2021-05-19 16:26:43
Re: etc_query: all things Textpattern
Version 1.5 is available. Main news:
- empowered
sort
attribute for ordering multi-dimensional (sub-)arrays by several fields. - chainable
markup
attribute, to enable customizable mixed markups.
Example:
<txp:variable name="winners">
name=Alice
age=11
place=2
--
name=Bob
age=9
place=2
--
name=Cindy
age=10
place=1
</txp:variable>
<txp:etc_query data='<txp:variable name="winners" />'
markup="list:--, ini"
sort="[place|age<nat]"
wraptag="ol" break="li"
>
{name?} ({age?} years old)
</txp:etc_query>
outputs
- Cindy (10 years old)
- Bob (9 years old)
- Alice (11 years old)
Offline
#367 2021-06-15 14:44:44
Re: etc_query: all things Textpattern
Version 1.5.1 is CSV-import-able, thanks to Stef for a possible use case (wrap it into etc_cache
if needed):
<txp:etc_query markup="csv" url=".../export?format=csv" wraptag="table">
{$doWrap($|tr|td)}
</txp:etc_query>
Offline
#368 2023-02-22 21:56:18
- lazlo
- Member
- Registered: 2004-02-24
- Posts: 110
Re: etc_query: all things Textpattern
Hey Oleg
I tried to install etc_query 1.5.8 as my first plugin on a completely a brand new 4.8.8 install.
I got this: “Badly formed or empty plugin code.” Sad Trumpet sounds …
Any advice here?
- Les
Offline