Drupal Association members fund grants that make connections all over the world.
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?
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):
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.
Hey there, do you have an idea if "Unsetting" that field would cause problems anywhere else in the site??
I'm trying to hide, or auto generate the OG Description as well. Did either of you have any luck?
Thanks - Laura
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.
Automatically closed -- issue fixed for 2 weeks with no activity.
BTW, Yes unsetting the field works perfectly, it's really easy!!
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.
Yes please, what do we put in the template page?
Attached is a small module that hides the og_description field from users on the group node edit page.
THANK YOU marcp for posting !!!! Out of all my efforts your module worked wonderfully.
Glad it helped. We happened to need the exact same functionality for a site today, so it was good timing.
That was probably the most intriguing OG feature... Get ride of it for peace of mind.
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.
It is working perfect!!! Very nice module!
Exactly what I was looking for! Thanks!
Drupal is a registered trademark of Dries Buytaert.