config>services>sharethis it says at the bottom "Configure where the ShareThis widget should appear." I have clicked where i would like it to be shared and when i hit submit it erases any changes i have made. Any ideas??

Comments

Chaulky’s picture

Are you sure you're using the latest version, 7.x-2.4? There was an issue with saving the settings (http://drupal.org/node/1507684) which was resolved and released in 7.x-2.4. I just tried what you described and had no problems.

emptyvoid’s picture

I have 7.x-2.4 and none of the settings save at all.

Anything I chose doesn't save.

emptyvoid’s picture

Running Xdebug on the whole submission process shows me the following "problems".

a) Settings Form
The settings form is called twice on first display.
It is also called again on submission, which in effect clobbers the settings that the user specified upon submission. The method loads the default settings saved in the settings variable (which isn't all that useful because the users configuration is never saved, so the default is always loaded).

b) Submission method
The submission method of course references the values of the $form_state which as I mention above are always overridden by the default settings for the form. Hence the user's settings never get saved.

I will toy with the module and if I find a solution I'll post a patch. The main area I feel is the problem is the sharethis_admin() function I will modify it to how I've always accomplished the task and see if it fixes the problem.

Till then.

emptyvoid’s picture

Title: Will not save check boxes that i have clicked » Sharethis settings never save (7.x-2.4)

Changing name of issue so people can find this issue better.

emptyvoid’s picture

Component: Miscellaneous » Code
Category: task » bug
Priority: Normal » Major

Also changing the settings to reflect the problem.

emptyvoid’s picture

Title: Sharethis settings never save (7.x-2.4) » Will not save check boxes that i have clicked
Component: Code » Miscellaneous
Category: bug » task
Priority: Major » Normal

Checking out from dev and doing a clean uninstall did the trick.

ShareThis Support’s picture

Status: Active » Closed (fixed)

Hope the latest installation worked for you. Re-open if this is still an issue.

ShareThis Support