Hi All
I would like to use template overrides to customize the default contact form layout; I tried copying the content of the directory "com_aicontactsafe\views\message\tmpl" to "mytemplate/html/com_aicontactsafe/message" with no luck: is this the right way to go?
Best Regards,
Moez
Hi,
Yes, that is the correct. I've just tested again and the output is overridden.
I don't know about this tutorials :
http://developer.joomla.org/tutorials/1 … oomla.html
http://docs.joomla.org/How_to_override_ … omla!_core
Hi again Alex
I want to modify the layout of the default contact form : is overriding the message view enough?
I deleted the components\com_aicontactsafe\views\message\tmpl\message.php file and yet the contact form (front end) is still working ??
Best Regards
Hi Alex,
I have the same problem with the template override like moez. I tried to copy the file "message.php" from "..\components\com_aicontactsafe\views\message\tmpl\" to "..\templates\MY_TEMPLATE\html\com_aicontactsafe\views\message\" and did my amendment (In order to test it, I added in line 21 of the file the code "<p>test</p>"). Unfortunately nothing changed in the front end. I am using Joomla 1.5.23 and com_aiContactSafe_2_0_15.zip. Do you have any ideas what I am doing wrong? Thanks for your help.
Regards
Hi,
You placed the file in the wrong folder.
You should had being using the folder :
"..\templates\MY_TEMPLATE\html\com_aicontactsafe\message\"
Notice the folder views is not used ( this is mentioned in the documentation about output overrides I've mentioned ).
Forum Legend: