By bookwalla on
Hi guys,
I had created a site wide contact form earlier, but then I came across this method http://drupal.org/node/335020. This method shows how to embed a site wide contact form into any node type. This works for me because now I can embed the contact form in my 'Services' page.
So I deleted the old primary menu link named Contact. Tried the above method for embedding a contact form in a node. And it works!
But,
when I go to Administer>Contact Form and then click on the link 'your site-wide contact form'. I still see my old Contact form.
but now that i have a contact form embedded in my 'Services' page, how do I delete the old Site Wide Contact Form?
Thanks
Comments
Under Core optional you have
Under Core optional you have Contact Module (this is the page that links to the admin > contact). This module "enables the use of both personal and site-wide contact forms."
How did you create the other form? if you used webforms to create the new form, then the site-wide wouldn't change since they are two separate things. If you don't need this anymore, you can either turn off the module or delete the categories that you added. Also note if the URL for the correct form and the incorrect form -- they should be different if they are two different forms (clicking the edit tab for the node number url (ex: node/15/edit) is always helpful with checking this since numbers are easier to not misread).
--
It's always a good idea to empty the cache for drupal (installing the admin_module is the easiest way I've found to do that...love that module) and empty your browser's cache, then run a site update for good measure. You'd be amazed at how many odd things that procedure can fix. And sometimes you'll find that your computer just has an annoyingly strong memory and that everything is actually working great, the cache just needed to be deleted. :)
Good luck,
Holly Ferree
www.designbyholly.com
The contact form that is
The contact form that is embedded in Services page was created using this method http://drupal.org/node/335020.
I looked at the code for the above method. It says: require_once drupal_get_path('module', 'contact') .'/contact.pages.inc';
This leads me to the conclusion that this form is created using the Contact core Module.
The url for the above contact form is: mysite.com/node/8
--------------------------
The other contact form (that I say I do not need) only shows up when I log into my drupal site.
And then go to: Administer>Contact Form and then on the top of this page when I click on "Your site-wide contact form."
The url for this unwanted Contact Form is: mysite.com/user/1/contact
---------------------------
Summary:
- So as you can see, both forms are created using the core Contact Module.
- Both have separate URLS.
- The contact form embedded in the Services page (node 8) is visible when i click the Services link in my navigation bar.
- The unwanted form is only visible when I go to Administer>Contact Form> and then click on the link "Your Site-Wide contact form."
Can we conclude from this that the unwanted contact form is the Personal Contact form for user 1, admin? If so, do I need to delete this because I just need one site wide contact form so people can contact me.