| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
With pgonly="1" <txp:article_custom /> will output the number of matching articles pages, without setting the pagination.
|
It seems already been attempts to add pgonly attribute to article_custom tag. |
Sorry, something went wrong.
Sure, including mine, few years ago :-) It didn't get much attention, but I'm not desperate. The aim is to be able to easily count pages or articles (with pageby="1") for informational purposes or for use in pagination plugins. |
Sorry, something went wrong.
|
The initial patch (enable pages count for article_custom) is merged into dev now. The rest of this branch allows for finer custom fields match in article(_custom) and related_articles. |
Sorry, something went wrong.
|
Although I haven't tested it, this seems like a pretty good idea to me. Is it okay to be merged? Any backwards-compatibility issues? Regarding the item attribute: it assumes comma is the separator. But an earlier commit references pipe also. Should we introduce a separator attribute here, like there is for the if_custom_field tag, so that people are free to delimit their custom fields in any way they see fit? Or is that too confusing? |
Sorry, something went wrong.
|
Thanks @Bloke. I thought we should postpone it to the unlimited custom fields era, also because separator could then become part of custom field definition. |
Sorry, something went wrong.
bumping readme to have parity with `dev`
tweak top matter
|
Paging @bloatware – what's the status of this branch / PR from your viewpoint? The branch reports as 20 commits ahead of dev, are those commits worth evaluating for inclusion in dev, or would you prefer it be left open? |
Sorry, something went wrong.
|
@petecooper this branch will be superseded by cf, so eventually including it in dev is only worth considering if dev and cf will not merge in a near future. But I hope they will and would keep this one aside. |
Sorry, something went wrong.
|
Thanks @bloatware – makes perfect sense. |
Sorry, something went wrong.
readme parity
There was a problem hiding this comment.
Thanks @petecooper, will merge after 4.8.8 freeze.
Sorry, something went wrong.
Updated version numbers and download links for Textpattern. Changed upgrade instructions to reference UPGRADE.txt. Added additional development tools section.
Document additional development tools and usage instructions.
| Back | FazBrowse Home | New Git URL |
With pgonly="1" <txp:article_custom /> will output the number of matching articles pages, without setting the pagination.