test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Tech-xml Friend
    #165556

    Help me to create 04 positions to publish modules with banners customers.
    The positions are below the Author. As shown in the image:

    13931


    1. sample
    Sherlock Friend
    #398074

    Hi,
    Sorry for delay, you can add your advertising to K2 user page following way below :
    Open user.php file in templates/ja_travel/html/com_k2/templates/ folder, find following code section at about line 102 :

    <?php if(count($this->items)): ?>
    <!-- Item list -->
    <div class="userItemList">
    <?php foreach ($this->items as $item): ?>

    you can add your advertising at the top of obove code,
    Note : If you want to add module positions to it, you need know how to call module in a component, please view following thread, may be it can help you.
    http://www.virtuosomaster.com/tutorials/how-to-load-module-in-component-or-outside-the-joomla-template/
    Hope can help you, your request is customize work for K2, it is not in scope of JA product support, so we can’t help more for you.
    thanks

    Tech-xml Friend
    #398082

    I use the plugin: load module?

    <div id=”coluna1″>
    load module
    </ div>

    <div id=”coluna2″>
    load module
    </ div>

    <div id=”coluna3″>
    load module
    </ div>

    <div id=”coluna4″>
    load module
    </ div>

    Sherlock Friend
    #398203

    Hi
    Please use following code section to load module :

    jimport('joomla.application.module.helper');
    // this is where you want to load your module position
    $modules = JModuleHelper::getModules('insert your module name here');
    foreach($modules as $module)
    {
    echo JModuleHelper::renderModule($module);
    }

    you can’t use load module plugin at here, load module plugin is plugin for content, it not work with k2,
    Sorry but this is advance customize so i can’t help you more than.
    thanks

    Tech-xml Friend
    #398517

    problem solved

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Tech-xml 13 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum