show topic rating in tree view [message #15144] |
Wed, 03 December 2003 21:29 |
bobmurphy
Messages: 166 Registered: November 2003 Location: ireland
Karma: 0
|
Senior Member |
|
|
why does the topic rating disappear from the topics when i switch to tree view --- it it designed this way for some reason -- can i change it so that tree view displays the stars beside the topics
|
|
|
|
|
|
Re: show topic rating in tree view [message #15161 is a reply to message #15144] |
Thu, 04 December 2003 13:51 |
bobmurphy
Messages: 166 Registered: November 2003 Location: ireland
Karma: 0
|
Senior Member |
|
|
thanks - have found the correct insertion point but cant get the right code to show the stars --- tried adding {TEMPLATE-DATA: rating} from the same place in the thread.tmlp file but nothing showed even after rebuilding the theme
could you yet again point me in the direction for the code to insert
[Updated on: Thu, 04 December 2003 13:52] Report message to a moderator
|
|
|
Re: show topic rating in tree view [message #15167 is a reply to message #15161] |
Thu, 04 December 2003 14:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You cannot use {TEMPLATE-DATA: rating} because $rating variable does not exist. You need to also edit threadt.php.t and add the code which generates the rating image.
FUDforum Core Developer
|
|
|
|
Re: show topic rating in tree view [message #15178 is a reply to message #15169] |
Thu, 04 December 2003 16:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to copy template rating & rating_none from thread.tmpl into threadt.tmpl you may need to modify the rating template to use r[17] instead of whatever it is using now.
FUDforum Core Developer
|
|
|
|
|