Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • dpchap015 Friend
    #191150

    hi….
    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.


    1. Guantanamera-2013-10-04-16-26-16
    Saguaros Moderator
    #508413

    Hi 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 🙂


    1. default-event.zip
    dpchap015 Friend
    #508439

    this 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 Moderator
    #508472

    Hi again,

    I agree, I will report this to template team for an improvement for this template 🙂

    dpchap015 Friend
    #508556

    :-[

    hi…
    and what to do .. if we want to remove the sidebar position from all of the article category?

    Saguaros Moderator
    #508573

    Hi

    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 Friend
    #508574

    no 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-apocalypse

    also i want to use that share on button in the custome html module..not in article body

    Saguaros Moderator
    #508672

    I 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 Friend
    #508677

    thanks..
    but it will create a blank space space there. that is not able to use 😛

    Saguaros Moderator
    #508682

    Could you make screenshot of how you want to achieve?

    dpchap015 Friend
    #508706

    i 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 module

    Saguaros Moderator
    #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 Friend
    #508915

    and what about this question
    + i want that share on button in the custom html module???????????????

    Saguaros Moderator
    #509002

    Hi 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 Friend
    #509013

    i know about add this already.. i want only that type of popup..
    anyways thanx:)i will do it n update

Viewing 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