Hi,
I can't get the socialshareprivacy module up-and-running. I can see the block on every page, but no icons are visible.
Here's what I did:
- I installed the socialshareprivacy module (V 7.x-1.4) and activated it in the admin section.
- I uploaded the files from heise.de to the directory ./sites/all/modules/libraries/socialshareprivacy/
- Then I placed a block to be displayed on every page of every user just below the main content.
Now when I load a page (when I'm logged in as admin) I can find the following code in the source:
<div class="block block-socialshareprivacy contextual-links-region" id="block-socialshareprivacy-socialshareprivacy-block">
<h2>SocialSharePrivacy</h2>
<div class="contextual-links-wrapper contextual-links-processed"><a href="#" class="contextual-links-trigger">Konfigurieren</a><ul class="contextual-links"><li class="block-configure first last"><a href="/admin/structure/block/manage/socialshareprivacy/socialshareprivacy_block/configure?destination=node/6">Block konfigurieren</a></li>
</ul></div>
<div class="content">
<div id="socialshareprivacy"> </div> </div>
</div>
There are also the javascript-import .../sites/all/libraries/socialshareprivacy/jquery.socialshareprivacy.min.js?m02m93 and some javascript-jQuery-calls.
But no Icons for sharing are shown on the page.
When I'm logged out, then I can see the following code (and some javascript imports):
<div id="socialshareprivacy-node-6"> </div>
and also the javascript-import and the javascript-jQuery-call (referencing the node with the ID "socialshareprivacy-node-6")
Can you help me to find out what I do wrong?
Here is the link to the site: http://dev.kochenmitclaudia.ch/
Thanx a lot in advance.
Don
| Comment | File | Size | Author |
|---|---|---|---|
| block-is-visible.png | 5.36 KB | don_busi |
Comments
Comment #1
ytsurkhave you set the permissions and settings (default will show nothing .. i'm gonna change that - thick fe. twitter) ?
is there a javascript error ?
Comment #2
don_busi commentedHi ytsurk,
thanx for your answer.
No, I don't see any JS-Errors in the Web-Developer-Error-Console of Firefox.
I see the following JS-Code inserted into my page:
When I set a breakpoint in Firebug the debugger stopps at the breakpoint => the JS is executed.
When I check the "Net"-Tab in Firebug, I can see that all the included JS, CSS etc. files are found (no 404-errors).
And also I can see the DIV that is queried
<div id="socialshareprivacy-node-6"> </div>.What permissions do you mean? Where can / do I have to change permissions?
Cheers,
Don
Comment #3
ytsurkyou have to configure the module here:
/admin/config/user-interface/socialshareprivacyenable at least one service !
permissions are set here:
/admin/people/permissions#module-socialshareprivacyas user one you should see it anyway, if not, you have to enable the access permission for your role
Comment #4
ytsurkComment #5
don_busi commentedHi,
thanx a lot for your help.
I figured out what the problem was.... at some point during the installation of the modules (amongst other of the socialshareprivacy module) the web-server had a memory-limit error from php.
So the module wasn't installed properly.
I installed drupal from scratch, now the instructions make sense and the module also works fine.
Thanx for the cool module!!
Cheers,
Don
Comment #6
ytsurknice to hear that :D
Comment #7
Martin P. commentedI did all these things. When i check the field_socialshareprivacy variable with theme developer it is only containing the value 0 when disabled and 1 when enabled. But how to render the buttons and so on? in my node--article.tpl i added:
print render($content['field_socialshareprivacy']);But there is nothing showing but the label.
Comment #8
ytsurkadd the field via the field UI.
you can bulk update existing content types here:
admin/config/user-interface/socialshareprivacy/bulkupdateor use
field_get_itemsin your code.
http://api.drupal.org/api/drupal/modules!field!field.module/function/field_get_items/7
Comment #8.0
ytsurkformatting fixed