Topic-icon Comments position in K2 item

Active Subscriptions:

None
13 years 6 months ago #27784 by ricstr
Hi, thanks for this great tool!

I have seen the other threads on comments position, I understand that the 'content plugins' must be ordered with 'Content - JFBCContent' last.

But still, the Facebook Comments are displaying before the 'K2 Author Box' like here >> holidaysandkids.com/travel-tips/item/109...ravel-with-your-pets, and before the 'K2 Extra Fields' like here >> holidaysandkids.com/books/item/125-game-...rica-by-gerald-hinde

It also displays before 'K2 Latest from This Author Articles'.

As I understand it, it's supposed to go after K2 Content.

Thanks!

Rich
The topic has been locked.
Support Specialist
13 years 6 months ago #27789 by alzander
The content plugins, in Joomla and K2 in general, are triggered on the 'content' of the article. They can only manipulate the actual article text, not extra things like the "This Author Articles" or the "Author Box". Those aren't part of the article contents itself, they're actually part of the template you're using and are 'outside' of the content.

So, when a content plugin is triggered, we can only prepend or append to the actual content that is handed to our plugin, which doesn't include any of those things you're looking for. There's not a way around that with the content plugins. The only way to force the comment box to be below the other sections would be to actually embed the {JFBCComments} tag in the K2 template itself underneath where the author box/links render.

Hope that at least explains the issue, but we'll agree, on some sites, the positioning isn't always ideal.

If you need anything else or have other questions, just let me know,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #27798 by ricstr
Replied by ricstr on topic Comments position in K2 item
Thank you very much Alex !

I put it in the K2 template like this:

{JFBCComments width=650 num_posts=10 colorscheme=light}

Is the 'href' parameter important if I put the above code in the template file?

Or can I leave 'href' out, as I did above?

Rich

ps - I ordered SSL for the site, so waiting now. Excited to do canvas and tab. Great work!
The topic has been locked.
Support Specialist
13 years 6 months ago #27804 by alzander
In the case where you're putting it in the template file, I'd definitely suggest leaving the href parameter out. If you set it, then for every article, the comments will all be shared and pointing at whatever href you set. By not specifying it, JFBConnect will choose the current URL (as well as trying to canonicalize it) for each article, which is what you'd want.

Hope that explains, but if you run into any issues, just let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #27811 by ricstr
Replied by ricstr on topic Comments position in K2 item
Awesome, thank you!
The topic has been locked.
Support Specialist
13 years 6 months ago #27821 by alzander
No problem! It's what we're here for. Should you have any other questions, just let us know.

Thanks,
Alex
The topic has been locked.