Needs review
Project:
Harmony Core
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Apr 2014 at 17:18 UTC
Updated:
3 Jun 2014 at 12:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rsaddington commentedHere's a patch that will inject a [quote] from the previous post and set the value of a hidden field thread_cont_from.
The field is hidden rather than access false and this should allow for collecting the value in the submit handler - @to do.
Let me know if this is the approach you would have used.
Comment #2
rsaddington commentedComment #3
heylookalive commentedAs discussed I don't think that it makes sense to make the choice as to what the text field should be prepopulated with so we'll make this optional with the following choices:
Nothing
Quote the post
One line stating "This thread is a continuation of [thread name and link]."
Comment #4
heylookalive commentedComment #5
rsaddington commentedHere's a patch that extends this to provide an admin option as described.
Comment #6
heylookalive commentedHey Rich, just digging in to this now. Have resolved the issue with the field not being prepopulated, for some reason the feature didn't contain the entity ref prepopulate setting, latest dev remedies. Looking at the settings for prepopulate style which will tie into entity_quote a small amount.
Comment #7
heylookalive commentedHey Rich, this is now in dev. Thanks for the patch but quite a lot has changed now that we've got bundles for Thread. The setting is now per thread type.
Ready for testing!
Comment #8
heylookalive commentedFurther development of this feature could be allowing admins to set the "link back to the post" type of reference text.