Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • robyrom Friend
    #207775

    The displayed date in home page is controlled by a module or in which other way? I would like to put underneath it a language module but don’t realize whic position I have to assing because netiher header1 nor whatsnew work. Thanks.

    pavit Moderator
    #575326

    Hi

    The date is hardcoded into php file itself in this file templatesja_teline_vtplsblocksheader.php

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    </div>
    </div>

    So it is between 2 positions header-1 and whatsnew

    pavit Moderator
    #641656

    Hi

    The date is hardcoded into php file itself in this file templatesja_teline_vtplsblocksheader.php

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    </div>
    </div>

    So it is between 2 positions header-1 and whatsnew

    pavit Moderator
    #740318

    Hi

    The date is hardcoded into php file itself in this file templatesja_teline_vtplsblocksheader.php

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    </div>
    </div>

    So it is between 2 positions header-1 and whatsnew

    robyrom Friend
    #575339

    So it is not possible to insert a module underneath the date in a vertical way?

    robyrom Friend
    #641669

    So it is not possible to insert a module underneath the date in a vertical way?

    robyrom Friend
    #740331

    So it is not possible to insert a module underneath the date in a vertical way?

    pavit Moderator
    #575341

    <em>@robyrom 479846 wrote:</em><blockquote>So it is not possible to insert a module underneath the date in a vertical way?</blockquote>

    It is not clear to me where exactly you want to have a new module

    Posting here a mockup screenshot may help

    pavit Moderator
    #641671

    <em>@robyrom 479846 wrote:</em><blockquote>So it is not possible to insert a module underneath the date in a vertical way?</blockquote>

    It is not clear to me where exactly you want to have a new module

    Posting here a mockup screenshot may help

    pavit Moderator
    #740333

    <em>@robyrom 479846 wrote:</em><blockquote>So it is not possible to insert a module underneath the date in a vertical way?</blockquote>

    It is not clear to me where exactly you want to have a new module

    Posting here a mockup screenshot may help

    robyrom Friend
    #575343

    Here ‘s a hugly screenshot


    1. schermata2
    robyrom Friend
    #641673

    Here ‘s a hugly screenshot

    robyrom Friend
    #740335

    Here ‘s a hugly screenshot

    pavit Moderator
    #575345

    Hi

    Try in this way :

    In the file i suggested above edit the new position

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    <jdoc:include type="modules" name="<?php $this->_p('language1') ?>" style="raw" />
    </div>
    </div>

    The language1 position is the new position created you can name it as you wish

    HERE the result with languageswitcher module published in language1 position

    Add this new position into this file too templatesubertemplateDetails.xml at bottom of positions section

    <position>footer-8</position>
    <position>footer-9</position>
    <position>footer-10</position>
    <position>debug</position>
    <position>language1</position>


    1. Screenshot_4
    pavit Moderator
    #641675

    Hi

    Try in this way :

    In the file i suggested above edit the new position

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    <jdoc:include type="modules" name="<?php $this->_p('language1') ?>" style="raw" />
    </div>
    </div>

    The language1 position is the new position created you can name it as you wish

    HERE the result with languageswitcher module published in language1 position

    Add this new position into this file too templatesubertemplateDetails.xml at bottom of positions section

    <position>footer-8</position>
    <position>footer-9</position>
    <position>footer-10</position>
    <position>debug</position>
    <position>language1</position>

Viewing 15 posts - 1 through 15 (of 22 total)

This topic contains 22 replies, has 2 voices, and was last updated by  pavit 9 years, 5 months ago.

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