This patch allows the weight of the More Like This fieldset to be managed using the content.module's node type UI.

The default weight is 0 (which is the default now) so you might want to make a better decision.

CommentFileSizeAuthor
#2 morelikethis-content-field-weight.patch1.32 KBAnonymous (not verified)
morelikethis-content-field-weight.patch1.23 KBAnonymous (not verified)

Comments

febbraro’s picture

Assigned: Unassigned » febbraro
Status: Needs review » Needs work

Hey Ben, thanks for this, great addition.

Here's one question though (just getting up to speed on the whole

hook_content_extra_fields

things) this will enable the MLT fieldset weight mover for all content types, not limiting it to those content types that have MLT enabled?

Anonymous’s picture

StatusFileSize
new1.32 KB

You're right. I hadn't thought of that. Here's a patch that uses _morelikethis_is_enabled.

Anonymous’s picture

Status: Needs work » Needs review
febbraro’s picture

Status: Needs review » Fixed

Finally got this reviewed and committed.

Thanks a lot Ben. Now that I see how to do this, I plan on using it in a lot more places (other modules).

Status: Fixed » Closed (fixed)

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