Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm bulding a new website for one of my customers and I'm having a serius problem with the Newsletter module.
The propblem happens when I try to add a new list, you know that the Template field is mandatory, I've added several templated but None of them appear int the template list when I try to creat a new List.
I'm using Drupal 7 and I tried both the beta version and the development version of the module, they both have the same problem.
Thanks a lot in advance.
Mohamed
Comment | File | Size | Author |
---|---|---|---|
#17 | nolists-subscription.jpg | 65.4 KB | TomSherlock |
#4 | 1724112_empty-template-options_4.diff | 497 bytes | ParisLiakos |
bug_newsletter.png | 44.17 KB | Mohamed_Almasry |
Comments
Comment #1
coolman7 CreditAttribution: coolman7 commentedI have same issue.
Comment #2
coolman7 CreditAttribution: coolman7 commentedI tested with Drupal 7.14, and it seems works. I think the problem exists with Drupal 7.15.
Comment #3
ParisLiakos CreditAttribution: ParisLiakos commentedIndeed, i can reproduce it with 7.15
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedSeems there is something wrong with the entity reference field.
quick fix:
apply the patch below that exposes the Field UI under
admin/config/media/newsletter/lists/fields
, clear cache then edit and resave thefield_newsletter_template
fieldComment #5
coolman7 CreditAttribution: coolman7 commentedIt didn't work for me.
I applied the patch, cleared the cache
But I don't know how to "edit and resave the field_newsletter_template field"
And the result was the same as before.
Would you please let me know how to "edit and resave the field_newsletter_template field" ?
Thanks
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedThrough the UI under
admin/config/media/newsletter/lists/fields
Click edit and then save
Comment #7
coolman7 CreditAttribution: coolman7 commentedThanks for reply. I made the changes, now Template list is not empty and I can select it with no problem. But this time I cannot see any list on Subscription Page, even I defined several lists on the configuration page. So I cannot select any list and if I press Subscribe button, I get "Please select at least one newsletter list." message.
Comment #8
ParisLiakos CreditAttribution: ParisLiakos commenteddo the same for the lists field assigned to newsletter subscribers
under
admin/config/media/newsletter/lists/fields
seems the same issue exists for all entityreference fields
Comment #9
coolman7 CreditAttribution: coolman7 commentedIt is working now. Thanks
Comment #10
Mohamed_Almasry CreditAttribution: Mohamed_Almasry commentedThanks Paris,
The patch worked fine, and the drop down list now shows the list of templates and I could creat new lists easilly, but getting back to the frontend block, I find that none of theses lists show up in the subscription list, it's not even there.
I think we need to look at the changelog of version 7.1.15 to understand what changes impacted the entity reference module.
Thanks alot for your help
Comment #11
Mohamed_Almasry CreditAttribution: Mohamed_Almasry commentedNow it works fine.
Thanks a hundered.
Comment #12
milos.kroulik CreditAttribution: milos.kroulik commentedShouldn't we post a bug to Entity Reference queue?
Comment #13
ParisLiakos CreditAttribution: ParisLiakos commentedI need to find out exactly where the problem is before posting over to Entityreference. Maybe something changed on their API and the entityreference instances need to be initialized with another way
thing is, i am out of time those days.if anyone could take a look i would appreciate it.
Comment #14
ParisLiakos CreditAttribution: ParisLiakos commentedmarked as duplicate
#1743538: declaration in hook_entity_info not compatible with drupal 7.15
Comment #15
Mohamed_Almasry CreditAttribution: Mohamed_Almasry commentedNow that this bug is fixed, whenever I try deleting one of the lists, it dissapears from the backend but still shows up in the modal window in the frontend though it's completely deleted from the backend !
Comment #16
jim005 CreditAttribution: jim005 commentedWorking well thanks !
Comment #17
TomSherlock CreditAttribution: TomSherlock commentedSince I encountered the same problem with version 7.x-1.0-beta8+21-dev I successfully applied the patch.
However, now I am unable to see the list of Lists on the anonymous subscription form (see attached image).
Any suggestions?
Comment #18
ParisLiakos CreditAttribution: ParisLiakos commentedTom:
go here:
admin/config/media/newsletter/subscribers/fields/field_newsletter_list
and just click save;)
Comment #19
ParisLiakos CreditAttribution: ParisLiakos commentedfix commited:
http://drupalcode.org/project/newsletter.git/blobdiff/85e65077cdf9544572...
Thanks everyone, i will release a new version with this fix
Comment #20
TomSherlock CreditAttribution: TomSherlock commentedThanks, rootatwc. That worked.