-
AuthorPosts
-
wan fadli Developer
wan fadli
- Join date:
- January 2011
- Posts:
- 98
- Downloads:
- 2
- Uploads:
- 28
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
May 20, 2011 at 4:07 am #164231Dear JA,
I really like the JA template because it comes with the K2 Extension. 😀 , now i have the problem with my K2 extension.
I published the K2 content module (with the rss icon enabled at the bottom) at the content mass-top user module (style for content-mass-top already change to “jaxhtml”).
it is possible for me to change/move the rss icon inside the header module instead at the bottom of the module. like image attached. If yes, can show me how..
Template : JA Portfolio
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 21, 2011 at 8:24 am #392207Hi,
Could you give me a link to your page that you want to change?wan fadli Developerwan fadli
- Join date:
- January 2011
- Posts:
- 98
- Downloads:
- 2
- Uploads:
- 28
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
May 24, 2011 at 2:50 am #392561<em>@khoand 241728 wrote:</em><blockquote>Hi,
Could you give me a link to your page that you want to change?</blockquote>Hi Khoand.. thank for replying..
here is my demo website for your reference:
There’s the rss icon at the bottom of the K2 Content Module module. And I want to move the rss icon to the right of h3 header.
can u give the solution.?
thanks..
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 25, 2011 at 6:39 pm #392899You replace this code from modulesmod_k2_contenttmplDefaultdefault.php
<div class="k2FeedIcon">
<a href="<?php echo JRoute::_('index.php?option=com_k2&view=itemlist&format=feed&moduleID='.$module->id);?>" title="<?php echo JText::_('Subscribe to this RSS feed'); ?>">
<span><?php echo JText::_('Subscribe to this RSS feed'); ?></span>
</a>
<div class="clr"></div>
</div>
with
<script type="text/javascript">
var k2FeedIcon = document.createElement("div");
k2FeedIcon.addClass("k2FeedIcon");
k2FeedIcon.setAttribute("style","position: absolute; right: 0px; top: 0px; float: right; padding: 0px;");
var a = document.createElement("a");
a.setAttribute("href", "<?php echo JRoute::_('index.php?option=com_k2&view=itemlist&format=feed&moduleID='.$module->id);?>");
a.setAttribute("title", "<?php echo JText::_('Subscribe to this RSS feed'); ?>");
k2FeedIcon.appendChild(a);
var span = document.createElement("span");
var text = document.createTextNode("<?php echo JText::_('Subscribe to this RSS feed'); ?>");
span.appendChild(text);
a.appendChild(span);
var clr = document.createElement("div");
clr.addClass("clr");
k2FeedIcon.appendChild(clr);
$("Mod<?php echo $module->id; ?>").getElementsByTagName("h3")[0].appendChild(k2FeedIcon);
</script>
wan fadli Developerwan fadli
- Join date:
- January 2011
- Posts:
- 98
- Downloads:
- 2
- Uploads:
- 28
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
May 26, 2011 at 5:06 am #392944Not working Khoand :confused:
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 27, 2011 at 8:43 am #393156Could you give me username+password of ftp and backend to check it?
wan fadli Developerwan fadli
- Join date:
- January 2011
- Posts:
- 98
- Downloads:
- 2
- Uploads:
- 28
- Thanks:
- 31
- Thanked:
- 2 times in 1 posts
May 30, 2011 at 4:19 am #393495<em>@khoand 242952 wrote:</em><blockquote>Could you give me username+password of ftp and backend to check it?</blockquote>
i pm u the details… thanks.. 🙂
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by wan fadli 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Move the RSS icon (K2 content module) next the header module
Viewing 7 posts - 1 through 7 (of 7 total)