Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • stazzy Friend
    #926119

    Good day admin. Pls i have tried all my best to set a new module position on header and left side bar but to no avail. Pls i need help. View image. THNAKS

    pavit Moderator
    #926126

    View image.

    Hi there

    There are no images in your post , could you add it ?

    stazzy Friend
    #926161

    view image


    1. NEWMOD
    pavit Moderator
    #926170

    Edit this file /templates/ja_teline_v/tpls/blocks/header.php and add below block at the end

    <div class="col trending">
    <jdoc:include type="modules" name="<?php $this->_p('header-2') ?>" />
    </div>

    So it appears in this way

                        <div class="col trending <?php $this->_c('header-1') ?>">
                            <jdoc:include type="modules" name="<?php $this->_p('header-1') ?>" />
                        </div>
    
                        <div class="col calendar">
                            <?php $date = JFactory::getDate('now', JFactory::getConfig()->get('offset')); ?>
                            <div class="col-inner">
                              <span class="number date"><?php echo $date->format('d', true) ?></span>
                              <div class="text">
                                <span class="day"><?php echo JText::_($date->format('D', true)) ?></span>, <span class="month"><?php  echo JText::_(strtoupper(date('F')).'_SHORT') ?></span>
                              </div>
                            </div>
                        </div>
    
                        <?php if ($this->countModules ('whatsnew')): ?>
                        <div class="col whatsnew <?php $this->_c('whatsnew') ?>">
                            <div class="col-inner">
                                <jdoc:include type="modules" name="<?php $this->_p('whatsnew') ?>" style="raw" />
                            </div>
                        </div>
                        <?php endif ?>
                        <div class="col trending">
                            <jdoc:include type="modules" name="<?php $this->_p('header-2') ?>" />
                        </div>
                    </div>
                </div>
                <!-- // HEADER RIGHT -->

    Edit this file /templates/ja_teline_v/templateDetails.xml and add the new header-2 position at the end of positions block

            <position>footer-9</position>
            <position>footer-10</position>
            <position>acy-email-footer</position>
            <position>debug</position>
        <position>header-2</position>

    The div class "col-trending" can be customized or changed as you prefer with a new css class added to custom.css file


    1. Screenshot_16
    stazzy Friend
    #950323

    good morning pavit. I created a module position as topbar c which hav been working fine, but yesterday i moved to my logo position. pls view image and help. thanks


    1. strem-mod
    pavit Moderator
    #950504

    Hi there

    Please share as private reply a temp super user account to your backend and a link for it so i can access to your settings

    stazzy Friend
    #950511
    This reply has been marked as private.
    pavit Moderator
    #950665

    Hi

    The account provided doesn’t works, anyway as you can see from image below new positions are correctly added you need to publish your module in position header-3 or whatsnew


    1. Screenshot-at-lug-16-17-16-29
Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 7 replies, has 2 voices, and was last updated by  pavit 8 years, 4 months ago.

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