Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • dvoid Friend
    #177443

    Hello,

    I wonder if you can help me. I have the toggle image view showing but I want to reverse its function IE by default it would load in image view and when the button is pressed then it would change to text view as it were. IE new users deafult would be to open the home page in image view…

    thanks

    <em>@jwbrett 321338 wrote:</em><blockquote>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.</blockquote>

    John Wesley Brett Moderator
    #454539

    Goto EXTENSIONS > TEMPLATE MANAGER > JA_WALL > ADVANCED OPTIONS

    And change the “Default Block View” from FULL VIEW to IMAGE VIEW
    Don’t forget to save!

    Have fun!
    John.

    dvoid Friend
    #454540

    Thanks, so obvious, that’s the downside of not having proper documentation 🙁

    thanks for your help

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

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

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