-
AuthorPosts
-
midhat Friend
midhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
February 24, 2014 at 10:13 am #195146Hi,
I’m trying to put the module into position message, but it does not appear.
What’s the problem with this position?Thanks,
Midhatpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 24, 2014 at 10:25 am #524075Hi
Position messsage is the position used by Joomla to post system messages, so maybe would be better to use another position
midhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
February 24, 2014 at 10:28 am #524076Thank you for your prompt response.
Is it possible to create a new module position below the “message”pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
midhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
February 24, 2014 at 1:31 pm #524113Ok, I want module position “social” between “message” and “component”
1. I created a module position in a file templateDetails.xml:
<position>social</position>
2. Then I added in /blocks/mainbody/two-sidebar.php this line:
<jdoc:include type=”modules” name=”<?php $this->_p($social) ?>” style=”JAxhtml” />
(before: <jdoc:include type=”component” />)
3. Position appeared in the backend, but no name (only Auto). I add her name, but it disappears after saving4. When I add a module to the position “social” he does not appear. What did I miss?
Thanks in advance,
Midhat
midhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
March 12, 2014 at 12:15 pm #526474Any suggestions?
Please.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 12, 2014 at 5:08 pm #526498Hi
<div class="main-content-inner">
<jdoc:include type="message" />
<jdoc:include type="module" name="social" title="social" style="JAxhtml" />
<jdoc:include type="component" />
</div>midhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
March 12, 2014 at 5:51 pm #526503Thanks,
I now have a module position and the name of the position in the backend. I put the module in a social position, but does not work in the frontend.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 12, 2014 at 6:07 pm #526505I think you should add your new position below the content-mass-top position
Message and component positions are showed if some conditions are verified ( e.g. error ) so the behaviour is a bit different from a normal module position.
midhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
March 12, 2014 at 6:15 pm #526506Thank you,
but this position may not be as wide as the entire wesite, only as a component position. In addition to the social position should be sidebar-2 on the rightmidhat Friendmidhat
- Join date:
- January 2010
- Posts:
- 161
- Downloads:
- 101
- Uploads:
- 21
- Thanks:
- 43
- Thanked:
- 12 times in 1 posts
March 29, 2014 at 5:55 pm #528604I tried with this code, but still does not work. Everything is fine in the backend (module position appears in the layout tab and in module configuration) , but in frontend module does not appear
<!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
<?php if ($this->countModules('social')) : ?>
<div class="t3-social">
<jdoc:include type="modules" name="<?php $this->_p('social') ?>" style="T3Xhtml" />
</div>
<?php endif ?>
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</div>
<!-- //MAIN CONTENT -->Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
March 31, 2014 at 9:12 am #528744I tried to add your code at my end (to this file templatest3_bs3_blanktplsblocksmainbodytwo-sidebar.php), then assign “About Joomla” module to ‘social’ position, I see it works as normal:
Please try again. If the problem still persists, pls PM me the URL, admin and FTP credential of your site, I will help you out.
- AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)
This topic contains 14 replies, has 3 voices, and was last updated by Nazario A 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum