-
AuthorPosts
-
midsomer Friend
midsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 23, 2011 at 2:39 pm #167713Using Bistro J1.7 Quickstart with Demo Data. How can the ‘Contact’ submenu in ‘Joomla Overview’ menu be set up to show the Contact Form only as the Bistro J1.5 Demo?
It would be useful if these setting were included in the User Guides.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 23, 2011 at 3:17 pm #407921Hi,
I don’t understand what you mean clearly. Could you explain more details? A snapshot with your annotation is very helpful to help me understand your idea.midsomer Friendmidsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 23, 2011 at 4:04 pm #407937You can see the difference between the J1.5 Contact Form and the J1.6 form in your template showcase demos.
In Bistro J1.5 demo the form from the Contact Us menu looks like this.
Whereas in the Bistro J1.6 demo the form looks like this.
My interest is to know how I can set the Contact component parameters in Bistro J1.6 to get the simple form layout as in the Bistro J1.5 demo.
I see that there are differences in the Contact component parameter options between J1.5 and J1.6. J1.5’s look clearer to set up, which is maybe why the Contact Form hasn’t been set up in the Bistro J1.6 demo.
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 5:02 am #408300You login backend > Components > Contacts > Contacts > Options > set Display format is Plain
midsomer Friendmidsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 25, 2011 at 10:21 am #408391Thanks for the help. I changed the display format to Plain.
I still have two tile bars showing as below image. How can I hide or edit these?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 25, 2011 at 11:02 am #408406I have passed this to the JA bug team as we seem to be lacking some styling on the J1.7 install for the contact form. As you can see, the fonts look very different as it is picking a default layout.
I cannot say how quickly this can be addressed though. I will respond here when it is fixed.
Please also not that there is now a Joomla 1.7 vesion of this template available. As support for J1.6 has now come to an end please make sure you update your template, plugin and Joomla install.
1 user says Thank You to Phill for this useful post
midsomer Friendmidsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 25, 2011 at 11:17 am #408411Thanks Phill,
I’m using Bistro j1.7 quickstart on a WAMP to learn about it.
Hope to hear more about j1.7 styling. It seems to be a generic issue, I see the same in Social j1.6. A simple contact form is a must for most templates.khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 12:51 pm #408438To remove “Contact”, you replace this code from /components/com_contact/views/contact/tmpl/default.php
<?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
with
<?php //echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
To edit “Contact form”, you find this code from /language/en-GB/en-GB.com_contact.ini
COM_CONTACT_EMAIL_FORM="Contact Form" < change bold textPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 25, 2011 at 12:58 pm #408441<em>@midsomer 262463 wrote:</em><blockquote>Thanks Phill,
I’m using Bistro j1.7 quickstart on a WAMP to learn about it.
Hope to hear more about j1.7 styling. It seems to be a generic issue, I see the same in Social j1.6. A simple contact form is a must for most templates.</blockquote>Yes, I have passed tis on. The contact form system has been changes by Joomla.org for J1.6/7 which is why it looks more complicated now. However, in the templates JA seems to have forgotten to apply the font styling amongst a couple of other things. The devs are looking into it so hopefully we will have a resolution soon.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 25, 2011 at 1:01 pm #408442<em>@khoand 262486 wrote:</em><blockquote>To remove “Contact”, you replace this code from /components/com_contact/views/contact/tmpl/default.php
<?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
with
<?php //echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
To edit “Contact form”, you find this code from /language/en-GB/en-GB.com_contact.ini
COM_CONTACT_EMAIL_FORM="Contact Form" < change bold text
</blockquote>While that will work I personally am not happy that a user should need to edit core Joomla files. We need to override these in our template or users will loose their changes everytime they update Joomla. In addition we need to apply the styling correctly.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 1:09 pm #408445To avoid change cord joomla files. You create /templates/ja_bistro/html/com_contact/contact folder and copy /components/com_contact/views/contact/tmpl/default.php file to new folder. After that, apply my previous way to file in new folder.
1 user says Thank You to khoand for this useful post
midsomer Friendmidsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 25, 2011 at 3:44 pm #408469Made the changes as you suggested and was able to comment out the Contact title to hide it and edit the Contact Form language text.
I presume that the folder created /templates/ja_bistro/html/com_contact/contact/default.php doesn’t get overwritten with a template upgrade?
Thanks for the hack to get the appearance I wanted. I appreciate your code change pointers.
I have to agree with Phill that the styling options should be addressed in the template design, and I hope this will be common to all JA J1.7 templates.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 4:14 pm #408476I presume that the folder created /templates/ja_bistro/html/com_contact/contact/default.php doesn’t get overwritten with a template upgrade?
Yes, it is.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 4:28 pm #408481To change font of “Contact form”, you replace this code from default.php
<?php echo '<h3>'. JText::_('COM_CONTACT_EMAIL_FORM').'</h3>'; ?>
with
<?php echo '<h3 class="componentheading">'. JText::_('COM_CONTACT_EMAIL_FORM').'</h3>'; ?>midsomer Friendmidsomer
- Join date:
- February 2010
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
August 25, 2011 at 4:56 pm #408490AuthorPostsThis topic contains 16 replies, has 3 voices, and was last updated by Phill 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum