-
AuthorPosts
-
dpchap015 Friend
dpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 4, 2013 at 10:58 am #191150hi….
i want to create the module position to show module in the single article page of event category
same like the audio category.
the module will show only in the single article page like this.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 9, 2013 at 1:55 am #508413Hi dpchap015,
Sorry for this late response, somehow I missed this thread.
For your concern, I recommend that you can create a new layout applied for Event single article page. Here are steps:
– Download and unzip attached file ‘default-event.php‘ into folder: templatesja_muzichtmlcom_contentarticle
– In backend settings of Event article you want to have this layout > Articles Options > Alternative Layout change to default-event.php
– You now will have inset position, as audio single article in our demo site, we create a banner module and assign it to inset position.
Hope you get the idea 🙂
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 9, 2013 at 5:28 am #508439this one is working.. but is there any method to make it automatically not like this manual work of selecting the layout for every article???
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 9, 2013 at 9:56 am #508472Hi again,
I agree, I will report this to template team for an improvement for this template 🙂
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 10, 2013 at 5:23 am #508556:-[
hi…
and what to do .. if we want to remove the sidebar position from all of the article category?Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 10, 2013 at 8:58 am #508573Hi
Do you mean sidebar as in this category page? http://joomla-templates.joomlart.com/ja_muzic/index.php/en/news
In template manager > Layout tab, if you don’t want to use sidebar, you can change the layout to another layout rather than ‘sidebar’ layout:
then assign that style to menu item page you want.
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 10, 2013 at 9:05 am #508574no m not talking about this side bar.
m talking about the single article of the audio page.
i dnt want to see this share on and below this module position not only on this category.
i want to remove this from every article where it is shown position-inset.
check this link http://joomla-templates.joomlart.com/ja_muzic/index.php/en/audios/255-apocalypsealso i want to use that share on button in the custome html module..not in article body
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 11, 2013 at 2:53 am #508672I got your idea, there will 2 options here:
1. You can consider to change to another layout via Article Options, we provide several layout (beside default layout of com_content) for article page: default-album/default-artist/default-biography/default-track/default-photo.
2. Another way is that you can change in code. By default, audio article will have default-track layout so you can open file: templatesja_muzichtmlcom_contentarticledefault-track.php, find and remove this snippet of code:
<div class="span3">
<?php if(isset($metadata->jcontent_amazonsell) && $metadata->jcontent_amazonsell != '') : ?>
<a class="btn btn-source btn-buy" href="<?php echo $metadata->jcontent_amazonsell;?>"><?php echo JText::_('TPL_BUY_ON_AMAZON'); ?></a>
<?php endif;?>
<button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>
</div>
<div class="modal-body">
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
</div>
<!-- Inset content -->
<?php if(MuzicHelper::loadmodules('inset','T3xhtml')): ?>
<div class="inset">
<?php echo MuzicHelper::loadmodules('inset','T3xhtml'); ?>
</div>
<?php endif;?>
<!-- //Inset content -->
</div>
Remember to BACKUP your site first before making change
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 11, 2013 at 3:35 am #508677thanks..
but it will create a blank space space there. that is not able to use 😛Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 11, 2013 at 3:41 am #508682Could you make screenshot of how you want to achieve?
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 11, 2013 at 6:40 am #508706i know i can do this by removing that code.
it will clear the inline module position&shareon but create a blank space there..i want this space for article content..:-[
+i need a module position in the bottom of every article in every category .
position name : inline
i dnt want to select it manually from the layout option for every article.
i need it to be default
+ i want that share on button in the custom html moduleSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 14, 2013 at 8:59 am #508904<blockquote>i need a module position in the bottom of every article in every category .
position name : inline
i dnt want to select it manually from the layout option for every article.
i need it to be default</blockquote>By default in Joomla, you can only choose layout from article option. Hence, I’m afraid that you need to custom layout in category to include that position so that when create a new article, it can inherit layout from its category.
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 14, 2013 at 9:42 am #508915and what about this question
+ i want that share on button in the custom html module???????????????Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 15, 2013 at 3:18 am #509002Hi dpchap015,
These share icons belong to JA Bookmark Plugin, if you want to display these button in a custom HTML module, you must customize the code.
Another way is that our JA Bookmark plugin gets these icon from Addthis bookmark service. So if you simply want to displays these icons, you can go to http://www.addthis.com/ and enter your appropriate info > take the code and copy into custom HTML module in your site.
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 15, 2013 at 5:51 am #509013i know about add this already.. i want only that type of popup..
anyways thanx:)i will do it n updateAuthorPostsViewing 15 posts - 1 through 15 (of 15 total)This topic contains 15 replies, has 2 voices, and was last updated by dpchap015 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
how to create module position in single article EVENTS category
Viewing 15 posts - 1 through 15 (of 15 total)