Group node teasers are styled differently from other types of teasers

Dane Powell - July 18, 2009 - 22:57
Project:Organic groups
Version:6.x-2.0-rc3
Component:og.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

If a group node is promoted to the front page, it looks very different from all of the other teasers. Specifically, other teasers have the "node-teaser" class, and the node title (which is an h2 element) has the "title" class, etc... Group node teasers appear to have roughly the same structure but are missing all of these classes. Is this by design, and if so, is there a way to override it?

#1

izmeez - July 19, 2009 - 02:44

The og module has .tpl.php files in the module directory. To make changes move them to your themes directory and edit them.

Izzy

#2

Dane Powell - July 19, 2009 - 03:48

Ah, thanks for the pointer- I haven't done much work with theming, but it wasn't too hard to figure out how to fix.

Is there a way to submit fixes for this sort of incompatibility back to either OG or Pixture Reloaded (my theme)? I'm assuming you don't want to have a patch for every possible combination of theme and module, but at the same time it doesn't seem right for lots of people to have to edit .tpl.php files by hand.

#3

izmeez - July 19, 2009 - 03:54

I am not involved as a maintainer of the module or themes. I simply saw your question and thought I could offer an answer. I will leave your additional question for others to answer.

Izzy

#4

Dane Powell - November 9, 2009 - 23:14
Status:active» fixed

Marking as fixed since the original issue has been resolved. I'd still like an answer to my second question but would rather get this out of my issue queue since it doesn't look like anyone has an answer :)

#5

System Message - November 23, 2009 - 23:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.