An open API service indexing awesome lists of open source software.

https://github.com/matoilic/namespaces

Global Namespaces in TYPO3 fluid
https://github.com/matoilic/namespaces

Last synced: 9 months ago
JSON representation

Global Namespaces in TYPO3 fluid

Awesome Lists containing this project

README

          

This extension allows you to register a global namespace in fluid so that you don't have to put the declaration in every file, as this can become quite cumbersome.

In your ext_localconf.php add the following line to register a global namespace

```
\MatoIlic\Namespaces\Core\TemplateParser::registerNamespace($_EXTKEY, 'YourNamespace', 'Path\\To\\Namespace');
```

This will save you from putting

```
{namespace YourNamespace=Path\To\Namespace}
```
in every file.

If you have any questions or need support feel free to contact me through the form on my homepage http://matoilic.ch.