简体   繁体   中英

Joomla - Text above Contact Form

You can't add text above a contact form.

I was thinking of:

  • Create Article
  • Create Module on custom position (xxx) with a contact form
  • Load this module in the article with {loadposition xxx}

Question: Can I load a contact form in a module? How should I do this?

You can add the text to miscellaneous info (make sure your Contact component is set to show it.

On this page you can see the result (I added "ask for the press kit"); 见截图
A css rule was added to remove the title "Miscellaneous Information" which I didn't fancy:

.contact-address.dl-horizontal + h2 {
    display: none;
}

This is achieved with neither template overrides, nor extra components: this is the configuration: 联系管理器配置

The easiest way for this is to use an extension, something like RS Form Pro, where you can build your own custom forms and add them into article using their content plugin.

You can find this extension here: http://www.rsjoomla.com/joomla-extensions/joomla-form.html

I've used it many times and it works great.

As a free alternative you could use Chrono forms, which you can find here: http://extensions.joomla.org/extensions/1508/details

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM