Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • victortopper Friend
    #640394

    Hi,
    this time I want to create the same position on my new template “ja_teline V” to display a drop-down menu as the http://www.mwinda.org site.
    Url of the new site and I want to create this position
    “Url: http://mt5.mwinda.org” in the same location.
    see image

    TomC Moderator
    #645385

    Perhaps the following tutorial will be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/

    victortopper Friend
    #645396

    I’m not a programmer but if you can help me insert the code and at what level

    TomC Moderator
    #645397

    <em>@victortopper 485355 wrote:</em><blockquote>I’m not a programmer but if you can help me insert the code and at what level</blockquote>

    The tutorial linked above provides step-by-step instructions as to what code to enter and where to enter it.

    victortopper Friend
    #645404

    the way you told me does not match the one in ja_teine V installed on my site “templates / ja_teline_v / TPLS / blocks / header.php”

    TomC Moderator
    #645405

    <em>@victortopper 485364 wrote:</em><blockquote>the way you told me does not match the one in ja_teine V installed on my site “templates / ja_teline_v / TPLS / blocks / header.php”</blockquote>

    In that case, the following previous discussion threads on the same issue may be helpful to you . . . .

    http://www.joomlart.com/forums/topic/create-new-module-position-5/

    http://www.joomlart.com/forums/topic/new-position-4/

    http://www.joomlart.com/forums/topic/add-a-new-position/

    victortopper Friend
    #645444

    Please could you specify the file or I have to put the code and location for the example you offer me is a template version 2.5 which struture files are not the same.
    image nouvevelle the position must be placed at the point where I indicated?

    victortopper Friend
    #645450

    “ I would like to create a position for a ticker module (http://extensions.joomla.org/extensions/extension/news-display/articles-display/magic-news-ticker) under the main menu like I have in mwinda.org “

    Saguaros Moderator
    #647290

    Hi

    As I can see that your old site is using JA Teline IV with new T3 framework which is also used in Teline V template. Thought that if you’ve already been able to create that new position, you can apply exact same way to create a new position for Teline V template.

    Anyways, you can follow steps below:
    – Add new position into the file templateDetails.xml, I call it customzied-position : http://prntscr.com/806sbv

    – Create a new block which will load this new position:
    Go to this directory: root/templates/ja_teline_v/tpls/blocks/
    Create a new file custom-block.php
    Open this new file and call the new position added above:


    <?php
    /**
    *------------------------------------------------------------------------------
    * @package T3 Framework for Joomla!
    *------------------------------------------------------------------------------
    * @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    * @authors JoomlArt, JoomlaBamboo, (contribute to this project at github
    * & Google group to become co-author)
    * @google group: https://groups.google.com/forum/#!forum/t3fw
    * @link: http://t3-framework.org
    *------------------------------------------------------------------------------
    */
    defined('_JEXEC') or die;
    ?>

    <?php if ($this->countModules('customzied-position')) : ?>
    <!-- Custom block -->
    <nav class="wrap <?php $this->_c('customzied-position') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('customzied-position') ?>" />
    </div>
    </nav>
    <!-- //custom block -->
    <?php endif ?>

    – Add this new block to the place you want. For example, if you want to locate this block underneath the main menu, you can go to file: root/templates/ja_teline_v/tpls/magazine-home.php (I assume you’re using this ‘magazine-home’ layout)


    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('topnav') ?>

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('mainnav') ?>

    <?php $this->loadBlock('custom-block') ?> <<< add this line of code

    <?php $this->loadBlock('mainbody-full') ?>

    <?php $this->loadBlock('footer') ?>

    </div>

    You can apply the same for other layouts.

    – Finally, assign your own module to the new created position.

    victortopper Friend
    #647523

    Nobody can help me solve this problem please I’m specialist

    ? I would like to create a position for a ticker module (http://extensions.joomla.org/extensions/extension/news-display/articles-display/magic-news-ticker) under the main menu like I have in http://mwinda.org

    Saguaros Moderator
    #647527

    Could you give a chance to take a look at my post above?

    victortopper Friend
    #647536

    yes I want really nice if you can help me
    you want me to do what I sent you my codes on your private messages

    Saguaros Moderator
    #647547

    Hi

    I gave you so detailed instructions although this is customisation. Try to take a BACKUP of your site and follow it.

    victortopper Friend
    #648033

    ok I will try to follow the procedure and I will keep you informed
    Thank you

    TomC Moderator
    #648063

    <em>@victortopper 485738 wrote:</em><blockquote>ok I will try to follow the procedure and I will keep you informed
    Thank you</blockquote>

    victortopper . . . . .

    JoomlArt Technical Support is here to help GUIDE our members with various issues/questions/problems – hence, the references to tutorials that I provided previously … the second bunch of which (for the most part) mirror what Saguaros layed out for you as well.

    By reading and working through these processes, you will learn even more about how these templates work/function – in case you want/need to add more positions at a later date.

    Let us know how you come along with the tutorial instructions. 🙂

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

This topic contains 33 replies, has 4 voices, and was last updated by  timtecsa 8 years, 9 months ago.

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