Install the extension.
Place the markers ###PREV_LINK### , ###NEXT_LINK### & ###PAGEBROWSER### in the section of <!-- ###TEMPLATE_SINGLE### -->
Configure the Plugin of the single view like in LIST/LATEST: Set the category-handling, starting-point and the ordering and everything else you want.
Change TS settings if you want to.
- Possible subsections: Reference (TypoScript)
Property: | Data type: | Description: | Default: |
|---|---|---|---|
defaultPrevText | string | Default value if there is no link (1st record chosen) | |
defaultNextText | string | Default value if there is no link (last ecord chosen) | |
loop | boolean | If activated, the previous link of the first record links to the last record and the next link of the last record links to the first record | 1 |
prevLink | stdWrap | stdWrap functions for the whole link of link to previous record. Good to wrap something around which shouldn't get linked | wrap = « | |
nextLink | stdWrap | stdWrap functions for the whole link of link to next record. Good to wrap something around which shouldn't get linked | wrap = | » |
prevLinkText | stdWrap | stdWrap function for the linktext of link to previous record. This can be used to crop the text or override it with a static text. Both can be seen in the following example plugin.tt_news.rgnewslinks { # Crop prevLinkText.crop = 25|...|1 # Override #prevLinkText.override = Linktext } Take a look at stdWrap in the TsRef to see everything! | crop = 25|...|1 |
nextLinkText | stdWrap | stdWrap function for the linktext of link to next record. | crop = 25|...|1 |
[tsref:plugin.tt_news.rgnewslinks]
Property: | Data type: | Description: | Default: |
|---|---|---|---|
rgnewslinksPageBrowser | string | The Text of the page browser. Change or add other languages like you want with: plugin.tt_news._LOCAL_LANG.de.rgnewslinksPageBrowser = Datensatz %s von %s insgesamt. | Default: This is record %s out of %s. DE: Datensatz %s von %s insgesamt. |
[tsref:plugin.tt_news._LOCAL_LANG.LL-KEY]
Take a look at the ext_typoscript_setup.txt in the extension directory
You like my extension?
Visit my page for a small (paypal) donation (http://www.just2b.com/meintypo3.html), send me something nice through my whishlist of amazon or just send me a mail with nice words and a hug. I will appreciate it!
Known problems
The extension only works correct with one single view for every other views.
No real problems yet