[TYPO3-project-seminars] Preselection by URL

Pat pizpat at gmx.de
Wed Jul 23 17:26:51 CEST 2008


Hi Oliver,

it works with the categories. You can select them with /index.php?id=id_of_site&tx_seminars_pi1[category]=id_of_category or with &tx_seminars_pi1[category]= (empty) for getting all categories.

But it doesn't work with
tx_seminars_pi1[event_type]
tx_seminars_pi1[language]
tx_seminars_pi1[country]
tx_seminars_pi1[city]
tx_seminars_pi1[place]
neither with the id nor with a name
f.e. /index.php?id=i02&tx_seminars_pi1[language]=German
or /index.php?id=i02&tx_seminars_pi1[language]=1

I get the following warnings:

Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ...\typo3conf\ext\seminars\pi1\class.tx_seminars_pi1.php on line 2963
Warning: Cannot modify header information - headers already sent by (output started at ...\typo3conf\ext\seminars\pi1\class.tx_seminars_pi1.php:2963) in ...\typo3\sysext\cms\tslib\class.tslib_fe.php on line 2952

Do you have an idea of a possible a way? With other variables? Or with a litttle change in the PHP-Code?

Regards
Patricia



> Pat schrieb:
> > I guess, using the filter affects a SQL-selection by commiting
> (POST-)variables. Is it possible, to commit this variables als GET-variables with
> the URL, f.e.
> > www.bla.de/veranstaltungen.htm?place=Berlin&event-type=vortrag ? So it
> would be possible to display a special preselection of events in a very
> simple way.
> 
> I think this should be possible (haven't tried yet). Could you try this 
> and then report any success/failure here?
> 
> 
> Oliver
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the TYPO3-project-seminars mailing list