Problems with version 2.0

More
5 years 9 months ago - 5 years 9 months ago #53023 by Hernandez
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: 5 years 9 months ago by Hernandez.

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

More
5 years 9 months ago #53027 by ced1870
Replied by ced1870 on topic Problems with version 2.0
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

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

More
5 years 9 months ago #53041 by Hernandez
Replied by Hernandez on topic Problems with version 2.0
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.

More
5 years 9 months ago #53042 by Hernandez
Replied by Hernandez on topic Problems with version 2.0
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.

More
5 years 9 months ago #53043 by ced1870
Replied by ced1870 on topic Problems with version 2.0

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

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

More
5 years 9 months ago #53044 by Hernandez
Replied by Hernandez on topic Problems with version 2.0

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.234 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 980 guests and 2 members online