maschmann / TranslationLoaderBundle

Symfony2 bundle with database translation loader
23 stars 9 forks source link

The function "pagetype" does not exist in AsmTranslationLoaderBundle::base.html.twig at line 25 #42

Open cedriclombardot opened 7 years ago

cedriclombardot commented 7 years ago

Installing only this bundle i got this error

The function "pagetype" does not exist in AsmTranslationLoaderBundle::base.html.twig at line 25

Not found where this function should be defined !

maschmann commented 7 years ago

@cedriclombardot which version of symfony did you use?

KDederichs commented 7 years ago

I do have the same problem with Symfony version 3.2.7

xabbuh commented 7 years ago

@maschmann Looks like the pagetype() function was only available in the context of the project that you used to develop the base template.

maschmann commented 7 years ago

@xabbuh @cedriclombardot Will have a look at this on Sunday. Won't be able to any sooner - otherwise PRs are welcome :-)