Zum Inhalt springen

RECORDS mit multidimensionalem GET Parameter

Erstellt am 28. April 2016 · Noch keine Antworten

Tags: Extbase, SEO, TYPO3 6.x, Frage

Juburin ·

Hallo zusammen,

ich habe das Problem das ich ein multidimensionales Array als GET Parameter habe und dies im Typoscript benutzen möchte um den Seitentitel zu ändern.

Hier ist was ich bisher habe:

[globalVar = GP:tx_examplenewsroom_tagnavigation|filters > 0]
	lib.filterTitle = COA
	lib.filterTitle {
		100 = TEXT
		100.field = title
		100.noTrimWrap = |<title>||

		200 = RECORDS
		200 {
			dontCheckPid = 1
			tables = sys_category
			source.data = GP:tx_examplenewsroom_tagnavigation|filters
			conf {
				sys_category = TEXT
				sys_category {
					field = title
					htmlSpecialChars = 1
					noTrimWrap = | ||
				}
			}
			stdWrap.noTrimWrap = | - filtered by| -|
			# stdWrap.required = 1
		}

		250 = TEXT
		250.current = 1
		250.setCurrent.data = GP:tx_examplenewsroom_tagnavigation|page
		250.setCurrent.wrap = | + 1
		250.prioriCalc = 1
		250.noTrimWrap = | Page | |

		300 = TEXT
		300.value = &#124; {$plugin.tx_exampletemplate.settings.sitename}</title>
	}
[global]


[globalVar = GP:tx_shiftnewsroom_tagnavigation|filters > 0]
	page.headerData.100 >
	page.headerData.100 < lib.filterTitle
[global]

Mit normalen GET Parametern funktioniert das ganze wunderbar, also auf:
GP:tx_examplenewsroom_tagnavigation|page
kann ich ohne Probleme zugreifen. In filters scheint jedoch nichts drinne zu sein.

Um das ganze besser zu verstehen hier die realurl Konfiguration dazu.

"fixedPostVars" => array(
	/* START - Filter Navigation */
	"filterNavigation" => array(
		array(
			'GETvar' => 'tx_examplenewsroom_tagnavigation[page]',
		),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][0]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][1]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][2]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][3]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][4]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][5]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][6]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][7]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][8]'),
		array('GETvar' => 'tx_examplenewsroom_tagnavigation[filters][9]'),
	),
	"4" => "filterNavigation",
	"5" => "filterNavigation",
	/* END - Filter Navigation */
),

So sieht z.B. eine URL aus: http://www.example.org/pagetitle/0/filter1/filter1/

Über jede Hilfe würde ich mich freuen. 🙂