php - How do I customize Joomla 2.5 contact component?
I'm trying to setup an alternative layout for the contact component in Joomla 2.5 but my template doesn't seem to be used when the page loads. Here's how I set it up using the documentation found here
/templates/MyTemplate/html/com_contact/contact/alternativelayout.php
Then on the administrator view in my contact component under "Display Options" I have selected alternativeLayout as my "Alternative Layout" and made modifications to the file (even deleted all the code in it) but it seems as if the default layout is always loaded. Please help. Thanks.
Answer
Solution:
Be sure to include in your
a file
which describe your template and include your folders and files (an exmample from beez5 default template)
Check for this files in other template root folders.
Answer
Solution:
I had the same issue. I managed to solve this as follows:
set alternativelayout.php file name to the original name:
/templates/MyTemplate/html/com_contact/contact/default.php
set "Contact"->"Display options"->"Alternative Layout" to "Use Global"
it works for me.