Closed (fixed)
Project:
Node to Word
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2010 at 12:24 UTC
Updated:
13 Oct 2010 at 16:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
greg.harveyIt's a permission... Go to Admin >> Users >> Permissions and find node_to_word... enable it for the roles you wish to be able to see the links.
Comment #2
Rosamunda commentedHi there!
I´ve enabled that and cannot actually see the link. Maybe it has something to do with my template. How is this link being created, so I can try to manually reproduce it?
Thanks!
Rosamunda
Comment #3
Rosamunda commentedI think I´ve found the problem. Inside the module, look at line 82
if ($type == 'story') {I´ve changed to "page" and all pages show that link...
Comment #4
greg.harveyAh, I see. I forgot I hard-wired it. Sorry.
Please test the attached patch. I have *not* tested it, but it will apply to 6.x-1.0 or 6.x-1,x-dev, they're the same at the moment. Here's what it does:
I stress again, this is untested and I'm tired. But if I'm lucky, it'll work first time. ;-)
Comment #5
nicoloconte commentedThank you very much, I'll try it this afternoon.
Stay tuned :)
Comment #6
watsonerror commentedsubscribe
Comment #7
LSU_JBob commentedsubscribe
Comment #8
greg.harveyDid anyone try the patch??
Comment #9
cajmcmahon commentedsubscribe
Comment #10
greg.harveyPlease can someone (other than me) try this patch and either mark is as "needs work" or "reviewed and tested by community". Until someone actually bothers to try this patch, instead of just typing "subscribe", it won't be committed.
Comment #11
thakural commentedI have given the permissions and changed "story" to "page". But even then I can not see those 2 links under the edit content type. Can anybody help
Comment #12
greg.harveyAm I talking to myself? Use the patch, Luke! ;-)
Comment #13
dillonm commentedI've enabled the word document type for a user role, and enabled the word document download for a content type. When browsing as a user with the enabled role on the enabled content type, the link correctly appears at the bottom of the node. However when the user clicks on it, they get an access denied message.
Comment #14
greg.harveyHave you checked the permissions? Two new permissions were added, replacing the old blank permission. I did say that in #4.
Thanks for testing, btw - appreciate it. Please let me know if this is just a permissions problem.
Also, I should probably include auto-switching the permissions in an update hook, so users do not need to worry about this, once it is committed.
Setting back to 'needs review' for now, so more people test.
Comment #15
greg.harveyI've tested this and also see #905844: Can't get Save as Word on new node types. I think that's enough to mark it as R&TBC.
Comment #16
greg.harveyThis is committed to the dev snapshot (accidentally, as it happens, but a happy accident - though I had a heart attack when I did it!)
I won't roll a release until this issue is fixed: #926530: Update from 6.x-1.0 to 6.x-1.x-dev will break permissions