Closed (fixed)
Project:
Simplenews Content Selection
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2011 at 18:52 UTC
Updated:
17 Dec 2012 at 17:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Anticosti commentedNeed this badly.
Subscribing...
Comment #2
dtrdewaele commentedHi,
Not to soon, but I'm trying to find time to do this. Very busy with other projects for the moment, so D7 release will be delayed a little.
Regards
Comment #3
tcarter commentedsubscribing
Comment #4
kardave commentedA must have. Subscribing.
Comment #5
midmood commentedsubscribing
Comment #6
webankit commented+1
Comment #7
ngstigator commentedSubscribing
Comment #8
hellosct1 commentedI am currently on a project that needs this module
is what has already been started, where I can lean on me for the code?
Christophe
Comment #9
dtrdewaele commentedD7 ported is started this weekend. So I'm working on this, code will appear soon.
Comment #10
cesareaugusto commentedsubcribe :)
Comment #11
dan_metille commentedsubcribe
Comment #12
aristeides commentedsubscribing.... I LOVE THIS MODULE!!!
Comment #13
aristeides commentedChanging the title for dashboard clarity...
Comment #14
tommychrissubscribe
Comment #15
vincent ramond commentedSuscribe also!
Is there any roadmap on this branch?
regards
Comment #16
jurgenr commentedSubscribing.
Comment #17
dtrdewaele commentedOK. I've been waiting too long to work on this.
Starting from now I work on this every week and make sure that we have development branch during July!
Comment #18
Miyukaze commentedSubscribing.
Comment #19
pjcard commentedsubscribing
Comment #20
JoachimF commentedEssential! Subscribing.
Comment #21
JonasK commentedI really need this for D7! Thanks for working on it!!!
Comment #22
damiandab commentedsubscribing
Comment #23
fedik commentedsbscr :)
Comment #24
fedik commentedokay, I made base porting for me :)
simplenews_content_selection_views - not ported
check attached file
Comment #25
fedik commentedsmall updates
Comment #26
khumbu commentedsubscribing
Comment #27
jorisx commentedvery nice! and love seeing a 7 version
For now I'm going to test http://drupal.org/files/issues/simplenews_content_selection_Drupal7-v2.zip
Love Drupal :-)
Comment #28
chicodasilva commentedI've tested this #25 but it did not work for me. Do I need any special configuration?
Comment #29
fedik commentedah, forgot wrote ... it bad work on sites with non English language ... I cannot find good solution
Comment #30
fedik commentedhm, I tried set language as "Language neutral" ("und")
now looks better but not perfect ..
Comment #31
khumbu commentedMake sure url language switcher (if you use multilanguage support) is off to work with simplenews....i got it to work that way....
Comment #32
tugis commentedBased on the code of fedik, I created a new version of "Simplenews Content Selection" for Drupal 7 with some code refactoring, UI changes and new features:
Please check the README.txt file for instructions.
Comment #33
zoraxHi,
Thanks for the D7 version.
Just a question : when you select the nodes for the newsletter you don't use ajax form.
So you can not select a node on page 1 and a node on page 3, it's a problem isn't it?
in scs.pages.inc, in line 199 : $form['pager'] = array('#markup' => theme('pager'));
return $form;
How can I modified the component to have a list without pager or a ajax pager.
Thanks!
Comment #34
tugis commentedI understand your point. The current listing doesn't allow you to choose content from different pages to the newsletter. One possible easy workaround is too increase the number of items per page (currently is set to 50).
A more elaborated solution might be to store somewhere, the nodes that you select from a page, when navigating between pages.
Comment #35
dtrdewaele commentedOk, back to the living people and on this module.
First off all, thanks for the D7 port of the D6 version. It's great that people also work on this module to get stuff done when I'm not available.
Actually I'm working for days now on a "new" D7 version.
I'll commit the current D7 version as a 7.x-1.x-dev branch
My version will be committed as the D7 7.x-2.x-dev branch.
The new version has one big change and that's a templating system. I'll commit the first version this weekend.
Thx again for the hard work!
Regards
Dieter
Comment #36
meelis11 commentedHi,
where can I view these branches? Im new here and did not find it. Did you committed D7 branch or maybe its not there yet?
Right now I will try file from post #32
Meelis
Comment #37
zoraxHi,
I try to customize the file scs.theme.inc
sorry for my little coding level...
I need to rebuild the title link so here is the function I try to modify :
$output .= $node[title'] doesn't return anything, as I'm in a function with two "each.."i'm missing the number of the array I presume...
Regards,
Comment #38
jorisx commentedWhere is the real D7 branch ? I've tested simplenews_content_selection-7.x-1.x-dev.tar
works very well :-)
because the list of sellectable nodes will be huge on my site there is a need to be able to browse trough pages with the nodes and select multiple nodes from different pages. (if I select 3 nodes on page one and then 2 on the second, only the 2 on the second will be propagated to the newsletter..)
Regards, Joris
Comment #39
rkoonts commentedTrying to get the simplenews_content_selection-7.x-1.x-dev.tar to work. Keeps failing with an error report of
[13-Dec-2011 15:48:23] PHP Fatal error: Call to undefined function simplenews_get_categories() in /Applications/MAMP/htdocs/archives/sites/all/modules/simplenews_content_selection/scs.pages.inc on line 46
Any ideas?
Comment #40
tugis commented@rkoonts simplenews_get_categories() is a function of the "Simplenews" module (required by Simplenews Content Selection).
Make sure you are using the latest version of Simplenews.
Comment #41
darrenmothersele commentedA Drupal 7 port of this module is not actually required. You can create content selection functionality using Rules and Views Bulk Operations. I've got this working on a couple of sites and the site managers are very happy with it. I don't have time to explain in detail now, but I could give more details if anyone's interested. The basic steps to get it working are as follows:
Editors can now go to the VBO, tick off the content to include and click the "generate newsletter" button.
Comment #42
bambash commentedhi!
the Drupal Reference says: simplenews_get_categories() is on simplenews.module, line 2265
but i can't find this function on any file of the entire module... what i wrong?
i tried in the 7.x-1.0-alpha2 version (2011-Dec-24) and 7.x-1.x-dev (2011-Dec-31)
thank you!
Comment #43
Anticosti commented@ darrenmothersele (comment #41):
Thanks for your explanations. Much appreciated.
My VBO is 99% created. The action is not yet. :-(
Feel like I'm almost there... Wish you could share a little more info? ;-)
Kind Regards,
Comment #44
clkeenan commentedSubscribing for either an official D7 port or more info on VBO/actions setup
Comment #45
jorisx commentedI love the simplicity of Simplenews Content Selection and it works for me:
simplenews_content_selection-7.x-1.x-dev.tar & simplenews-7.x-1.0-alpha1.tar works great!
But errors with the latest simplenews release
simplenews_content_selection-7.x-1.x-dev.tar & simplenews-7.x-1.0-alpha2.tar breaks this....
and I'll get the error:: Fatal error: Call to undefined function simplenews_get_categories() in simplenews_content_selection/scs.pages.inc
Comment #46
khumbu commentedsame problem as Jorisx....any ideas.......
edit:
i can confirm that it only works with simplenews_content_selection-7.x-1.x-dev.tar & simplenews-7.x-1.0-alpha1.tar
also tested the simplenews_content_selection-7.x-1.x-dev.tar and the simplenews7.x-1.0-beta1 doesn't work either.
Comment #47
chicodasilva commentedcomment #41
What version of simplenews have you used?
Comment #48
Freakachoo commentedTry to use simplenews_category_list() instead of simplenews_get_categories()
File: scs.pages.inc
row: 35
In code:
Looks like it works.
Comment #49
Anticosti commented#48 Works for me! :)
Thanks Freakachoo !!!!
Cheers,
Comment #50
highfellow commentedSubscribing.
Comment #51
rhcp commentedHello, I have a bug with content selection simplenews.
When I choose "create newsletter" in content, I have a 500 error.
Can you tell me how to correct the error.
I am drupal 7.
Here is the error
Comment #52
khumbu commentedwhat kind of setup are you using (hosting service, local etc...)
Don't want to be impolite but type in the search box of this site - FastCgiModule error 500 - and start reading,...
if you find your solution don't forget to post it...
Comment #53
rhcp commentedon a server: window server 2008 r2 datacenter
No solution.
A reboot of the server and I have no error
Comment #54
khumbu commentedgood to hear the error is gone....any idea why it is gone?
Comment #55
fedik commentedguess it because a windows ;)
Comment #56
rhcp commentedhello!
I noticed that when creating a newsletter with articles.
There is no connection between the newsletter and article.
So if I edit an article. The newsletter is not updated.
If there are images, they quickly swelled the database because the images are duplicates.
Are there solutions to the two "problem".?
Thank you in advance
Comment #57
gaele commentedRegarding your first problem: I guess this is "by design".
The content of the articles is copied to the newsletter, at the moment of creation of the newsletter. After that moment the relation between articles and newsletter is gone. You could independently edit both the articles and the newsletter content.
Comment #58
rhcp commentedHello, I saw that there was a module "simplenews templates" but in version 6.
Is that there is one for version 7?
Or something that does the same job!
And devellopement level, I want to remove the "submitted" and "add comment". When I created a newsletter?
Is that possible?
Thank you for your help. I discover. I look great and appreciate some help in person confirmed.
Comment #59
gaele commented@rhcp: This issue is about creating a D7 version for Simplenews Content Selection.
If you have a question about Simplenews Template please create an issue in the issue queue for that module.
For any development related questions please create a new support request.
Comment #60
trackleft commentedhttp://groups.drupal.org/node/218034
Comment #61
gaele commentedBased on #41 and with help from trackleft I documented a way to create a newsletter using entity reference, rules and VBO: http://drupal.org/node/1492498
Comment #62
jorisx commentedAn official D7 port would be very nice..
I'm using simplenews_content_selection-7.x-1.x-dev.tar & simplenews-7.x-1.0-alpha1.tar which works very well
Comment #63
midmood commentedregarding #41 and #61.
I tried the recipe and it works perfectly, but I think the entityreference field is enough (without creating the rule and VBO view) unless you want to control autosend options
Once created the entityreference field in the newsletter content type and select "checkbox list" as the field's widget, you already can attach articles to the newsletter. Furthermore you can write an intro text on top of the list (the body of the newsletter content type) and you can manage the creation of the newsletter through the same process of the other content types (instead of going to another page)
The real problem I face is: how can I control the appearence of the articles I attach?
1. OK select the article to show in the newsletter via entityreference field
2. UNRESOLVED: use a view to control which fields to display from the articles I attach
Does anyone has a solution for 2?
Comment #64
gaele commentedYes, just using entityreference and a checkbox list is even simpler. However, once the amount of articles grows this may become difficult to use.
Regarding 2: this is controlled by a view mode, not by a view. At the "manage display" tab of the Simplenews newsletter you choose a view mode for the rendered articles, e.g. "Teaser". Now go to the "manage display" tab of the Article, subtab "Teaser". There you can choose which fields to display, and how.
An alternative would be to customize the "Email: HTML" view mode of the Article, and use that one. Or create a new view mode (but that would involve writing PHP).
Comment #65
rahiml commentedregarding #61, is it related to D7? I am not able to configure or find certain fields and also not able to import the component. version 7.12
regarding #63, your idea of entityreference worked perfectly and by using module "Entity Reference View Widget" gave some sexy look. But I agree with gaele that, once the number of nodes increase it will be hard to manage it.
Comment #66
sgurlt commentedHey there,
I tried "simplenews_content_selection-7.x-1.x-dev.tar_.gz", but it wont work for me. I am working with simplnews 7.x-1.0-rc1 and all I get after selecting a content on the "create newsletter" page and click next is a blank page.
I checked the drupal protocol, but no error message to find there :/
Any idea about that?
Comment #67
fedik commentedlooks like you got a some "fatal error" .. but server configured for hide all error outputs, so you got only the blank page
Comment #68
sgurlt commentedHmm, not even the apache log shows any errors :/
Got any idea what i have to configure to recieve the error messages?
Comment #69
erni bert commentedDid you find out? I am having the same problem and don't know how to enable error output.
...never mind -> I followed instructions here and found it allright.
Comment #70
sgurlt commentedNot right now, but thanks for that awesome link :)
Comment #71
sgurlt commentedNot right now, but thanks for that awesome link :)
Comment #72
amonteroHow about a -dev release for downloading from the project page?
This would allow people unfamiliar with git to help test it.
Comment #73
amontero...and also file separate issues against 7.x branch.
Be it a direct port on a 7.x-1.x branch or a feature packaged maybe in 7.x-2.x, this would allow to close this issue and hopefully get to a stable release sooner. I could not submit a patch against an open issue affecting 7.x :(
Comment #74
jorisx commentedregarding #66:
Simplenews_content_selection-7.x-1.x-dev.tar only works with simplenews-7.x-1.0-alpha1.tar
The rc release or even the alpha2 will break scs (for me..)
I really hope there is a real 7 version dev release here soon.
Keep up the good work :)
J!
Comment #75
SebCorbin commentedRequested co-maintainership at #1813284: Maintainership for branch 7.x-1.x to speed up things and create an alpha release (this would be also useful to translate the module in D7).
Wait & See
Comment #76
rob c commentedI am using this for content selection: http://drupal.org/node/1492498
It does require a patch for inline entity form available here, but once patched, the whole package seems to offer the same functionality this module seems to ... and more. Thought you all might wanted to know this.
Comment #77
gaele commentedNot quite. SCS copies the content of the selected nodes into the newsletter body the moment the newsletter issue is created. Changes to the selected nodes after this moment won't show up in the newsletter. Besides it would be possible to change the newsletter body before sending.
Using the combination of modules in the page you are referring to the selected nodes will be added to the newsletter the moment you click "send".
I have no idea if this slight difference matters in practice though.
Comment #78
rob c commented@gaele
You can edit the message before sending, it won't send it before you click the send button, so you can always add more nodes to the message and edit the body before you send it.
It's true it won't add them when clicking on send, it does it before sending.
And it's also true it does not add them to the body, it adds them to the referenced field. (this is something i'm kinda working on right now, cause placing the referenced items in the body (maybe with a button) would really finish it i guess.)
I didn't know this module really copies the content and that you can edit the original nodes without those changes showing up in the body, interesting option to maybe add to that page.
"I have no idea if this slight difference matters in practice though."
It might, good point, if people just want to add existing nodes this works, but if people want to tweak / modify nodes, they have to edit the nodes now, and those changes also show up on the site.
Maybe this all can help, thanks for the information!
Comment #79
SebCorbin commentedThank both of you for these info, I'm flagging this as fixed as the D7 port is out.