[Neos] Show the actual URL on the site
Carsten Bleicker
carsten at bleicker.de
Tue Dec 31 14:03:59 CET 2013
create one in your package. its quite simple:
1. Make a break and celebrate the coming new year
2. create a CiewHelper class (take a look at \TYPO3\Fluid\ViewHelpers\BaseViewHelper for example)
3. in your template you place a namespace at the top wich will match your package, f.e. {namespace celebrate=NEW\Year\ViewHelpers}
4. usage with < celebrate:nameOfViewHelperClassWithoudViewHelperAppendix/>
4.1 Or use it inline {celebrate:nameOfViewHelperClassWithoudViewHelperAppendix()}
Am 31.12.2013 um 13:48 schrieb Patric Eckhart <me at patric.at>:
> maybe own viewhelper and take a look what you can do with this?
>
> $this->controllerContext->getRequest()->getHttpRequest()
>
> but how can I add a own Viewhelper
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
More information about the Neos
mailing list