Work

Simple AJAX portfolio plugin

Back to Work Support

Sam
Sam

Hi I just downloaded your plugin, added a new category and item, then i click on work and I have the following error on screen.

"List column type "image" could not be found."

throw new ApplicationException(sprintf('List column type "%s" could not be found.', $type));

Thanks for your kind assistance.

individuart
individuart

Hi Sam.

I have just installed the plugin in a clean installation of OctoberCms and everything works fine.

Have you modified the code of the plugin??

It seems like October doesn't recognize the type image in the file models/work/columns.yaml

Sam
Sam

Hi,

I have not modified the plugin at all, it was in clean install on an existing site.

I did insert a featured image in my test post.

individuart
individuart

Hi! It seems like OctoberCMS in the last update doesn't support the type "image" in columns definition. I used it to display a thumbnail of the featured image in the list.

You can comment the line 15 in models/work/columns.yaml

image:
  label: individuart.work::lang.backend.label_image
  sortable: no
  #type: image

I am going to take a look and try to solve this problem that appears with this core update.

Thank you for your comments

individuart
individuart

Hi Sam.

I have modified the plugin in order to show correctly the image thumbnail in the list of works in backend.

I hope this plugin can be useful for you.

Regards.

Sam
Sam

Hi,

That's perfect, it's all working fine now! A++

Thank you for your kind assistance and quick response, much appreciated!

Regards Sam

Last updated

1-6 of 6