1

Please visit this link : http://naadiastrology.info/index.php/contact-us

On the menu bar, you can see "Contact us" menu.[Components > Contacts> Contacts > Contact-us in admin ]

If you click on that, you can see:

"1Contact", "2contact form", "3Links" & "4other information".

Please click on "other information".

I wanted to display "1contact" as like "4other information page content".

But In admin, in right side, Under "contact details", there is no option to use "html tags".

But we can use html tags under "other information".

How to use "html tags" under "contact details" in right side?

1 Answer 1

2

This is not the direct answer to your question, it is more for information and to give you some basic direction. It seems that you do not have full understanding of how things work, and why you can't add html in the fields there. The fields you are trying to add html, are not designed to accept html. Furthermore, even if they would allow some html, I am not sure how you could create a similar table structure like you did in the WYSIWYG editor for the misc information section.

However, you still have plenty of options to customize the way your contact page will look.

You could either use a 3rd party Form Component (Joomla Form Extensions) and build a custom form the way you want, or you could override the com_contact.

This search will bring you many relevant questions regarding overrides:

https://joomla.stackexchange.com/search?q=template+overrides Also the links here at Joomla Documentation:

  1. How to override the output from the Joomla! core
  2. Understanding Output Overrides
  3. Layout Overrides in Joomla

Finally, you if you need to override the model form for the com_contact, to change the behavior of the current fields..., then this question/answer here might be of help of how to do this.

How can I completely and safely remove the subject field in com_contact?

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.