Skip to content

[6.0] Problem with the new email template: Content: New Article Submitted #46458

@Kostelano

Description

@Kostelano

Steps to reproduce the issue

For version 6.0, there was a PR #45211 that added a new email template.

Image

Problem: The URL tag in this template is broken.

  1. Install Joomla 6.0.
  2. Enable and configure email in the general settings.
  3. Create a new user with a working email and assign them the Author/Publisher group, etc. (so they can create an article in the frontend but won't have access to the admin panel).
  4. Open the Content: New Article Submitted email template and add the URL tag somewhere (it's not used by default).
  5. Log in to the frontend as the new user and create an article:

You will receive an email with a working URL in the administrator's email address, roughly in the following format:

https://SITE/administrator/index.php?option=com_content&view=articles&filter[search]=id:17

Everything is fine here, the link works, and the admin can easily access the admin panel with the appropriate filter for this article.

  1. Log in to the frontend as an admin and create an article:

The new user will receive an email with the same URL. However, the new user is not an admin and does not have access. Moreover, the URL itself implies a link to the article in the frontend, since many other users receive these emails for exactly this purpose – site updates and a link to the article.

In short, the link is broken in its current form. Removing the link (tag) from the template is wrong, in my opinion. We do need the link, but this needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions