question...

May 18, 2006 19:42

Is there a way in the SmoothSailing layout to set it up so that on your friends page, for the different security settings, the background of the Subject bar is a different color according to the security setting ( Read more... )

Leave a comment

Comments 8

masterslacker May 19 2006, 17:20:53 UTC
It's not possible using CSS because the subject bars always have the same class. It would be possible by overriding the Entry::lay_print_subjectline method. I've provided the modified version below. You'll have to change the variable settings in the big if statement at the start of the function with the hex codes for the colors you want to use.

Mike
### modified to print different background colors based on security settings ( ... )

Reply

flyergirl May 21 2006, 07:15:28 UTC
Thanks! I haven't gotten a chance to plug in the code yet, but I'm sure it will work.

Reply

mackenzie November 2 2006, 21:19:58 UTC
I'm sorry to bother you months after you posted this, but I wanted to ask you here before posting a separate request in the community.

Is it possible to use a modification of the code above to change the actual icon of the lock?

For example, a friends-only post would be ( ... )

Reply

mackenzie November 3 2006, 01:01:22 UTC
To clarify, I've seen this (and likely would have been better off putting the comment there), but I'm wondering about the ability to have more than 2 icons. Is it possible to not specifiy just "protected" entries, but entries posted to a given filter?

Reply


Leave a comment

Up