Problems with version 2.0
5 years 9 months ago - 5 years 9 months ago #53023
by Hernandez
Problems with version 2.0 was created 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
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.
5 years 9 months ago #53027
by ced1870
Joomlack Webmaster and Developer
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
replace it with
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
please go in the file
administrator/components/com_slideshowck/helpers/ckview.php
line 16
Code:
if (!CKFof::userCan('admin')) {
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.
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')) {
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.
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.
5 years 9 months ago #53043
by ced1870
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
Replied by ced1870 on topic Problems with version 2.0
sorry but I don't understand what you mean hereI found another detail, the component does not place the links, or titles, button or image.
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.
5 years 9 months ago #53044
by Hernandez
Place links in several slides, but when checking the changes, none of the slides has a hyperlink
Replied by Hernandez on topic Problems with version 2.0
ced1870 wrote:
sorry but I don't understand what you mean hereI found another detail, the component does not place the links, or titles, button or image.
can you give me few explanations ?
Place links in several slides, but when checking the changes, none of the slides has a hyperlink
Please Log in or Create an account to join the conversation.
Time to create page: 0.225 seconds