Roads and short url

Hook and controllers to urls simplified

The framework Gabox allows you to use the roads like any other framework, except that it is translatable by the module I18N. Thus, to route a link to a particular page, simply use :

<?=$this->collector['treeview']->LinkByHook('hook-of-my-page')?> 
this in turn shows this : The hook of the page is by default the urlize of the label of the element treeview added. The hook is the url of the treeview can be changed, and this for each language. Adding a treeview, you can add the simplified urls to controllers that you choose.