Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1543

General Questions/New to Joomla! 5.x • Re: Joomla's default mail form "Mail was sent" message?

$
0
0

Your template need have the follow:

Code:

<jdoc:include type="message" />
Is where joomla load that type of message you looking for. In case you want to edit the file who handle this message, you can override - > [ROOT]\layouts\joomla\system\message.php
Hmmm, ok. So do I create a component for this message and designate it to the "message" in the drop down?
Also, last time I tried adding a <jdoc:include /> inside a template override, nothing showed up.

But if I understand correctly, I can do this:

1. Include reference to <jdoc:include type="message" /> in my templateDetails.xml
2. create a component for message and designate it to the "message" in the drop down.
3. In my template override for the form, add <jdoc:include type="message" /> where I want it to appear, inside an if (if form is posted successfully, show the message?)

Statistics: Posted by SocketPup — Thu May 09, 2024 6:09 am



Viewing all articles
Browse latest Browse all 1543

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>