Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Load Jcomment like module
Pages: [1]   Go Down
  Print  
Author Topic: Load Jcomment like module  (Read 1250 times)
0 Members and 1 Guest are viewing this topic.
RoyalKitteh
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: September 19, 2010, 19:53:39 »

Hi,

With Jcomments, comments and form are loaded "After Content".
Considerating the website template, that mean here:
 
Code:
<jdoc:include type="component" />

So, i would load it into a module position, for the exemple , in my website template, here:
Code:
<div id="undercomponent_div" ><jdoc:include type="modules" name="undercomponent" /></div>

To fix it with JavaScript (I'm a Firebug user), I can do this (it works) :

Code:
<script type="text/javascript" >
document.getElementById('undercomponent_div').appendChild(document.getElementById('jc'));
</script>

"undercomponent_div" is my module container.
"jc" is the Jcomments container.


But, it's a wrong way !  Angry

How can I do this ?

Thanks.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: September 20, 2010, 15:14:35 »

In my mind this more simple way. Because JComments doesn't support such feature as displaying in module position.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Load Jcomment like module
 
Jump to: