Problems with version 2.0

Problems with version 2.0 was created by Hernandez

Posted 4 years 9 months ago #53023
Update to the new version 2.0.3, but to users with administrator level, you can not load images, since it shows you the following error:

Too few arguments to function Slideshowck\CKFof::_die(), 0 passed in /var/www/html/portal/administrator/components/com_slideshowck/helpers/ckview.php on line 17 and exactly 1 expected
Last Edit:4 years 9 months ago by Hernandez
Last edit: 4 years 9 months ago by Hernandez.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Problems with version 2.0

Posted 4 years 9 months ago #53027
Hi
please go in the file
administrator/components/com_slideshowck/helpers/ckview.php
line 16
Code:
if (!CKFof::userCan('admin')) {
replace it with
Code:
if (!CKFof::userCan('manage')) {

tell me if this is better
I need to check the access rights, because as I have not put an admin area in the components menu, there is no way to edit the rights ...
I will let you know

CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Hernandez on topic Problems with version 2.0

Posted 4 years 9 months ago #53041
Thank you,
Modify the code so that the super administrator and administrator can add images. the code stayed as follows:

if (! CKFof :: userCan ('admin or manage')) {

Please Log in or Create an account to join the conversation.

Replied by Hernandez on topic Problems with version 2.0

Posted 4 years 9 months ago #53042
I found another detail, the component does not place the links, or titles, button or image.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Problems with version 2.0

Posted 4 years 9 months ago #53043

I found another detail, the component does not place the links, or titles, button or image.

sorry but I don't understand what you mean here
can you give me few explanations ?

for info I have updated my code for the next version to add the Permissions options on slideshow ck, just with "edit" because everything else is managed by the com_modules

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Hernandez on topic Problems with version 2.0

Posted 4 years 9 months ago #53044

ced1870 wrote:

I found another detail, the component does not place the links, or titles, button or image.

sorry but I don't understand what you mean here
can you give me few explanations ?



Place links in several slides, but when checking the changes, none of the slides has a hyperlink
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.688 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 241 guests and no members online