oxid-module-devutils icon indicating copy to clipboard operation
oxid-module-devutils copied to clipboard

No ressource vt_dev_header/footer.tpl?

Open pReya opened this issue 7 years ago • 2 comments

I installed the plugin (and the core plugin). It works well when I visit the "Metadata" menu entry/page. But when I want to look at the Metadata tab of a specific module, I get some Smarty errors about resources which can't be found.

Warning: Smarty error: unable to read resource: "vt_dev_header.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

Warning: Smarty error: unable to read resource: "vt_dev_footer.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

I also cannot find any of these template files in the repository? Are they missing?

pReya avatar Jul 12 '17 09:07 pReya

Hallo Moritz,

Ich habe kürzlich diese Templates umbenannt und wegen neuerer angular Version, die nicht mehr mit der vorherigen kompatibel war, habe ich die neuen Footer und Header nur in den bereits aktualisierten Seiten eingetragen. Sie z. B. https://github.com/vanilla-thunder/vt-devutils/blob/master/dev-metadata/application/views/admin/vtdev_metadata.tpl da sind schon die neuen.

Den Metadata tab habe ich ganz vergessen. Du könntest versuchen die neue Header und footer Dateien einzutragen, aber ich weiß nicht, ob es funktioniert. Sonst werde ich das Anfang der nächsten Wochen aktualisieren, bin den Rest der Woche auf einer Reise.

Danke für den Hinweis und viele Grüße!

Am 12.07.2017 11:59 schrieb "Moritz Stückler" [email protected]:

I installed the plugin (and the core plugin). It works well when I visit the "Metadata" menu entry/page. But when I want to look at the Metadata tab of a specific module, I get some Smarty errors about resources which can't be found.

Warning: Smarty error: unable to read resource: "vt_dev_header.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

Warning: Smarty error: unable to read resource: "vt_dev_footer.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

I also cannot find any of these template files in the repository? Are they missing?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vanilla-thunder/vt-devutils/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AByYaFnKc_3lUww2106PKHPf5huLZoPwks5sNJjrgaJpZM4OVZbo .

vanilla-thunder avatar Jul 13 '17 07:07 vanilla-thunder

Danke für die Antwort. Hab die Verweise umbenannt und einen PR gestellt. Damit klappt alles.

https://github.com/vanilla-thunder/vt-devutils/pull/11

pReya avatar Jul 14 '17 09:07 pReya