- Issue created by @linsen_hou
- Assigned to fionamorrison23
Hi @linsen_hou,
Is there some more detailed information you can provide here?
Can you please specifically outline the steps to reproduce this issue?
Thanks.- π¨π³China linsen_hou
hi fiona, below are the steps:
1. setup the tripal site using docker(Tripal 4.x-dev on Drupal 10.2.x-dev);
2. download the CivicTheme and uploaded it through the admin panel;
3. install the required module such as components/webform and so on;
4. set the CivicTheme as the default theme;
5. visit the site and it shows the error;
It looks like some structure in tripal is not compatiable with CivicTheme? I'm not familar with Drupal now, have no idea how to solve this error. Thanks for helping on this. - πΊπΈUnited States spficklin
Tripal developer here....
For Tripal v4 we don't yet have the views integration fully vetted. I suspect given the error message you're getting, namedly:
Twig\Error\LoaderError: Template "@organisms/list/list.twig" is not defined in "themes/civictheme/templates/views/views-view.html.twig" at line 7. in Twig\Loader\ChainLoader->getCacheKey() (line 99 of /var/www/drupal/vendor/twig/twig/src/Loader/ChainLoader.php).
That the civictheme is learning something about the "organism" content type and expect there to be a twig template for it? Not entirely sure. Can you add this issue to our Github issue queue and we can help you deal with it there: https://github.com/tripal/tripal/issues
- π¨π³China linsen_hou
Thanks @spficklin. I've post the issue to Tripal Github issue queue.
@fiona, is it possible that CivicTheme ignore the other content type ? in order to using CivicTheme in Tripal. ^_^
- Status changed to Postponed: needs info
about 1 year ago 4:56am 7 March 2024 - π¦πΊAustralia alex.skrypnyk Melbourne
`@organisms` is not a content type - it is a namespace for the Components module. This has to be specified in your active theme's `.info` file.
From the provided output it is hard to understand why this happen on your site.
Have you tried to clear the cache?
- πΊπΈUnited States spficklin
Oh, I see why this is confusing. In Tripal we do have a content type for organisms (taxonomic species). We were able to get the civictheme working on Drupal 10.2 but not on Drupal's development branch.
- π¦πΊAustralia alex.skrypnyk Melbourne
@spficklin
We were able to get the civictheme working on Drupal 10.2 but not on Drupal's development branch.
Could you please provide more information about what is not working on the "Drupal's development branch" (and also what that branch is exactly).
- πΊπΈUnited States spficklin
I'll defer to @linsen_hou to respond to which "dev" branch they were using. I justed tested it on 10.2 and all was good. @linsen_hou told me that when they downgraded to the 10.2 branch (from a Drupal dev branch) that it too was working for them. I suspect it was the 10.2.x branch of Drupal (https://git.drupalcode.org/project/drupal/-/tree/10.2.x?ref_type=heads)
- π¨π³China linsen_hou
sorry reply late.
The drupal version which met this issus is 10.2.4-dev. - Status changed to Closed: cannot reproduce
12 months ago 8:57pm 14 April 2024 - π¦πΊAustralia alex.skrypnyk Melbourne
Thank you for providing information.
We tested this with multiple versions of Drupal (and we have CI that tests all changes on every commit) and could not reproduce this.
I'm closing this for now. Please feel free to re-open if the issue appears again.