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: Module Position--Include JComments
Pages: [1]   Go Down
  Print  
Author Topic: Module Position--Include JComments  (Read 2644 times)
0 Members and 1 Guest are viewing this topic.
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« on: September 01, 2010, 03:42:18 »

Gents,

I'm sure this is just me, but I can't seem to get JComments in a custom module position on the front page, right lower sidebar.

It's not clear from the documentation how to do this, so I created a custom module and assigned it to the lowr right front page sidebar.  I used JCEditor to insert the {JComments on}, but nada.  I attach a screen shot of the FP sidebar position.

Any help would be appreciated.

--Ed



* JCommNotIncluded.JPG (18.52 KB, 339x237 - viewed 245 times.)
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #1 on: September 02, 2010, 05:44:33 »

But, then again, pretty lonely in this corner of the forum. 

Ah, well.


--Ed
Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #2 on: September 02, 2010, 15:28:43 »

The JComments will not work in any modules. The tag {jcomments on} is processed by content plugin and works only in com_content. If you need some other behaviour you'll need to make some other solution for this. It could be either some custom module or custom plugin what supports these tags in modules. But default Content - JComments plugin will not work in modules.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #3 on: September 04, 2010, 03:34:13 »

Smart,

Thanks for the reply.  How can I get Jcomments to play on the Frontpage?  For that matter, how do I control where the comments appear on any given page?  In one of your demo screenshots, it shows the latest posts on the FP upper left.

Maybe I missed that in the documentation, so perhaps you could give me a link to where this is discussed.

Thanks for your reply.

--Ed
Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 212



« Reply #4 on: September 05, 2010, 14:42:28 »

Try Ultimate Content Display (UCD) (module) from Joomlaworks.
Point is to make a separat article and not to link it anywhere in menus.

In UCD module just put the ID of that article. And in article put that description from image above and Jcomments code..

Hopefully it will work. UCD never missed to parse plugins for me.
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #5 on: September 05, 2010, 22:40:39 »

Thanks BBC!  I'll try it.

--Ed
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #6 on: September 05, 2010, 23:22:47 »

Ah, BBC.  Good suggestion, but UCD is like La Isla de La Muerte---you can only find it if you have been there.  Minimal UCD documentation means it's out of range for me, as I do not even follow your instructions to set this up with UCD.  Not at all clear how to do this.

But thanks for the suggestion nonetheless.

--Ed
Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 212



« Reply #7 on: September 07, 2010, 19:19:03 »

Ah, BBC.  Good suggestion, but UCD is like La Isla de La Muerte---you can only find it if you have been there.  Minimal UCD documentation means it's out of range for me, as I do not even follow your instructions to set this up with UCD.  Not at all clear how to do this.

But thanks for the suggestion nonetheless.

--Ed

There is nothing complicated.

It is little wrong in my explanation above. New article won´t help you. You will not get listed comments in module, because you will not have any comments in hidden article.
(hopefully it works with UCD, didn´t tested. But UCD never missed to parse any third party plugin for me)


Go to UCD module settings (admin panel) and chose to pull article ID, not category or section.
And field under write article ID.

Article ID number you find in Article Manager (right column). If you want "Nevada Navy" in module, find ID of that article.

Then you have 3 styling (2 javascript options) in module settings.

Chose one you like. If you are not satisfied open CSS file and style it.

UCD is little sensitive to cache (styling). So allways delete Joomla cache when you change something.

Can you say if you want all comments listed in module ? Or you want something else ?
It would maybe be ugly, module width is not so great.

Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 212



« Reply #8 on: September 07, 2010, 19:33:00 »

I just tested. UCD shows only Introtext + intro image if you wish.

So you cannot have comments listed in module. Just a link to Jcomments as you have in ordinary intro for articles.

But it is working OK. When you click at "Add comment" you get redirected to that particulary article.

Try to explain more detailed what you want from this module.

That picture above doesn´t say all.
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #9 on: September 09, 2010, 05:00:39 »

BBC,

First, thank you for your patience and persistence in suggesting a fix.  I greatly appreciate your efforts.

Second, I'm very pleased that you tested your method and got it to work.  That means that I am not very far from making it work for me!

Third, I tried to follow your instructions:

Quote
Go to UCD module settings (admin panel) and chose to pull article ID, not category or section.
And field under write article ID.

But in my settings panel, JComments says that if I do not select a category, JComments will be disabled, so I don't understand the
Quote
pull aritcle ID
as I see no place in the SETTINGS>GENERAL tab so to do.  But you did it, so if you could be patient enough to explain that again, I should be grateful.

Finally, what I'm trying to do;  If I were King of Jcomments and knew what I was doing, I would end up with a custom module that I could position in my right sidebar which showed just a few of the latest comments, and when the user clicked on "Add Comment" then the user would be re-directed to a full page of comments.  (You have most of this done)

In support of this, I have done the following:

1. Created a custom HTML module, and placed this in the right sidebar.(This is the image at the beginning of this thread)
2. I tried to put JComments in this module by inserting {JComments on} Of course, this didn't work, as Smart pointed out.

I think you have the solution if I can understand the steps.  Again, thanks for your patience.
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #10 on: September 09, 2010, 06:13:03 »

BBC-

Whoops.  You said UCD, and I was in JComments.  I'll try to be more attentive and try that with the UCD control panel, and see if that works and let you know.
Logged
Mako
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #11 on: September 09, 2010, 07:21:20 »

BBC,

Finally on the same page with you, but still can't make it work.

Here is what I did:

1. Created a custom HTML module as described before, front page, sidebar A, image attached. The module's ID is 152.

2. Opened the UCD Module Edit>Parameters.

3. Parameters>content retrieval source>content source item and selected "Content Item"

4. Parameters>content retrieval source>content source item>Content source IDs (required) and inserted the module ID of 152

Image attached shows the selection above.

Then I cleared the cache and reloaded the site.  Jcomments appeared at the end of all the articles as always, but nothing appeared from UCD or JComments on the front page in sidebar A or anywhere as you seem to have seen in your solution.  UCD seems to be invisible, but I'm sure I did something.  Or didn't.

But I think I'm close.  Again, thanks for your patience in reviewing this.



* JcommentsModule.JPG (16.58 KB, 270x255 - viewed 200 times.)

* UCDSettings.JPG (39.16 KB, 521x428 - viewed 215 times.)
Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 212



« Reply #12 on: September 12, 2010, 23:55:50 »

O no.....you get it all wrong.

Purpose of UCD is only to show articles. Not module in module. (your custom html module)

Forget HTML module if you will get it to work with UCD.

UCD shows article/s (output and styling are your choice).

And in the article you put that code for Jcomments. As you did in your picture above.

UCD simply parse third party plugins. In your case that plugin is that Jcomments code at the end of the article. {jcomments on}
And there you get (in UCD module) same link (or comments count) as you have in blog listing.

So, it is not ID of the module (forget HTML module), it is ID of your article. In Article manager, right column.

Basically, you need to have a article. And plugin code in that article.
Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 212



« Reply #13 on: September 13, 2010, 00:04:15 »

You can use UCD module for a lot of different things.
For galeries, with thumbs and nice popups. (just put galery plugin code in some article).

For Video, MP3 players.
For almost everything that use plugins.

Best is that you have article editor and it is some easy way to style your module as you wish. Plus it parses plugins.
Thera are not many modules that can do this.

Text, images...etc.
With ordinary modules you have to open PHP and CSS files to do just small correction.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Module Position--Include JComments
 
Jump to: