Block for link to entity claim. Options included in block are...
- Link text
- Link target
- Link extra classes
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | entity-block-2642996-15.patch | 4.57 KB | monstrfolk |
Block for link to entity claim. Options included in block are...
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | entity-block-2642996-15.patch | 4.57 KB | monstrfolk |
Comments
Comment #2
monstrfolk commentedComment #3
monstrfolk commentedCleaned up output slightly.
Comment #4
monstrfolk commentedFixed warning.
Notice: Undefined variable: target in entity_claim_block_view()
Comment #5
monstrfolk commentedComment #6
miteshmapI found two issues with this,
Third thing, With the dynamic text, I would not choose the same text for different entities (IF I'm allowing multiple entity claim). I would need more than 1 block to place at different locations for different entities OR with one block I would prefer to configure text for each entities claim link.
Comment #7
monstrfolk commentedThanks. I will fix these issues and resubmit.
Comment #8
monstrfolk commented@miteshmap...
2. Claim Entity text is dynamic.
Making a block per each entity able to claim. I will resubmit in changes.
Comment #9
monstrfolk commentedComment #10
monstrfolk commentedOne block per entity claim bundle added. Cloned git tonight and created this patch. It should apply. Also added an option to redirect to previous page after claim submit. It would be nice to combine this option with the option to redirect to a custom page like on the claim settings page.
Comment #11
monstrfolk commentedComment #12
monstrfolk commentedComment #13
monstrfolk commentedRemoved...
Blocks follow behavior of Entity Claim instance settings.
Comment #14
monstrfolk commentedFix on token redirect. Should be good now.
Comment #15
monstrfolk commentedadded check for entity_claim_add_access
Comment #17
nikunjkotecha