Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • brasspla Friend
    #133021

    Hi,

    I use Xenia_ii shopping on Joomla 1.5.6 and virtuemart 1.2 and due to the fact users of my site only can adjust textsize (so, no colors and width) I like to change the templatetools appearance in a way that it direct shows the A- A A + picture like in for instance Ja_kulanite insead of the picture Site Tools and then te subwindow.

    Anyone who knows hou to adjust ?
    Thanks in advance

    Sherlock Friend
    #269431

    Hi brasspla !
    You can disable color tools and width tools following way below :
    Open index.php file in templates/ja_xenia_ii folder , find following code section at about line 127 :


    <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER) & 7, 'gif'); /*screen tool*/ ?>

    change to :


    <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER) & 2, 'gif'); /*screen tool*/ ?>

    brasspla Friend
    #269441

    Thanks hainn84,

    Yes, this has the same effect as in the configuration menu of the template. But, the customer needs still two clicks to make, fist click on site tools and then for the size of the font. I like to change it in a way that in stead of the sitetools image the fontsize-immage is in front and the customer just clicks A- or A or A+

    Sherlock Friend
    #269446

    Hi brasspla !
    you can do it following some steps below :
    1. Open index.php file in templates/ja_xenia_ii folder , find following code section at about line 124:


    <?php if ($tmpTools->getParam(JA_TOOL_USER)) {?>
    <div id="ja-usertoolswrap">
    <span class="ja-sitetool">Site Tools</span>
    <div id="ja-usertools" style="left:<?php echo ($tmpTools->getParam(JA_TOOL_USER)==7)? -120 : (($tmpTools->getParam(JA_TOOL_USER)==3)?0:-60); ?>px">
    <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER) & 7, 'gif'); /*screen tool*/ ?>
    </div>
    </div>
    <?php } ?>
    </div>

    change to :


    <?php if ($tmpTools->getParam(JA_TOOL_USER)) {?>
    <div id="ja-usertoolswrap">

    <div id="ja-usertools">
    <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER) & 2, 'gif'); /*screen tool*/ ?>
    </div>
    </div>
    <?php } ?>
    </div>

    2. Open template_css.css file in templates/ja_xenia_ii/css folder , find following code section at about line 921:


    #ja-usertools {
    padding: 0;
    float: left;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
    border-left: 1px solid #DDDDDD;
    display: none;
    background: url(../images/grad1.gif) repeat-x bottom #FFFFFF;
    font-size: 11px;
    position: absolute;
    top: 100%;
    }

    change to :


    #ja-usertools {
    padding: 0;
    float: left;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
    border-left: 1px solid #DDDDDD;
    display: block;
    background: url(../images/grad1.gif) repeat-x bottom #FFFFFF;
    font-size: 11px;
    }

    brasspla Friend
    #269457

    Dear Hainn84,

    It works ! Thanks for your extremely quick reply and solution !
    Sincerely yours,
    Brasspla

    Sherlock Friend
    #269458

    Hi brasspla ~!
    ok , i will mark this thread to “solved”.

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

This topic contains 6 replies, has 2 voices, and was last updated by  Sherlock 16 years, 2 months ago.

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