textpattern.github.io
textpattern.github.io copied to clipboard
checklist: Textpattern tag changes
A list of behavioural changes in tags that will need documenting (please add additional items if I've missed any):
- [x]
txp:articletag acceptsbreakformattribute. - [x]
txp:article_customtag acceptsbreakformattribute. - [x]
txp:output_formtag acceptscontextandformatattributes. - [x]
txp:csstag accepts additional options forformatattribute. - [x]
txp:link_to_nexttag acceptscontextattribute. 4.7.2 - [x]
txp:link_to_prevtag acceptscontextattribute. 4.7.2 - [x]
txp:page_urltag acceptscontextattribute. 4.7.2 - [x]
txp:permlinktag acceptscontextattribute. - [x]
txp:if_differenttag acceptstestattribute. - [x] Article lists (actual tag(s) TBC) can be split by
breakbyform value. - [x] Global
escape="ordinal|spell|url"attribute values. - [x] Global
trimanddefaultattributes. - [x] Global
wrapformattribute. - [x]
aria_labelandplaceholderattributes on comment input fields. - [x]
txp:search_inputcan be used as a container tag, and also acceptsaria_labelandplaceholderattributes. - [x]
txp:variabletag acceptsadd,output,resetandseparatorattributes. - [x]
txp:section_listaccepts valuelessexcludeattribute so non-searchable sections can be omitted fromtxp:section_listoutput. 4.8.0 - [x]
txp:category_listtag'ssortattribute now respectscategoriesattribute instead of requiringsort=""override. - [ ]
txp:itemtag added. 4.8.0 - [ ] Added
titleattribute to image tags. 4.8.0 - [ ] Added
classattribute to comment form tags. 4.8.0 - [ ] Added
monthandtimeattributes to<txp:file_download_list />and<txp:linklist>tags. 4.8.0 - [ ] Added
pg,totalandlimitattributes to<txp:newer />and<txp:older />tags. 4.8.0 - [ ] Custom fields support from/to date filtering. 4.8.0
- [ ] Support for
idranges in some tags and admin fields. 4.8.0 - [ ] Global
evaluate,replaceandyieldattributes. 4.8.0 - [ ] Ability to trim lists when using valueless
trimattribute. 4.8.0 - [ ] Added
sizeattribute to<txp:images>tag to filter by aspect ratio. 4.8.2
@bloatware I've updated the https://docs.textpattern.com/tags/css with format changes and https://docs.textpattern.com/tags/output_form with context and format changes - can you verify this info is correct, as I'm a little unsure?
Thanks @philwareham, that's fine for css, I would just put it more like this for output_form:
format="image, link, script, url"
eventually prepended by flat. to fetch the form from disk.
@Bloke @bloatware Can you please give me a bit of info on the <txp:item /> tag and it's usage? I'll then complete the tag doc for it. Thanks!
@philwareham <txp:item /> outputs various chunks of information that currently have no their own tag. For example, <txp:item name="url" /> outputs pagination urls inside <txp:pages />. I don't think it's ready for documentation.