I want to remove the description field, I was wondeting if doing :


Would cause problems? Am I better to just hide it, or completely unsetting it is ok as well?


#9 og_description_dropper.tgz683 bytesmarcp
Members fund testing for the Drupal project. Drupal Association Learn more


Rosamunda’s picture


I´ve found that if I want to use that field to something else, and as my language isn´t english, I can´t even do that!
That´s because the "Description" string isn´t managed by OG as it should, but is managed by other modules (ie. menu):

Built-in interface
modules/aggregator/aggregator.admin.inc:269;, modules/forum/forum.admin.inc:45,126; modules/menu/menu.admin.inc:286,419;, modules/node/content_types.inc:15,103;

So if I want that "Description" to say something else, it is changed in seveal "non-wanted" places at once.

patchak’s picture

Hey there, do you have an idea if "Unsetting" that field would cause problems anywhere else in the site??

lhernon’s picture

I'm trying to hide, or auto generate the OG Description as well. Did either of you have any luck?

Thanks - Laura

moshe weitzman’s picture

Status: Active » Fixed

not sure if unset() works well. if you can save a group and get no errors, then it worked.

ultimately, we should not have this field in OG. probably for d7 i will drop it.

Status: Fixed » Closed (fixed)

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

patchak’s picture

BTW, Yes unsetting the field works perfectly, it's really easy!!

garbo’s picture

Hi Patchak (or anybody else if you know how)

Could you tell me how to unset the description field? I want to get rid of it too.


lsabug’s picture

Yes please, what do we put in the template page?

marcp’s picture

683 bytes

Attached is a small module that hides the og_description field from users on the group node edit page.

lsabug’s picture

THANK YOU marcp for posting !!!! Out of all my efforts your module worked wonderfully.

marcp’s picture

Glad it helped. We happened to need the exact same functionality for a site today, so it was good timing.

jvieille’s picture

That was probably the most intriguing OG feature... Get ride of it for peace of mind.

petr.gorodechnyj’s picture

marcp, you saved me a lot of pain in... one particularly soft place! Tried some unsetting but didn't work until I set higher weight for my helper module.

aleada’s picture

It is working perfect!!! Very nice module!

rhymeswithcamera’s picture

Exactly what I was looking for! Thanks!