Custom class name for a wrapping DIV based on selection made in a member profile
-
Is it possible to modify the members list template so that there would be a custom className on a DIV that’s wrapping a certain data field in a members profile card? The class name would need to be based on the option the member has selected on their profile.
I need it so that I could make a ‘traffic’ light (green,yellow,red) highlight reflecting the member’s availability for work assignments. I used to do it with javascript in the older versions – looked for certain strings of text and when found I would apply the correct className to the parent DIV. It seems the current members list is generated dynamically after the page has loaded and the elements are not a part of the DOM and thus I can’t ‘scrape’ for the strings anymore.
- The topic ‘Custom class name for a wrapping DIV based on selection made in a member profile’ is closed to new replies.