bg2<!-- ENDIF -->
<!-- IF postrow.RANK_TITLE eq "Site Admin" --> bg-admin<!-- ENDIF -->
.bg3 { background-color: #cadceb; }
.bg-admin {background-color: red;}
Hey is there any list where I can find things like postrow.RANK_TITLE?pit-PL wrote:If Admins have a special rank you could change background of posts like this:
in viewtopic_body.html findbg2<!-- ENDIF -->
after add<!-- IF postrow.RANK_TITLE eq "Site Admin" --> bg-admin<!-- ENDIF -->
in colours.css after.bg3 { background-color: #cadceb; }
add.bg-admin {background-color: red;}
Ah very nice but I wanna know the significance of the "postrow" prefix. Why is it used exactly? Can we check variable inside any specific class?