Hi, Moshe and all. FABULOUS module, thank you for creating it!

Easy (I think) request - when outputting the links in the Group Details block, it would be really useful to me if each link had its own div tag. E.g,

<div class="og_create"><a href="">Create page</a></div>
<div class="og_members"><a href="">21 Members</a></div>
<div class="og_manager">Manager: <a href="">admin</a></div>
<div class="og_membership"><a href="">My membership</a></div>

The reason: I use this for elementary school class pages. I want the teachers to be able to use all the "Create" links, but I don't want them to see the manager (typically me), and I don't want to give them the opportunity to edit their membership. With div classes, I can just set the visibility to hidden.

Thanks!
cindyr

Comments

bacon’s picture

I want to add some icons for each of the Create "Post type" links in the OG Details block to make them friendlier to people so I modified the og.module to add some extra CSS classes.

I would have liked to have been able to add the class to the <li> tag, but it was easier to add it to the <a> tag.

I also added an og-links class to the parent <ul> tag.

Here's my first attempt at a patch. I think a few extra classes would be useful for people who want to add a few more CSS styles to their Drupal installs.

claudiu.cristea’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version of Drupal is not supported anymore. If this is still an issue in the 8.x-1.x branch, please open a new up-to-date ticket. Closing.