Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 24, 2012, 08:52:28
Advanced search »»
JoomlaTune Support Forum
JComments component
Suggestions, Wishlists & Feature Requests
Topic:
Is It Possible?? Change template for a sinlge page?
Pages: [
1
]
Go Down
Print
Author
Topic: Is It Possible?? Change template for a sinlge page? (Read 1622 times)
0 Members and 2 Guests are viewing this topic.
harikaram
Newbie
Karma: 3
Offline
Posts: 19
Is It Possible?? Change template for a sinlge page?
«
on:
February 04, 2011, 14:33:02 »
Is there a way to change the template used for JComments for a single page? Either via the API in a content item template override or via the {jcomments} plugin?
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: Is It Possible?? Change template for a sinlge page?
«
Reply #1 on:
February 16, 2011, 22:49:07 »
At this moment where is no way to make this by some standard function but it could implemented via small hack by using system plugin - we can load JComments config and override template's name before it would be used in component. We have to do this via system plugin because we need overrride template not only during displaying comment's list but during all AJAX calls because they could use templates for generation their return's results.
The other way is overriding JComments template via Joomla template - you could copy JComments' template folder (like /default) to /templates/{joomla template}/html/com_jcomments/default and JComments will use it. In this case in JComments settings would be selected one template but for this Joomla template it would be overrided.
«
Last Edit: February 16, 2011, 22:50:39 by smart
»
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
Suggestions, Wishlists & Feature Requests
Topic:
Is It Possible?? Change template for a sinlge page?
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...