textpattern / textpattern.github.io

Textpattern CMS user documentation.
https://docs.textpattern.com
GNU General Public License v2.0
15 stars 17 forks source link

page: item #127

Open philwareham opened 4 years ago

philwareham commented 4 years ago

Absolute URL of front-end page

https://docs.textpattern.com/tags/item

The question/problem

We need to write up info in the upcoming (4.8) tag txp:item. Hopefully @bloatware can provide some details on how it works and example(s)?

bloatware commented 4 years ago

Yep, as soon as I know it :-) The idea is a general-purpose tag that could be used inside "list" tags to retrieve the value of the current "item". For example

<txp:older shift="1,2,3">
    Page <txp:item name="page" />
</txp:older>