Hello,
Although I login as admin, I cannot see the “settings button” on the right corner.
Can you please assist ?
Hello,
Although I login as admin, I cannot see the “settings button” on the right corner.
Can you please assist ?
Hi,
please, open file wp-content/plugins/dhtmlxspreadsheet/spreadsheet_data.php and modify it like here:
$conn = new GridCellConnector($res, $table_prefix."dhx_");
print_r($available_to);
print_r($usertype);
echo "\n";
if (!isset($available_to[$usertype]) || $available_to[$usertype] == false)
$conn->set_read_only(true);
$conn->render();
Now please open in borwser the follow url:
yoursite/wp-content/plugins/dhtm … t_data.php
Don’t forget to replace ‘yoursite’ with you real domain name.
This page will output something like here:
Array
(
[administrator] => 1
[editor] => 1
)
administrator
{"sheetid":false,"config":"","readonly":false,"head":[],"cells":[]}
Array with roles is array of user groups who can edit spreadsheet.
After it you may see current user role.
Is it ok in your case?
Same issue for me. Followed you instructions, both admin and editors seem to have rights, but no settings button showing.
Uncaught ReferenceError: dhtmlxSpreadSheet is not defined
Hi,
could you provide link to your spreadsheet page?
Unfortunately not (utilizing it on an internal wiki), but I did manage to find a solution.
Apparently the Cyberchimps family of WP themes, specifically their equivalent of “bones” (Cyberchimps Pro) was either altering or truncating the inclusion of the css/js files, so I just added manual links at the end of the as was suggested in another thread and it seems to be working fine now.
If can find exactly where the issue cropped up and provide a better/more universal fix, I’ll post it up here.
Good work!