Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • donnawatts Friend
    #177395

    Hello,

    Can anyone please advise how to add the top image view, s, m, l, xl buttons as shown in the demo and what position they would be in.

    Thanks

    Kind Regards
    Donna

    John Wesley Brett Moderator
    #454287

    It is not a module – it is hard-coded into the index file.

    Open file: /templates/ja_wall/index.php

    At around line 146 – and below <!– //SEARCH –>

    Insert the following:

    <?php if (jaTpl_check ('isGridView')) : ?> <!-- TOOLBAR -->
    <div id="toolbar" class="has-toggle">
    <div class="btn-toggle toolbar-toggle">
    <span> </span><strong>Toolbar</strong>
    </div>
    <div class="inner toolbar-inner clearfix">
    <ul>
    <li id="toolbar-display">
    <dl>
    <dt>Display</dt>
    <dd id="toolbar-display-imageview" class="first last"><span>Image View</span></dd>
    </dl>
    </li>
    <li id="toolbar-basegrid">
    <dl>
    <dt>Grid</dt>
    <dd id="toolbar-basegrid-s" class="first"><span>S</span></dd>
    <dd id="toolbar-basegrid-m"><span>M</span></dd>
    <dd id="toolbar-basegrid-l"><span>L</span></dd>
    <dd id="toolbar-basegrid-xl" class="last"><span>XL</span></dd>
    </dl>
    </li>
    </ul>
    </div>
    </div>
    <script type="text/javascript">
    //toolbar
    jQuery(document).ready(function($){
    $('#toolbar-basegrid dd').toolbar({ group: 'basegrid', type: 'single', val: '<?php echo $this->params->get('jawall_basegrid', 'm') ?>'});
    $('#toolbar-display dd').toolbar({ group: 'display', type: 'toggle', val: '<?php echo $this->params->get('jawall_display', '') ?>'});
    });
    </script>
    <!-- //TOOLBAR -->
    <?php endif; ?>




    That should do it!
    Have fun.

    donnawatts Friend
    #454297

    Hello,

    Thanks for your reply but I already have that code on line 146 onwards. Is there a way of activating them so they show?

    Thanks,
    Donna

    John Wesley Brett Moderator
    #454305

    I need to see a URL to understand why they are not showing on your site.

    donnawatts Friend
    #454306

    Hello,

    The URL is http://www.improveonline.co.uk

    Thank you for your help.

    Donna

    John Wesley Brett Moderator
    #454313

    WOW! You’re brave…attempting without the demo content. 🙂

    Go to PLUGIN MANAGER – and ENABLE JA System Pager Plugin

    Let me know if you need further.

    donnawatts Friend
    #454487

    Great, Thank You.

    pixallus Friend
    #467835

    i have the plugin enabled and the code is in place…still not showing.
    any help please? thanks in advance

    http://threado.com/2012b/index.php/vote

    pixallus Friend
    #467841

    Nevermind,
    found out that if you change the JA Wall settings on a menu item, you lose the image toolbar.
    by leaving these settings as “Default”, the image toolbar will display.

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

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

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