简体   繁体   中英

add simple texts to drupal contact form

I'm building a site and it has a contact page . the contact page uses contact module and it has some basic forms , what I want is to add some simple text like my personal email and phone number and ... to this page , but I couldn't find a way to do it . I'll be appreciated if you can help me with this thanks

//--------------------------------------------------
finally found the answer! I made a file named "page--contact.tpl.php" and from there after

<?php print $feed_icons; ?>

I just wrote whatever information I wanted and it worked!

我的建议放弃了联系表格,去了Webforms你会感谢我从长远来看。

You can also create a block, add it above or below the form, then add your information to it. Simplest solution if you all you need is an area to add some 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