Well, this makes sense
Thank you! I will try this the day after tomorrow, when I have access to the ftp. But if is a âuser rightsâ issue, this should do the trick
Well, this makes sense
Thank you! I will try this the day after tomorrow, when I have access to the ftp. But if is a âuser rightsâ issue, this should do the trick
That worked Renee, thanks!
In the file plugins/content/spreadsheet/spreadsheet_data.php I modified this last code:
$conn = new GridCellConnector($res, $db_prefix);
if (!isset($available_to[$usertype]) || $available_to[$usertype] == false)
$conn->set_read_only(false); // Changed from true to false
$conn->render();
Iâm glad I was able to help.
Kind regards
Renee (from the Netherlands)
Hi lafox,
I think I did similar thing before when playing with the dhtmlxSpreadsheet.
I used dhtlmxTabbar and attached a different page to each tab content, like this:
[code]var b = mainLayout.cells(âbâ);
sheetTabbar = b.attachTabbar();
sheetTabbar.addTab(âsheet1Tabâ,âSheet 1â,ââ);
var sheet1Tab = sheetTabbar.cells(âsheet1Tabâ);
sheetTabbar.setTabActive(âsheet1Tabâ);
sheetTabbar.enableTabCloseButton(true);
sheet1Tab.attachURL(âsheet1.phpâ);
sheetTabbar.addTab(âsheet2Tabâ,âSheet 2â,ââ);
var sheet2Tab = sheetTabbar.cells(âsheet2Tabâ);
sheetTabbar.enableTabCloseButton(true);
sheet2Tab.attachURL(âsheet2.phpâ); [/code]
I hope this helps!
Hello Adam
Thank you, it gets better and better!
dit you add the text in:
/plugins/content/spreadsheet/spreadsheet_data.php
Hi lafox.
You may paste the follow code to paste two spreadsheets at the same page:
First price is here:
[[spreadsheet?&width=600px&height=400px&id=first_price]]
<br>some text is here<br>
Second price is here<br>
[[spreadsheet?&width=600px&height=400px&id=second_price]]
By the way, good work, guys!
Grrrrrr. my website is hacked.
I have to repair the damage, i will get back to this topic
(may take a wile) but i will report my findings
Hi
I did what you said up and i have this
[code]Array
(
[Super Users] => 1
[superadministrator] => 1
[administrator] => 1
[manager] => 1
)
Array
(
)
{âsheetidâ:â1â,âconfigâ:"",âreadonlyâ:true,âheadâ:[],âcellsâ:[]}[/code]
what can be wrong ?
thank you in advance
Somehow i managed to get it working but i miss excel, pdf and settings button.
Is there some parameter for those?
thanks
Hi david_b,
please, make sure that width of spreadsheet is enough to show all buttons in header.
Usually this problem appears when width is small.
hi
width is 600 and i tryed with 800 also but the same. it has space for the buttonsâŠi attached a print screen
Could you provide me link to your page with spreadsheet?
i sent you a pm
thanks a lot
Hi,
I logged in, but for some reasons I see spreadsheet in readonly mode (only export to PDF and Excel buttons).
i checked again and have all rights
what i did was to go to site, login with user and pass and click on test table and i see excactly what i uploaded here
do you want to try one more time?
Now I have access.
Please, try to set the width of spreadsheet 30 pixels more.
It will fix a problem with export buttons.
I set it from 600 to 700 and you are right, i see export buttons and also settings button
thanks a lot for your time