DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Use realUrl with YAG to get speaking URLsΒΆ

To be honest, it is not trivial to build a realURL config for YAG. But we have good news for you - we have done the job and created a realURL-hook to do the work.

So, to use YAG with speaking URLs, all you have to do is adding the following hooks to your realURL config:

$GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['realurl']= **array** (

   'encodeSpURL\_postProc'=> **array** (

   'yag'=>'EXT:yag/Classes/Hooks/RealUrlHook.php:user\_Tx\_Yag\_Hooks\_Re
   alUrl->encodeSpURL\_postProc',

   ),

   'decodeSpURL\_preProc'=> **array** (

   'yag'=>'EXT:yag/Classes/Hooks/RealUrlHook.php:user\_Tx\_Yag\_Hooks\_Re
   alUrl->decodeSpURL\_preProc',

),

...

)