Dear Pierre, Problem solved :) there was a problem with the paths of the templates; as I mentioned before the paths of the templates are given in the file: imagebrick.class.inc.php lines 10 & 11: const DEFAULT_PAGE_TEMPLATE_PATH='sample-portal-dev-new-brick/layout.html.twig'; const DEFAULT_TILE_TEMPLATE_PATH='sample-portal-dev-new-brick/tile.html.twig'; need to make sure that when you download the Zip file it will have "sample-portal-dev-new-brick-develop" name and default templates are given as"sample-portal-dev-new-brick"...
I have extracted it and copied the "sample-portal-dev-new-brick" folder to the extensions folder of iTop then I run setup and checked the extension to be installed.. after the setup is done I get the welcome page and I choose to go to standard portal from the right menu and I get the error.
Hello Pierre, No I didn't change files I just installed the extension as it is from Github and got this error message in the attached picture. I have searched the error and it looks like it's related to Twig Loader and how to include the paths of templates . In the extension the paths of the templates are given in the file: imagebrick.class.inc.php lines 10 & 11: const DEFAULT_PAGE_TEMPLATE_PATH='sample-portal-dev-new-brick/layout.html.twig'; const DEFAULT_TILE_TEMPLATE_PATH='sample-portal-dev-new-brick/tile.html.twig';...
Hello Pierre, No I didn't change files I just installed the extension as it is from Github and got this error message in the attached picture. I have searched the error and it looks like it's related to Twig Loader and how to include the paths of templates . In the extension the paths of the templates are given in the file: imagebrick.class.inc.php lines 10 & 11: const DEFAULT_PAGE_TEMPLATE_PATH='sample-portal-dev-new-brick/layout.html.twig'; const DEFAULT_TILE_TEMPLATE_PATH='sample-portal-dev-new-brick/tile.html.twig';...
Hello Pierre, No I didn't change files I just installed the extension as it is from Github and got this error message in the attached picture. I have searched the error and it looks like it's related to Twig Loader and how to include the paths of templates . In the extension the paths of the templates are given in the file: imagebrick.class.inc.php lines 10 & 11: const DEFAUL_PAGE_TEMPLATE_PATH='sample-portal-dev-new-brick/layout.html.twig'; const DEFAUL_TILE_TEMPLATE_PATH='sample-portal-dev-new-brick/tile.html.twig';...
iTop version 2.6.0 and I got it from github: https://github.com/Combodo/sample-portal-dev-new-brick
Have a good day, I have installed the extension of image brick "sample-portal-dev-new-brick" and I'm getting the following error when I load the portal home page: Template "sample-portal-dev-new-brick/tile.html.twig" is not defined. and this error when requesting the new brick Template "sample-portal-dev-new-brick/layout.html.twig" is not defined. I guess there should be some tags in the XML file that define tile and template but I don't know them can you help me? Thank you