[TYPO3-mvc] frontend plugin and pdf_generator2

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Dec 31 12:07:10 CET 2010


Hi Reginaldo,

> thanks again for your reply. You might have missed my last answer though.
> I solved the problem with include_post_vars in the template setup. I forgot
> that this possibility exists, so the whole problem was solved with this
> line:
>
> lib.empty_fce.stdWrap.postUserFunc.include_post_var
>
> The PDF is rendered correctly now. But there is just one little thing in
> addition... The PDFs url looks like this:
>
> http://127.0.0.1/bn_quicksite_2.1/index.php?id=24&type=123&tx_rafreighttracking_publicsearch[action]=show&tx_rafreighttracking_publicsearch[controller]=Booking&cHash=711ae9d5d2c2459aaa7cb58f53233370&tx_rafreighttracking_publicsearch[__referrer][extensionName]=RaFreighttracking&tx_rafreighttracking_publicsearch[__referrer][controllerName]=Booking&tx_rafreighttracking_publicsearch[__referrer][actionName]=index&tx_rafreighttracking_publicsearch[__hmac]=a%3A5%3A{s%3A13%3A\%22bookingnumber\%22%3Bi%3A1%3Bs%3A10%3A\%22billnumber\%22%3Bi%3A1%3Bs%3A15%3A\%22containernumber\%22%3Bi%3A1%3Bs%3A6%3A\%22action\%22%3Bi%3A1%3Bs%3A10%3A\%22controller\%22%3Bi%3A1%3B}d471aabc4734fb6330b8cd7b9a45eb00a792ed4e&tx_rafreighttracking_publicsearch[bookingnumber]=SA001&tx_rafreighttracking_publicsearch[billnumber]=&tx_rafreighttracking_publicsearch[containernumber]=

I've read your posting with your solution, but still wanted to give you 
some more ideas how to solve it in order to get nicer URLs.

> Of course I would like it to be a little bit nicer. But I don´t know how to
> do that with realurl. I read somewhere, that it is not possible, because
> pdf_generator2 doesn´t use the normal way to generate that url. Is that
> correct?
>
> If yes, does anybody know a solution?

I don't think there's a way to get this amount of parameters look good 
in URL. The only "clean" solutions I see are the ones I posted (either 
render the PDF button from within FLUID using the cObjectViewHelper or 
do a redirect to a nice detail view.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list