Mail template of 'Mail Template Editor' (ownCloud) does not read templates created - owncloud

I have ownCloud running on a UCS.
When logging in as an admin on ownCloud you are able to add new users. When adding one ownCloud sends an auto-generated e-mail to the user. I was asking myself if it is possible to change the content of the mail and found out that there is an app called 'Mail Template Editor'. I installed it and was wondering why on ownCloud in settings/general there was a text which told me to add themes. After a long search I found a website where I followed these steps
mkdir /var/www/<owncloud install dir>/themes/<your theme dir>/settings
mkdir /var/www/<owncloud install dir>/themes/<your theme dir>/settings/templates
chown www-data. /var/www/<owncloud install dir>/themes/<your theme dir>/settings -R
chmod 766 /var/www/<owncloud install dir>/themes/<your theme dir>/settings/templates
It was now possible to use the MailTemplateEditor on ownCloud and I was trying it out. I was editing a 'new_user' template and created a user. I checked the mailbox of this user and now the MAIN QUESTION follows:
I received a german (since my owncloud is in german) mail where no template was used. I was trying to figure out if the mail template does not apply on non-english mails but I had no idea how to access the english ownCloud version. But the main question is: Can I edit this german version as well and how?
EDIT: is it probably possible to turn off the translation calls so it always sends my template mail? I am not that experienced in PHP/HTML to see where the call is done.

I found a solution of my problem which I do not think is the best option. I have not tried yet how it will work if I edit another mail template. If there is a better way please feel free to post it here.
I have read that it is not a good option to change the owncloud/config/config.php file and add the line 'theme => <mythemeDir>' at the end since it should be done within the app itself. But I found no better way of doing so. Maybe I misunderstood something or rather I am not that involved with this topic but one page tells me not to edit it the other one does, both seemed to be from ownCloud itself so I was considering it up to date.

Related

change website from old.mysite.com to new.mysite.com typo3 webserver

First: i am kind of a beginner in web administration. Please be patient ;)
I got a cloned VM from a server with a typo3 website on. i want to make it a test server to test updates and stuff before trying it on the real site.
I want the typo3 website to use staging.mywebsite.com instead of its normal url, but i am not sure where i need to change stuff in order for typo3 to work correctly.
what i did so far:
renamed the folder under /var/www/old.mywebsite.com to staging.mywebsite.com
change entries in /etc/hosts
But i am quite sure i need to change some config files too. Typo3 Version is 9.5
I found this:
TYPO3 How to change the name of a TYPO3 website
But i think thats not what i need?
Thank you in advance.
The URL for the website is defined in the site configuration, see here.
You should modify the entry point as shown in the second image of the documentation (2) or just use the slash "/".
In your example you should use "https://staging.mywebsite.com/". Please keep in mind not forget the slash "/" after the domain.

How to Edit the Template for the Odoo Helpdesk Ticket Assigned Message

I'm currently using Odoo 12.0+e-20181025. I'm trying to edit the message the user get whenever a ticket is assigned to them. I've tried searching the email template, but I can't find it. I've also tried searching in the main folder, but I still can't find it. As of now, I only managed to make a similar template, but I also found some trouble in that task as I can't really emulate the button that can link right to the ticket editing form, only to the preview ticket window.
Here is the code for the link to the ticket:
${object.name} .​
While knowing how to make a proper link will help a lot, I would still prefer to know where I can edit the message template so I can make it more user friendly and informative.
Thanks for reading and for the help.

Odoo email template unable to edit and save

Dears
I am using odoo 10. I have created automated actions and used email templates in it. Everything was quiet simple and working good initially. But now I want to edit the email template and add few details in it. But when I save the template it does not show the error and what ever text/data I add to the content gets vanished. This weird behaviour happening only on the online server. On my local machine it is working fine still I can edit and save the email templates. I have tried many solutions from stack and forums but no success. Please advise.
I think the problem is from the database, if you can check that the table of content is full or not

How to cancel an auto-send email - can't find the script or source to cancel?

Used Google Scripts and when we search my history, the script is gone
I followed this link to set the email up, and now I cannot cancel it, any help would be much appreciated
Based on the link of the tutorial you provided, it looks like you created the script from inside a spreadsheet. They can be found using menu Tools => Script Editor. From there you can delete/edit the function that is sending the email. You might also want to check the document about Development Environment, this will discus about creating and deleting projects, linking of libraries and more. Hope this helps.

Custom Extensions on Managed Chromebooks

I am a developer looking for the best way to set up different schools with their own custom, private extensions (ie School A should be the only one with access to Extension A). Theoretically, I am aware that there are a few ways to get a custom, private extension pushed out on a domain:
Host the .crx on a server and click "Specify a Custom App" in the management console.
Create a Domain App by uploading a zip to the Chrome Web Store
Upload the extension from my developer account to the Chrome Web Store and publish to a single "trusted tester," or make it unlisted
Option (1), hosting the .crx, has not been working. I am not sure why, but the extension is simply not pushing out. I link directly to the crx file, which has the right ID and MIME type, still, no dice. If anyone has any tips or suggestions for getting this to work, I would love to hear them!
Option (2), having the school create a domain app, seems a bit inefficient because it requires all schools to upload their own zip. So essentially I would have to email a zip file to the school, and have them publish it. All updates to the extension will also require a similar process, so this doesn't seem ideal.
I doubt that option (3) would work. If I published to the admin as a "trusted tester", I don't think that the other people in the domain would be able to access it. If it is unlisted, I do not know how an admin could find it in the Chrome Web Store dialog. Also, I would rather avoid security through obscurity.
Has anyone had success with hosting the extension and using the Specify a Custom App feature? Any other suggestions for getting a Custom Extension pushed out by the management console? Thanks so much!
To get option (1) working from the management console, it is important to specify the correct extension id and a valid update xml url (not a crx).
One useful feature Google offers that you can use is getting the extension id and the version from the update request.
For instance, you can create a update.php file that outputs an xml file specific to each extension and version. See http://developer.chrome.com/extensions/autoupdate.html under "Advanced Usage".
For more info on packaging an app or extension for managed chromebooks, see https://support.google.com/chrome/a/answer/2714278?hl=en.