Elxis CMS Forum

Support => General => Topic started by: xmanhattan on February 05, 2024, 11:57:55

Title: template Five
Post by: xmanhattan on February 05, 2024, 11:57:55
Hello,
I am now using template Five but I have a few questions.

I have added a video by creating a module.  I noticed as I was tweaking the code that every time I saved the module Jodit added more lines to the code.
Code: [Select]
<jodit-media data-jodit-temp="1" draggable="true" data-jodit_fake_wrapper="1" style="display: block; width: 300px; height: 150px;" contenteditable="false">
<video>
file and other coding
Code: [Select]
</video>
</jodit-media>

Additionally, the video in English but does not appear when the language is switched to Greek.

Suggestions appreciated.  https://www.bournias.net/ (https://www.bournias.net/)
Title: Re: template Five
Post by: webgift on February 05, 2024, 14:29:32
I would write the video html tag in the database directly using PHPMyAdmin tool or something like that. I would do the same as for its translation in __translations db table.
Title: Re: template Five
Post by: xmanhattan on February 05, 2024, 14:34:44
webgift,  I am sending you a pm.
Thanks
Title: Re: template Five
Post by: webgift on February 05, 2024, 19:44:10
That's ok!
Title: [SOLVED]: template Five
Post by: webgift on February 07, 2024, 08:35:45
Finally all requests are completed.

Notes:
 - Five template* is a core template for Elxis CMS.
It means that the core files will be replaced once we have a new CMS update and you'll loose the changes you'd done. For that reason i remind you the users.config.css file.
 Please visit back-end and then from the left menu: Site -> Code editor -> user.config.css. You can now apply CSS code directly from there. You can also apply Javascript code on the corresponding js file.

- Video is available for both languages now.
Please take under consideration that once we use relative path for videos we have to add the ../ at the front of each path under Homepage - Greek language.

* We could copy the Five template to a custom name one and apply any custom change we wish!
Title: Re: template Five
Post by: datahell on February 08, 2024, 19:10:27
@xmanhattan: For the video use the HTML5 video plugin.
{video}relative/path/to/video/sample.webm{/video}