<th class="likes $[sortable_class.likes]">Likes</th>
The
$[sortable_class.likes] variable does not exist. There's no real harm in using that as an additional class name, but it won't perform any function.
The sortable classes available on the Members layout template are:
$[sortable_class.group_and_rank]
$[sortable_class.last_online]
$[sortable_class.name]
$[sortable_class.posts]
$[sortable_class.registered_on]
$[sortable_class.username]
EDIT:Also,
this part will lead to unexpected consequences:
And now go to
admin > themes > advanced styles & CSS > style sheet And add at the very bottom this code
The class name:
likes is already in use for other purposes. For instance for the text above posts which says who liked the post. Your definition added to the bottom of the style sheet will overwrite the current definition.
You have a few choices which would be better.
- Use a different class name rather than
likes- Or save the step of creating a new definition at the end of the style sheet by using the
posts class name for the two new elements you're adding to the layout templates. The column width and styling of the table headings and table cells for the likes can share the same definitions as the Posts column.
For instance:
<td class="posts">$[user.likes]</td>
and
<th class="posts">Likes</th>