Custom Dashboard Modules
Permalink
I am working on some of my first custom modules for c5, and I had a couple questions that I hope somebody could answer (or point to an answer). I am building a custom package where the client can add their own testimonials with some attached images. Instead of blocks, I decided to make a single page w/ a controller that pulls data from the custom table in the package, and then create a dashboard section to list and add new testimonials.
So, first question i am having is how I wire up the asset library on the "add testimonial" page in the dashboard, so you can select an image from the library instead of uploading? I've done it with blocks (looking at c5 image block as reference) but not sure how to make it work with a single page in the dashboard.
I hope this makes sense, and by all means...if it doesn't sound like I am going about this module correctly, any help would be appreciated!!
So, first question i am having is how I wire up the asset library on the "add testimonial" page in the dashboard, so you can select an image from the library instead of uploading? I've done it with blocks (looking at c5 image block as reference) but not sure how to make it work with a single page in the dashboard.
I hope this makes sense, and by all means...if it doesn't sound like I am going about this module correctly, any help would be appreciated!!
check the music player block for example (marketplace). It uses some (probably not offically supported) custom javascript code..