Because theLumpy Burgertushie wrote:I don't know much about how to create extensions at all, but I always wondered why you put all the html files in the store folder to begin with. I don't think other extensions do that , do they?
robert
store
folder is writeable and the ext
folder is not. And the files in the store/customcode
directory is user content/data and isn't clearly part of the extension code itself.Idea change ext code:martti wrote:Because theLumpy Burgertushie wrote:I don't know much about how to create extensions at all, but I always wondered why you put all the html files in the store folder to begin with. I don't think other extensions do that , do they?
robertstore
folder is writeable and theext
folder is not. And the files in thestore/customcode
directory is user content/data and isn't clearly part of the extension code itself.
<!-- INCLUDE ../../../../../../store/customcode/overall_footer_after.html -->
<!-- INCLUDE customcode/overall_footer_after.html -->
That idea, whilst good, would not get past validation.KillBill. wrote:Idea change ext code:
1. you create new folder ext/marttiphpbb/customcode/styles/all/template/customcode
2. add info this folder change chmod 777
3. you change event/ all html include path
This warning is put in the first post now.Raul [ThE KuKa] wrote:Users,
This extension not works on 3.1.6 version, please disable extension BEFORE update to 3.1.6 version please.
Galixte de EzCom wrote:Go in PhpMyAdmin, in tablephpbb_ext
, in columnext_name
search the linemarttiphpbb/customcode
, in the columnext_active
for the corresponding line found change the value1
to0
.
Both these solutions don't work (I'm using a local test board anyway, so MEH).martti wrote:If you are not logged in the ACP then delete thestyles
directory from the extension first. (underext/marttiphpbb/customcode/
) Then the board should work again.
Also delete the contents of theMauron wrote:Galixte de EzCom wrote:Go in PhpMyAdmin, in tablephpbb_ext
, in columnext_name
search the linemarttiphpbb/customcode
, in the columnext_active
for the corresponding line found change the value1
to0
.Both these solutions don't work (I'm using a local test board anyway, so MEH).martti wrote:If you are not logged in the ACP then delete thestyles
directory from the extension first. (underext/marttiphpbb/customcode/
) Then the board should work again.
cache
directory.Thanks, it worked now.martti wrote:Also delete the contents of thecache
directory.
Code: Select all
Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "@marttiphpbb_customcode/event/overall_header_head_append.html" (looked into: ) in "overall_header.html" at line 63.' in xxx\yyy\phpBB\vendor\twig\twig\lib\Twig\Loader\Filesystem.php:195 Stack trace: #0 xxx\yyy\phpBB\phpbb\template\twig\loader.php(107): Twig_Loader_Filesystem->findTemplate('@marttiphpbb_cu...') #1 xxx\yyy\phpBB\vendor\twig\twig\lib\Twig\Loader\Filesystem.php(138): phpbb\template\twig\loader->findTemplate('@marttiphpbb_cu...') #2 xxx\yyy\phpBB\vendor\twig\twig\lib\Twig\Environment.php(266): Twig_Loader_Filesystem->getCacheKey('@marttiphpbb_cu...') #3 xxx\yyy\phpBB\vendor\twig\twig\lib\Twig\Environment.php(324): Twig_Environment->getTemplateClass('@marttiphpbb_cu...', NULL) #4 xxx\yyy\phpBB\phpbb\template\twig\environment.php(166): Twig_Environment->loadTemplate('@marttiphpbb_cu...', NULL) #5 xxx\yyy\phpBB\cache\twig\c\e\ce0d92172b651115f5888a88e54bb33c8a2c8244acaaa909db6bdfacd0ffc390.php(26 in xxx\yyy\phpBB\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 195
phpBB\cache\twig\c\e\ce0d92172b651115f5888a88e54bb33c8a2c8244acaaa909db6bdfacd0ffc390.php
.The disadvantages are:KillBill. wrote: Idea change ext code:
1. you create new folder ext/marttiphpbb/customcode/styles/all/template/customcode
2. add info this folder change chmod 777
3. you change event/ all html include path
example
this
<!-- INCLUDE ../../../../../../store/customcode/overall_footer_after.html -->
replace
<!-- INCLUDE customcode/overall_footer_after.html -->
ext/marttiphpbb/inserttemplatecode/style/all/template/event
directory you can put then any template events you like.store/customcode
directory and move it to ext/marttiphpbb/inserttemplatecode/style/all/template/event
.<!-- INCLUDE ../../../../../../
you have to remove the prefix ../../../../../../
to and put the included files in ext/marttiphpbb/inserttemplatecode/style/all/template
)Could you please tell us... just disable or and DELETE data?martti wrote:This extension does not work on the phpBB 3.1.6 version, please disable extension BEFORE update to 3.1.6 version.
Disable.MarieNatalie wrote:Could you please tell us... just disable or and DELETE data?martti wrote:This extension does not work on the phpBB 3.1.6 version, please disable extension BEFORE update to 3.1.6 version.
Thanks in advance
It's always better to have a clean separation between the core and anything else, imho.Solidjeuh wrote:I noticed in phpbb update that auto update still is merging files
So would it not be easyer to just edit the code files like before?
Or am I mistaking?