-
AuthorPosts
-
victortopper Friend
victortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
July 30, 2015 at 12:38 pm #640394Hi,
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 imageTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2015 at 5:12 pm #645385Perhaps the following tutorial will be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/
victortopper Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
July 30, 2015 at 6:24 pm #645396I’m not a programmer but if you can help me insert the code and at what level
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2015 at 6:37 pm #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 Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
July 30, 2015 at 7:35 pm #645404the 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2015 at 7:55 pm #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/
victortopper Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
July 31, 2015 at 5:28 am #645444Please 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 Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
July 31, 2015 at 6:20 am #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 3, 2015 at 3:58 am #647290Hi
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 Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
August 3, 2015 at 7:18 am #647523Nobody 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 3, 2015 at 7:41 am #647527Could you give a chance to take a look at my post above?
victortopper Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
August 3, 2015 at 9:16 am #647536yes I want really nice if you can help me
you want me to do what I sent you my codes on your private messagesSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 3, 2015 at 10:31 am #647547Hi
I gave you so detailed instructions although this is customisation. Try to take a BACKUP of your site and follow it.
victortopper Friendvictortopper
- Join date:
- May 2008
- Posts:
- 495
- Downloads:
- 27
- Uploads:
- 172
- Thanks:
- 23
- Thanked:
- 2 times in 1 posts
August 3, 2015 at 11:04 am #648033ok I will try to follow the procedure and I will keep you informed
Thank youTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 3, 2015 at 4:26 pm #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. 🙂
-
AuthorPosts
This topic contains 33 replies, has 4 voices, and was last updated by timtecsa 9 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum