Skip to content

[6.0] New Article Submission using Mail Templates#45211

Merged
softforge merged 7 commits intojoomla:6.0-devfrom
brianteeman:mail_template
Apr 7, 2025
Merged

[6.0] New Article Submission using Mail Templates#45211
softforge merged 7 commits intojoomla:6.0-devfrom
brianteeman:mail_template

Conversation

@brianteeman
Copy link
Contributor

Pull Request for Issue #43872 .
This is a redo of #44243 that was unfortunately closed

Summary of Changes

When a new article is submitted on the front end of a site the notification email that is sent to admins will now use a mail template instead of plain text messages so that it can be customised and styled just as all other emails sent by Joomla. Currently its just a plain text email

Testing Instructions

Use a pre-built package or apply patch and the update sql
Make sure the admin user can receive emails from the test site
Create a new user with author rights
Go to the System Mail Templates and check that there is now a template "Content: New Article Submitted"
As the author Submit a new article on the front end
Check the email sent to the admin user

Actual result BEFORE applying this Pull Request

Plain text email sent AND joomla admin UI shows a new private message

Expected result AFTER applying this Pull Request

Email sent can be customised and no private message in the admin UI

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-6.0-dev labels Mar 25, 2025
@richard67
Copy link
Member

Does it need some update SQL script?

@brianteeman
Copy link
Contributor Author

Sorry made a mess of the pr - should be ok now

@exlemor
Copy link

exlemor commented Mar 30, 2025

Hi @brianteeman, tested your PR and it does what you are wanting it to but a couple of the language strings are not coming over as expected - please see screenshot here:

ScreenFloat Shot of Safari at Mar 30, 2025 at 3_25_07 PM

Thanks,

Emmanuel.

P.S.: I installed the Pre-built package in case that helps:
Joomla_6.0.0-alpha1-dev+pr.45211-Development-Update_Package.zip

@brianteeman
Copy link
Contributor Author

@exlemor Should be ok now

@exlemor
Copy link

exlemor commented Mar 30, 2025

@exlemor Should be ok now

Hi Brian, thanks, I assume that I need to wait for someone to rebuild the Pre-Built package as it is still one from 3+ hrs ago?

@richard67
Copy link
Member

@exlemor Should be ok now

Hi Brian, thanks, I assume that I need to wait for someone to rebuild the Pre-Built package as it is still one from 3+ hrs ago?

@exlemor The links to the download page and to the downloads contain the build number and so change after a new commit. Maybe you still were on the old download page?

Anyway, I've updated the branch, new downloads should be available soon.

@richard67
Copy link
Member

New downloads are ready: https://artifacts.joomla.org/drone/joomla/joomla-cms/6.0-dev/45211/downloads/83784/

@exlemor
Copy link

exlemor commented Mar 30, 2025

I have tested this item ✅ successfully on 2934e92

I have tested this successfully and the language strings are fixed :). Thanks @brianteeman (and @richard67)!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45211.

@krishnagandhicode
Copy link
Contributor

I have tested this item ✅ successfully on 2934e92

Tested successfully!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45211.

@krishnagandhicode
Copy link
Contributor

I have tested this item ✅ successfully on 2934e92Tested successfully!

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45211.

BEFORE Applying the PR:
Screenshot 2025-03-31 000954
Screenshot 2025-03-31 004617

AFTER Applying the PR:
Screenshot 2025-03-31 012418
Screenshot 2025-03-31 012347

@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45211.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 30, 2025
@softforge softforge added this to the Joomla! 6.0.0 milestone Apr 7, 2025
@softforge softforge merged commit 48722ac into joomla:6.0-dev Apr 7, 2025
3 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Apr 7, 2025
@softforge
Copy link
Contributor

Thank you @brianteeman and the testers. It works nicely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators PR-6.0-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants