-
AuthorPosts
-
spiralgr Friend
spiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 17, 2015 at 3:35 pm #662464Hello is there a way i can add a new module position between sidebar1 and sidebar 2 and above articles, in blog layout? I want something like the image.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 17, 2015 at 3:42 pm #662493Hi
For which layout you want this ?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 17, 2015 at 3:42 pm #662494Perhaps the following tutorial may be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 17, 2015 at 4:26 pm #662501for blog layout
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 17, 2015 at 4:52 pm #662502<em>@TomC 487764 wrote:</em><blockquote>Perhaps the following tutorial may be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/</blockquote>
This post is back from 2013 is it ok to follow?
Also in step 5 has something that doesn’t make sense :<blockquote>1. Go to Joomla Administration backend >> Extensions >> Module Manager.
2. Click “New” icon
3. Select “Custom_HTML” in the list of module types
4. Name your module
5. Click “Select position” and scroll down to find new position (in this case, “banner”)
6. Configure your module parameters as needed. </blockquote>TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 17, 2015 at 5:30 pm #662503The previous discussion threads below are a bit more recent . . . . .
http://www.joomlart.com/forums/topic/create-new-module-position-5/
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 17, 2015 at 7:36 pm #662507i have followed the steps in this thread http://www.joomlart.com/forums/topic/add-a-new-position/
(which is exactly what i want) and the new position appear both in the template layout and in position selection when i create a new module. But it doesn’t seem to work.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 18, 2015 at 2:41 am #662541You can try the solution in this thread: http://www.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576
Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 18, 2015 at 2:41 am #745729You can try the solution in this thread: http://id.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576
Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 18, 2015 at 10:49 am #662654<em>@Saguaros 487830 wrote:</em><blockquote>You can try the solution in this thread: http://www.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576
Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.</blockquote>
I have done that again everything seems correct in the backend but the position do not appear in the frontend
This is how two sidebar.php look like now, i believe it is correct.
<div id="t3-mainbody" class="container t3-mainbody">
<div class="row"><!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
<!-- topbanner -->
<?php if ($this->countModules('topbanner')) : ?>
<div class="span12 <?php $this->_c('topbanner')?>">
<jdoc:include type="modules" name="<?php $this->_p('topbanner') ?>" style="T3xHtml" />
</div>
<?php endif ?>
<!--//topbanner-->
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</div>
<!-- //MAIN CONTENT --><!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars['sidebar1']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 --><!-- SIDEBAR 2 -->
<div class="t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars['sidebar2']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 2 --></div>
i have also add the position in templateDetails.xml
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 18, 2015 at 10:49 am #745812<em>@Saguaros 487830 wrote:</em><blockquote>You can try the solution in this thread: http://id.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576
Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.</blockquote>
I have done that again everything seems correct in the backend but the position do not appear in the frontend
This is how two sidebar.php look like now, i believe it is correct.
<div id="t3-mainbody" class="container t3-mainbody">
<div class="row"><!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
<!-- topbanner -->
<?php if ($this->countModules('topbanner')) : ?>
<div class="span12 <?php $this->_c('topbanner')?>">
<jdoc:include type="modules" name="<?php $this->_p('topbanner') ?>" style="T3xHtml" />
</div>
<?php endif ?>
<!--//topbanner-->
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</div>
<!-- //MAIN CONTENT --><!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars['sidebar1']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 --><!-- SIDEBAR 2 -->
<div class="t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars['sidebar2']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 2 --></div>
i have also add the position in templateDetails.xml
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 19, 2015 at 1:09 am #662833You can PM me the ftp account of your site and tell me the new position you want to add and the module would be shown there.
spiralgr Friendspiralgr
- Join date:
- May 2015
- Posts:
- 145
- Downloads:
- 14
- Uploads:
- 1
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
August 20, 2015 at 5:55 am #663185<em>@Saguaros 488026 wrote:</em><blockquote>You can PM me the ftp account of your site and tell me the new position you want to add and the module would be shown there.</blockquote>
I have sent you a private message. Thank you
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 20, 2015 at 7:46 am #663193After checking your site, I see that you changed the wrong file so that it didn’t work.
Let’s take this page as an example: yoursite.com/joom/thessalia/geography
You don’t assign any module to the sidebar-right so this page will have layout: sidebar-left + main content . This means that you will need to edit the file: /templates/ja_hotel/tpls/blocks/mainbody/one-sidebar-left.php instead of ‘two-sidebar.php’
You can apply this change to all of files in mainbody block: /templates/ja_hotel/tpls/blocks/mainbody/ so that you will not have to care about which layout is using.
I just updated for you and you can see that the topbanner module is showing now.
Have a nice day!!!
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 15 replies, has 4 voices, and was last updated by spiralgr 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum