Closed (fixed)
Project:
Best reply
Version:
6.x-6.4
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
13 Apr 2009 at 15:01 UTC
Updated:
27 Apr 2009 at 04:53 UTC
Even after adding the line of code in comment.tpl and styles.css, the background color of the best replied comment doesn't retain after refreshing the page.
and is there any other way through which that piece of code can be put in the bestreply.module file itself..?
pls help..
Comments
Comment #1
WorldFallz commentedmoved to appropriate issue queue.
I'm cautioning you again-- please stop blasting your support requests all over creation. This clearly is NOT a critical drupal core issue. Take the time to figure out WHERE to post before posting or you will get blocked.
Comment #2
taslett commentedSo the style is applied when you first click the bestreply link, then disappears when you reload.
That sounds like you are adding the changes to the wrong comment.tpl.php
Check to see if the bestreply id exists on the page.
I don't no of any way to add that code to the modules instead of the template, if you find a way let me know.
Comment #3
avpadernoComment #4
keep smiling commentedok i've found out a way to do tat.. i've done it by altering the theme registry. And i put the comment.tpl inside the bestreply folder itself with the required code :
if ($comment->bestreply) print 'id="bestreply"';added along with a new bestreply.css containing the styling code..
Comment #5
taslett commentedHi subhasini,
That's fine as long as you have no other modules or themes that require changes to comment.tpl.php
Comment #6
keep smiling commentedya.. thats there.. i just hope i dont get to do the same elsewhere..