Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #905958

    Hi
    I this case you need to add a new module position in the slideshow block and give it style via custom.css
    Go to template folder /tpls/blocks/slidesshow.php file
    Define new module position code
    for example :

     <div class="col-sm-4"> <?php $this->_c('slideshow_sidebar') ?>">
              <jdoc:include type="modules" name="<?php $this->_p('slideshow_sidebar') ?>" style="raw" /> 
              </div>

    Here > http://prntscr.com/aldbv5
    Give the positions custom style from custom.css file and add new module position name from templatedetails.xml.
    Hope it helps .

    dibson Friend
    #905979

    Thanks Pankaj!!

    When I used the module position, it added it under the slideshow instead of to the right. Also the layout in the template looks weird.

    See attachments


    1. Capture-4
    2. capture1
    Pankaj Sharma Moderator
    #905985

    Hi
    Could u post your site super user details via Private reply . I will take a look

    dibson Friend
    #905990

    I will put my site online tomorrow. Currently, it’s on my localhost machine. Unless you want me to send you the teamviewer account creds.

    dibson Friend
    #905995
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #906037

    Hi
    The slideshow position is designed only for the slideshow ,, If you will add another position it needs to override the previous slideshow class and you will not get the same view . I attached the slideshow.php code below if you still want to change the view You need to do pretty customization in css to achive the demo site design . I suggest you to hire developer if you are not able to do custom work .

    <?php
    /**
     * ------------------------------------------------------------------------
     * JA Platon Template
     * ------------------------------------------------------------------------
     * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
     * @license - Copyrighted Commercial Software
     * Author: J.O.O.M Solutions Co., Ltd
     * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
     * This file may not be redistributed in whole or significant part.
     * ------------------------------------------------------------------------
     */
    
    defined('_JEXEC') or die;
    ?>
    <div class="col-sm-12">
    <?php if ($this->countModules('slideshow')) : ?>
        <!-- SLIDESHOW -->
        <div class="t3-slideshow col-sm-9  <?php $this->_c('slideshow') ?>">
                <jdoc:include type="modules" name="<?php $this->_p('slideshow') ?>" />
    
        </div>
        <!-- //SLIDESHOW -->
    <?php endif ?>
    
    <?php if ($this->countModules('slideshow_sidebar')) : ?>
    <div class="col-sm-3" >
                <?php $this->_c('slideshow_sidebar') ?>">
                <jdoc:include type="modules" name="<?php $this->_p('slideshow_sidebar') ?>" />
        <?php endif ?>
    
    </div>
    </div>
    

    Regarding the position 6,7 its look like this because there are 3 positions in this block and you published only with that using col-md-3 size .
    You can change the size from template options . Here is doc

    PS : Do not update your Joomla to latest version till template is not ready for it . Template update will comes soon for latest Joomla compatibility .

    dibson Friend
    #906739

    Great. That did what I wanted. I know I have to work on the css for this module. But this seems to caus an issue where the width of the content are is larger than the width of the header. See attachment and/or site.


    1. image-2-1
    Pankaj Sharma Moderator
    #906930

    Hi
    its looks fine at my end . Did u solved it ?
    Here : http://prntscr.com/am9u33

    dibson Friend
    #906974

    Yes I did.

    Added <div class="wrap t3-slideshow"> to the beginning.

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

This topic contains 9 replies, has 2 voices, and was last updated by  dibson 8 years, 8 months ago.

The topic ‘Add a module position to right of slideshow’ is closed to new replies.