[TYPO3-english] GP no Output

bernd wilke t3ng at bernd-wilke.net
Mon Feb 16 08:43:38 CET 2015


Am 14.02.15 um 13:32 schrieb Jannik Heuer:
> Hi
>
> I got a problem with GP.
> I'm using the follwoing TypoScript to extract the uid from the
> GET-parameters and use it to display a CalendarBase-event on a GoogleMap
> (EXT: wec_map). (on the Detail-Page)
>
> plugin.tx_wecmap_pi3{
> tables{
> 10{
> table = tx_cal_location
> join = JOIN tx_cal_event AS ev ON tx_cal_location.uid = ev.location_id
> where {
> data = GP:tx_cal_controller|uid
> wrap = ev.uid=|
> insertData = 1

be sure to insert a
intval = 1
here to prevent sql-injections!

> }
> }
> }
> }
>
> But it doens't work for all events. Some display nothing.
>
> The script:
> page = PAGE
> page.10 = TEXT
> page.10.data = GP:tx_cal_controller|uid
>
> has no output, too.
>
> Where is my mistake?

as you noted in your follow up you use chashes. maybe your actual 
parameter is thrown away (and replaced with one stored for that chash)

you may install ext:page_params to see which url-parameters are activ 
inside TYPO3.

or:
you have post-parameters which have precedence to get-params?

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list