Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • dieudonne Friend
    #171204

    Hello,

    when we are in a contact link, everybody know that it is the contact page.
    So the name “contact” and “contact form” are not required.
    See screenshot.

    So the question is how to remove the “contact” and the “contact form” in a joomla 1.7’s contact link ?
    I can’t find any answer on the joomlart forum, and the answer in the joomla.org forum is not very good.

    Thank in advance


    1. 2011-11-28-23h22_11
    khoand Friend
    #427049

    Hi,
    You add these codes from /templates/ja_teline_iv/css/template.css

    #basic-details {
    display: none;
    }

    #display-form {
    display: none;
    }

    dieudonne Friend
    #427067

    Hello,

    thank for your answer.
    But it is not working, so I investigate with your idea to put a “display: none ;”
    And I do this :

    #ja-content-main .contact h3 {
    display: none;
    }

    Is it correct ? Or is there a better and more cleaner solution ?

    Thank in advance

    PS : I’m running in Joomla 1.7

    khoand Friend
    #427068

    You try your code. Or Could you give me your website?

    dieudonne Friend
    #427071

    I just send you a email with the website address.

    Thank in advance for your help.

    khoand Friend
    #427084

    ok. You add your code into /template/ja_teline_iv/css/template.css

    dieudonne Friend
    #427085

    But we want just to remove the name “contact” but not the name “contact form”.
    Is there a way to do this ?

    Because with my solution, I remove the 2 names “contact” and “contact form”…

    Thank in advance.

    khoand Friend
    #427292

    ok. You try another way, you remove this code from /templates/ja_teline_iv/html/com_contact/contact/default.php

    <?php if ($this->params->get('presentation_style')=='plain'):?>
    <?php echo '<h3>'. JText::_('COM_CONTACT_DETAILS').'</h3>'; ?>
    <?php endif; ?>

    If the file is not exist, you remove the code from /components/com_contact/views/contact/tmpl/default.php

    dieudonne Friend
    #428005

    Excellent !

    It’s working very well.
    Thank you very much for this useful tip 🙂

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  dieudonne 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum