Can't override the core slideshow block view
Permalink
Hi,
I'm trying to customize the look of the slideshow block by overriding the view.php file of the slideshow block. I created the following structure:
Main Site
- blocks
- slideshow
- view.php
However the core view.php is loaded instead of my view.php.
It's weird because I'm able to override for example the auto nav block.
Anyone knows what am I doing wrong?
At this time of writing I'm using Concrete 5.6.2.1.
I'm trying to customize the look of the slideshow block by overriding the view.php file of the slideshow block. I created the following structure:
Main Site
- blocks
- slideshow
- view.php
However the core view.php is loaded instead of my view.php.
It's weird because I'm able to override for example the auto nav block.
Anyone knows what am I doing wrong?
At this time of writing I'm using Concrete 5.6.2.1.
I've wanted to add this to a project anyway. Ill dig in and figure it out quick!
I've attached a simple package with a custom template for the core slideshow block. You can change the view to your liking via view.css or copy the entire folder and create an array of different ones!! The only thing I've changed in "template1" is the width, from 100% to 50% just to show the package is working!! Enjoy, I hope this answers your question about how to customize the block view!!
You may need to turn off caching and flush, including the overrides cache, before any custom views will be noticed. Once noticed and stable, you can re-enable whatever level of caching you need.
Thank you!
It's funny, I usually remember to disable cache when developing, however I forgot this time.
enlil, thank you for your help but it seems that the solution is much simpler then what I thought.
It's funny, I usually remember to disable cache when developing, however I forgot this time.
enlil, thank you for your help but it seems that the solution is much simpler then what I thought.