Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • midsomer Friend
    #167713

    Using 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 Friend
    #407921

    Hi,
    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 Friend
    #407937

    You 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.


    1. Bistro_Form_Demo_J1.5
    2. Bistro_Form_Demo_J1.6
    khoand Friend
    #408300

    You login backend > Components > Contacts > Contacts > Options > set Display format is Plain

    midsomer Friend
    #408391

    Thanks 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?


    1. Bistro_Form_J1.6
    Phill Moderator
    #408406

    I 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.

    midsomer Friend
    #408411

    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.

    khoand Friend
    #408438

    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

    Phill Moderator
    #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 Moderator
    #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 Friend
    #408445

    To 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.

    midsomer Friend
    #408469

    Made 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.


    1. Bistro_Form_J1.6_hack
    khoand Friend
    #408476

    I 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 Friend
    #408481

    To 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 Friend
    #408490

    That tidies it up for the same theme look.

    Thanks for the tutorial 😉


    1. Bistro_Form_J1.6_font_hack
Viewing 15 posts - 1 through 15 (of 16 total)

This 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