Conversation
….5.0.0 Co-authored-by: Copilot <copilot@github.com>
|
Hello there @bozana . I'm pinging you on this one as well as this theme is also intended to be distributed on our plugin gallery. I appreciate if you could have a look on it as well! |
|
Hi @Godoy0722, oh, a huge theme :-) I noticed some escaping issues in the Smarty templates. Here a few examples:
Could you please review all Smarty templates and apply the appropriate escaping:
Thanks a lot! |
|
Hi @Godoy0722, as in smwImmersion theme: Could we self-host the font files? -- because of GDPR. |
|
Hello again @bozana ! I just made a comprehensive review on all smarty template files on this theme, and I made all escape/security improvements I found other than your suggestions. I made it on both versions, for 3.4 and 3.5. Would you mind having a look on it? Regarding the fonts, I'll work on it right now and put a new commit until tomorrow so I'm up to date with all these requests until now! Thank you again! |
|
Hello @bozana , me again! I added a new commit on the theme for both versions so we self-host the fonts as you suggested! Please feel free to have a look and let me know if we're good to go on this merge now! Thank you |
|
Hi @Godoy0722, I tried uploading the 3.5 release package linked here to my local install and have display issues. Is that expected? E.g. here's what it looks like after installing, enabling, and setting this as the theme and clearing the template cache (no settings configured):
|
|
Okay I see the issue - this theme requires the Health Sciences theme to also be enabled to function, so is sort of a "child theme" to that - at minimum that should be documented in the description, but I'm not sure what the best practice is for this kind of dependency. |
|
Hello @kaitlinnewson . Thanks for also reviewing my theme! I just implemented your request. Now, the documentation has a note telling that the theme depends on the Health Sciences theme, and if the user tries to select the ammonite without the Health Sciences installed and enabled, it will throw a notification on the screen to notify the user about this matter. Would you mind reviewing it again please? I also made the same approach for the SMWImmersion theme |

That's a theme designed by the Geological Survey of Denmark and Greenland and contributed to the OJS community. It actually have releases for OJS 3.4 and 3.5.