Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • antoniliyn Friend
    #172016

    Hi. Site http://olympicbody.ru, Joomla 1.7.3, YA Tiris 1.1.0.
    I need to add additional menu in top position of template. How can I do this? See screenshot.

    In the support tickets have already written. And I received a strange reply from Vittorio Palladino.
    <blockquote>Sorry, try to post your request in the forum so someone else haved your problems maybe had resolved before. I don’t know why is not working on your template </blockquote>

    So the only hope for your bright mind!:)


    1. 456454654
    pavit Moderator
    #430672

    Hi antoniliyn

    <blockquote>In the support tickets have already written. And I received a strange reply from Vittorio Palladino</blockquote>

    As support tickets are dedicated to solve issues related to software bugs or other issue caused by Joomlart software

    So it’s not dedicated to customize customer’s sites

    For this reason the Vittorio Palladino’s answer is correct ! there is the Forum for these type of requests

    Regards

    antoniliyn Friend
    #430674

    Thank you. It does not matter. Waiting for an answer to the question on “Additional menu at the top position”.

    pavit Moderator
    #430676

    Please let me some time to make a couple of tests on my localhost

    I’ll reply in this thread with the solution ( I hope )

    Thanks

    antoniliyn Friend
    #430679

    I tried to set up a menu with the help of this manual: HOW to CREATE A TOP MENU in ANY J1.7 TEMPLATE. But can`t set menu. And TomC for two days does not respond to my questions.
    If you can help me I would be very grateful for you.

    pavit Moderator
    #430738

    Hi antonilyn

    I have found this solution

    1) goto this file templatesja_tirisblocksdefault.php

    add this line of php code
    [PHP]<?php if($this->countModules(‘topmenu’)) : ?>
    <div id=”ja-topmenu”>
    <jdoc:include type=”modules” name=”topmenu” />
    </div>
    <?php endif; ?>[/PHP]

    so the new file will be
    [PHP]?>
    <?php
    $app = & JFactory::getApplication();
    $siteName = $app->getCfg(‘sitename’);
    if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam(‘logoText’))==”) ? $siteName : JText::_(trim($this->getParam(‘logoText’)));
    $sloganText = JText::_(trim($this->getParam(‘sloganText’))); ?>
    <div class=”logo-text”>
    <h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
    <?php if($this->countModules(‘topmenu’)) : ?>
    <div id=”ja-topmenu”>
    <jdoc:include type=”modules” name=”topmenu” />
    </div>
    <?php endif; ?>
    <?php if($this->countModules(‘call-toll-free’)) : ?>
    <div id=”ja-toll-free”>
    <jdoc:include type=”modules” name=”call-toll-free” />
    </div>
    <?php endif; ?>[/PHP]

    2) Then go to /templates/ja_tiris/templatedetails.xml and add at the end of positions this line of code

    <position>topmenu</position>

    3) Go to /templates/ja_tiris/css/template.css at the end of the file add this code

    #ja-topmenu {
    margin: 0px 15px; clear: left;
    display: inline;
    }

    #ja-topmenu ul.menu {
    display: inline;
    margin-top: 10px;
    position: absolute;
    top: 0;
    }

    #ja-topmenu ul li {
    background: url(../images/line-menu.png) no-repeat right center;
    display: block;
    float: left;
    padding: 0 12px;
    }

    #ja-topmenu ul li a { color: #888; }

    #ja-topmenu ul li a:hover { color: #9a2016; }

    You can take the image line-menu.png from Ja_business template /template/Ja_Business/image folder

    4) Create a new menu called topmenu with your items

    5) Create a new module type menu and assign to it the menu named topmenu you have previous created

    6) Publish your module in the topmenu position

    Hope that can help Let me know

    antoniliyn Friend
    #430806

    Hi. Now all is well. 🙂 Thank you very much!


    1. 8888
    TomC Moderator
    #430869

    <em>@antoniliyn 290476 wrote:</em><blockquote>I tried to set up a menu with the help of this manual: HOW to CREATE A TOP MENU in ANY J1.7 TEMPLATE. But can`t set menu. And TomC for two days does not respond to my questions.
    If you can help me I would be very grateful for you.</blockquote>
    With all due respect, I DID respond to your questions . . . as well as provide additional resources for you.

    In fact, pavit’s solution below mirrors my previous assistance/recommendations …
    so I appreciate the Teamwork from my Support Team colleague. 🙂

    All’s well that ends well . . . Glad you arrived at the result you wanted.

    All the best with your continuing site development.

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

This topic contains 8 replies, has 3 voices, and was last updated by  TomC 12 years, 11 months ago.

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