Last Uid

The Browser stores the last uid of a selected single view in a session.

This is useful, if you like to render data independend of Browser plugins like:

  • Your last news was …

Setup

Read the uid of a defined table from the session:

page = PAGE
page {
    // get the last uid for the table tx_quickshop_provider
  2022 = TEXT
  2022 {
    data = session: tx_browser_pi1|tx_quickshop_provider|lastSelected
    noTrimWrap = |<h1>The last uid of tx_quickshop_provider: |</h1>|
  }
}

Write to Session

If you want to know, how to write an uid of a current record to the browser session, please refer to: Administrators > Best Practise > User Functions > Session