Română (România)English (United Kingdom)



 
If you use aiContactSafe, please post a rating and a review at the Joomla! Extensions Directory.

Template override - How To

Template override - How To

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

moez.selimi
useravatar
Offline
7 Mesaje
Informatii despre utilizator in mesaje
Administratorul a dezactivat postarea publica.

Re: Template override - How To

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

Alex Dobrin
Algis Info Grup

Follow me on Twitter

Alex Dobrin
useravatar
Offline
3327 Mesaje
Informatii despre utilizator in mesaje
Administratorul a dezactivat postarea publica.

Re: Template override - How To

Thank you very much Alex .
I used template overrides with other components (k2, com_content..) but with no success with aiContactSafe : I must be doing something wrong.
I'll check again.
Thank you smile

moez.selimi
useravatar
Offline
7 Mesaje
Informatii despre utilizator in mesaje
Administratorul a dezactivat postarea publica.

Re: Template override - How To

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

moez.selimi
useravatar
Offline
7 Mesaje
Informatii despre utilizator in mesaje
Administratorul a dezactivat postarea publica.

Re: Template override - How To

Hi,

Yes, overriding that file is enough.
And no, if you delete that file the extension is not working.

Make sure you are making the modification on the same Joomla instance that you are testing. smile

Alex Dobrin
Algis Info Grup

Follow me on Twitter

Alex Dobrin
useravatar
Offline
3327 Mesaje
Informatii despre utilizator in mesaje
Administratorul a dezactivat postarea publica.

Informatii forum

Statistici forum:
 
Subiecte:
1309
Sondaje:
0
Mesaje:
5899
Mesaje de astazi:
18
Info utilizatori:
 
Utilizatori:
22165
Ultimul inscris:
david nessem
Utilizatori activi:
2
Vizitatori activi:
114


Legenda forum:

 Subiect
 Nou
 Blocat
 Peren
 Activ
 Nou/Activ
 Nou/Blocat
 Nou/Peren
 Blocat/Activ
 Activ/Peren
 Peren/Blocat
 Peren/Activ/Blocat