Easy tt_news page browse urls with CoolURI
January 28, 2019
When you've got a list or latest view of tt_news on one of your pages, you might have a page browser.
The tt_news page browser urls in this kind of situation include the parameter, tx_ttnews[pointer] which can be put into your CoolUri configuration to convert it to it's number.
In my CoolUriConf.xml file, I just added the following part within the <uriparts> section:
<part>
<parameter>tx_ttnews[pointer]</parameter>
</part>
So now, my urls no longer look like this:
http://www.example.com/news/&tx_ttnews[pointer]=1
They now look like:
http://www.example.com/news/1/
And that's the way I like it.