-
AuthorPosts
-
Tech-xml Friend
Tech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
June 22, 2011 at 11:40 pm #165556Help me to create 04 positions to publish modules with banners customers.
The positions are below the Author. As shown in the image:13931
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 23, 2011 at 3:28 pm #398074Hi,
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.
thanksTech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
June 23, 2011 at 4:26 pm #398082I 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 24, 2011 at 9:47 am #398203Hi
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.
thanks1 user says Thank You to Sherlock for this useful post
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
June 27, 2011 at 12:58 am #398517problem solved
AuthorPostsViewing 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
How to create 04 position within the K2 Item to module advertising?
Viewing 5 posts - 1 through 5 (of 5 total)