Remove Contact title from contact form page
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
- Josh Lewis
- Joomla! Guru
- Posts: 528
- Joined: Wed Jun 11, 2008 11:12 pm
- Location: Lynnwood,WA
- Contact:
Re: Remove Contact title from contact form page
Awesome! Glad I asked because I would have looked in value. Thanks for your help.
For those interested, the language constant is "COM_CONTACT_DETAILS". I figured that out when I saw "Contact" by itself.
For those interested, the language constant is "COM_CONTACT_DETAILS". I figured that out when I saw "Contact" by itself.
-
- Joomla! Intern
- Posts: 93
- Joined: Fri Oct 05, 2012 8:02 am
Re: Remove Contact title from contact form page
Now you're talking about contact forms anyway.
Is there an (free) extension which allows you to add more subjects to your contact form? The standard contact form hasn't got what i want to add.
Maybe you have one that you prefer, i would love to know.
Is there an (free) extension which allows you to add more subjects to your contact form? The standard contact form hasn't got what i want to add.
Maybe you have one that you prefer, i would love to know.
- Webdongle
- Joomla! Master
- Posts: 44019
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Remove Contact title from contact form page
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Intern
- Posts: 93
- Joined: Fri Oct 05, 2012 8:02 am
Re: Remove Contact title from contact form page
Tried this one out, but is there a way to change the errors you get when you fill not fill in something?
- Webdongle
- Joomla! Master
- Posts: 44019
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Remove Contact title from contact form page
What do you mean errors ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Intern
- Posts: 93
- Joined: Fri Oct 05, 2012 8:02 am
Re: Remove Contact title from contact form page
I ment, when you not fill in the form you get like: Please fill in all the required fields. (wanted to change that into dutch words)
Worked out by changing the language file in the extension itself. Just changed a sentence and it was like i wanted it .
Thanks for telling about the plugin. Works like a charm!
Worked out by changing the language file in the extension itself. Just changed a sentence and it was like i wanted it .
Thanks for telling about the plugin. Works like a charm!
- Webdongle
- Joomla! Master
- Posts: 44019
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Remove Contact title from contact form page
This may help ?
http://www.algisinfo.com/ro/forum/9-aiC ... tSafe.html
http://www.algisinfo.com/ro/forum/9-aiC ... tSafe.html
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Mar 20, 2010 10:12 pm
Re: Remove Contact title from contact form page
Need to get rid of the "Contact Form" and "Contact" in Joomla 2.5 contact form.Where can I find these folders (below) in Joomla 2.5? These files are in 1.7, but no luck finding them in 2.5. Is there another file path I should take? Thanks
COM_CONTACT_EMAIL_FORM="Contact Form" to COM_CONTACT_EMAIL_FORM=""
and
COM_CONTACT_DETAILS="Contact" to COM_CONTACT_DETAILS=""
COM_CONTACT_EMAIL_FORM="Contact Form" to COM_CONTACT_EMAIL_FORM=""
and
COM_CONTACT_DETAILS="Contact" to COM_CONTACT_DETAILS=""
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Oct 25, 2012 1:34 am
Re: Remove Contact title from contact form page
To remove "Contact" remove the code on the line 46-48 in the default.php file.
To remove "Contact Form" remove the code on the line 72-74 in the default.php file.
In my case for some reason it didn't worked when i removed it from the overwritten file in my template, i had to modify the core... Hope that helps
Code: Select all
<?php if ($this->params->get('presentation_style')=='plain'):?>
<?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
<?php endif; ?>
Code: Select all
<?php if ($this->params->get('presentation_style')=='plain'):?>
<?php echo '<h3>'. JText::_('COM_CONTACT_EMAIL_FORM').'</h3>'; ?>
<?php endif; ?>
- Josh Lewis
- Joomla! Guru
- Posts: 528
- Joined: Wed Jun 11, 2008 11:12 pm
- Location: Lynnwood,WA
- Contact:
Re: Remove Contact title from contact form page
I think a new bug tracker needs to be posted. I hope for this to be fixed by Joomla 3.5.
- Webdongle
- Joomla! Master
- Posts: 44019
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Remove Contact title from contact form page
Better to create a template override than edit core files.Digitech wrote:To remove "Contact" remove the code on the line 46-48 in the default.php file....
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- hollywood
- Joomla! Apprentice
- Posts: 22
- Joined: Wed Mar 14, 2007 4:39 pm
- Location: Bellingham, WA USA
- Contact:
Re: Remove Contact title from contact form page
Here's and easy way to get it out with CSS. Add this code:
.contact h3 {display:none;}
.contact h3 {display:none;}
Softwired - Content Management Websites with Joomla!
http://www.softwiredweb.com
Follow: http://twitter.com/tonysova
http://www.softwiredweb.com
Follow: http://twitter.com/tonysova
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Mar 20, 2010 10:12 pm
Re: Remove Contact title from contact form page
Hi Anna,
You solution above almost worked. The best one yet!! The problem now is...I want to delete both "Contact" and "Contact Form" When I delete one and save the other one appears. I change the one that appears then the old one comes back. I want them both gone. Any ideas?
Joomla should come up with a simple way to do this.
Thanks,
Garnett
You solution above almost worked. The best one yet!! The problem now is...I want to delete both "Contact" and "Contact Form" When I delete one and save the other one appears. I change the one that appears then the old one comes back. I want them both gone. Any ideas?
Joomla should come up with a simple way to do this.
Thanks,
Garnett
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Oct 25, 2012 1:34 am
Re: Remove Contact title from contact form page
Better would be to have an option in the form settings to turn it off... i told in the posting above that override didn't worked for me.Webdongle wrote:Better to create a template override than edit core files.Digitech wrote:To remove "Contact" remove the code on the line 46-48 in the default.php file....
- coaleb
- Joomla! Enthusiast
- Posts: 185
- Joined: Fri Mar 16, 2012 11:40 pm
- Location: California
- Contact:
Re: Remove Contact title from contact form page
This is a pretty old thread now, but I thought I would post this for those of you who may still be having trouble with this.
The thing to remember here is that the Single Contact menu item that most people use as their website contact form is actually intended to be linked to a person. So what you're all referring to as the "Page Title" is actually being treated by Joomla as the name of an individual. Therefor, removing the page title does not affect the default behavior of displaying the contact's name.
To make it even more clear, just because you entered "Contact Us" as the contact's name does not make it a page title - it's a name.
Therefor to remove the "title" you actually have to hide the Name by going to Contact Manager -> Contact -> Display Options -> Name: Hide
This was never fixed in Joomla because it was never broken.
The thing to remember here is that the Single Contact menu item that most people use as their website contact form is actually intended to be linked to a person. So what you're all referring to as the "Page Title" is actually being treated by Joomla as the name of an individual. Therefor, removing the page title does not affect the default behavior of displaying the contact's name.
To make it even more clear, just because you entered "Contact Us" as the contact's name does not make it a page title - it's a name.
Therefor to remove the "title" you actually have to hide the Name by going to Contact Manager -> Contact -> Display Options -> Name: Hide
This was never fixed in Joomla because it was never broken.
- coaleb
- Joomla! Enthusiast
- Posts: 185
- Joined: Fri Mar 16, 2012 11:40 pm
- Location: California
- Contact:
Re: Remove Contact title from contact form page
As for the others who want to remove the actual contact tab:
Code: Select all
.component-content .contact .title {display:none;}
-
- Joomla! Enthusiast
- Posts: 221
- Joined: Fri Oct 10, 2008 9:03 pm
- Contact:
Re: Remove Contact title from contact form page
this worked perfectely. no core overides, no messing with stuff i do not understand. i just added it into the custom CSS box in my template. You could also edit the template css manually and add this in or use a module/plugin/compoenet to add it in for you if it is not easy to do in the template.hollywood wrote:Here's and easy way to get it out with CSS. Add this code:
.contact h3 {display:none;}
This really should be an option in joomla because most people only want 1 contact page with a few simple configurable fields and possibly a captcha
thanks hollywood
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jul 25, 2013 11:53 am
Re: Remove Contact title from contact form page
What Forkless said works good although it's line 70-72 of the default.php file while using Joomla 3.1.5. Can't believe why nothing has been done with this after several years:S One should at least have the opportunity to choose to display or hide the "Contact" header/title.forkless wrote:Yup. Made sure all forms of cache were disabled as well.
Anyway, I fixed it with a template override so the constants are intact as intended.
Copied components/com_contact/views/contact/tmpl/default.php to templates/mytemplate/html/com_contact/contact/default.php
Went to line 47;
Encapsulated it with some HTML remarksCode: Select all
<?php if ($this->params->get('presentation_style')=='plain'):?> <?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?> <?php endif; ?>
Saved and pronto, no more contact details title.Code: Select all
<!-- <?php if ($this->params->get('presentation_style')=='plain'):?> <?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?> <?php endif; ?> -->
Initially I didn't get the template override working and there is probably a very logical reason for it (I'm just not too familiar with Joomla). I wonder however why /tmpl/ is ommited in the target path for the override as it is not the most practical implementation.
It took me a little bit to figure that one out that you can't do a 1:1 tree copy below views. Ideally it would have been nicer if you could just have cloned the folder from its master (from the views level).
Anyway, problem sorted.
Btw, If you remove the COM_CONTACT_DETAILS from the language file the Contact title will return if you ever decide to change the front end language of your Joomla installation.
-
- Joomla! Ace
- Posts: 1045
- Joined: Sat Aug 20, 2005 8:53 am
- Location: Panamá
Re: Remove Contact title from contact form page
Hi to all,
I'm not a programmer, so I want ask your opinion:
What is the best way (for the browser page load time) to get it out?
- with CSS adding the code: .contact h3 {display:none;}
- using Languages Override feature
Thanks for help
I'm not a programmer, so I want ask your opinion:
What is the best way (for the browser page load time) to get it out?
- with CSS adding the code: .contact h3 {display:none;}
- using Languages Override feature
Thanks for help
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Feb 03, 2009 6:17 pm
Re: Remove Contact title from contact form page
People went on and didn't even thank this guy for solving something that has bothered people for years!coaleb wrote:This is a pretty old thread now, but I thought I would post this for those of you who may still be having trouble with this.
The thing to remember here is that the Single Contact menu item that most people use as their website contact form is actually intended to be linked to a person. So what you're all referring to as the "Page Title" is actually being treated by Joomla as the name of an individual. Therefor, removing the page title does not affect the default behavior of displaying the contact's name.
To make it even more clear, just because you entered "Contact Us" as the contact's name does not make it a page title - it's a name.
Therefor to remove the "title" you actually have to hide the Name by going to Contact Manager -> Contact -> Display Options -> Name: Hide
This was never fixed in Joomla because it was never broken.
THANK YOU
You solved it. Above you see the solution to hide the contact title and the contactform title from the joomla standart contact form. this is it. works perfectly. no hacks.
-
- Joomla! Intern
- Posts: 53
- Joined: Mon Jun 13, 2011 3:01 am
Re: Remove Contact title from contact form page
Thanks for this solution. It worked great!