[TYPO3-mvc] [TYPO3-mvc, FLUID] How to create the correct link with f:uri.page?

chris Wolff chris at connye.com
Sun Aug 25 23:25:34 CEST 2013


Hi Vasyl,

here is a list of all Parameters of the fluid uri view helper from the
typo3 wiki:
http://wiki.typo3.org/De:ViewHelper/Uri (sorry its in german but there
is currently no english translation)

here is what it should look like:

 {f:uri.page(page:'{settings.detailPid}',additionalParams:'{tx_news_pi1:'{overwriteDemand:{categories:'{newsItem.firstCategory.uid}'},news:'{newsItem.uid}',controller='News',action:'detail'}}')}

it looks realy unreadable as you have to pass an complex array of
additionalParams..

maybe you should use uri.action ther you could split the parameter better.

regards chris



2013/8/25 Vasyl Mosijchuk <vasyl at typo3.net.ua>:
> I need to make a link:
>
> &tx_news_pi1[overwriteDemand][categories]={newsItem.firstCategory.uid}
> &tx_news_pi1[news]={newsItem.uid}
> &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail
> &cHash=[...]
>
> I have done so:
>
> <a href=" {f:uri.page(pageUid:'{settings.detailPid}')}
> &tx_news_pi1[overwriteDemand][categories]={newsItem.firstCategory.uid}
> &tx_news_pi1[news]={newsItem.uid}&tx_news_pi1[controller]=News
> &tx_news_pi1[action]=detail
> &cHash
> ">
>
> This works but is not added &cHash=[...]
>
> How to add not one but several parameters (additionalParams)?
>
> How to create the correct link with f:uri.page?
> --
> TYPO3 Integrator
> ====================
> http://www.typo3.net.ua/
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



-- 
christian wolff - webdeveloper, tech-loving geek and typo3 enthusiast
telefon: +49 30 347 244 88
mobil:  +49 179 49 44 758
email: chris at connye.com
adresse: friedelstraße 31 - 12047 berlin

xing-profil: http://www.xing.com/profile/Christian_Wolff43
google+: https://plus.google.com/u/0/115669673917212236875/posts?hl=de
facebook: https://www.facebook.com/1stMachine
flattr: https://flattr.com/profile/1stmachine


More information about the TYPO3-project-typo3v4mvc mailing list