Closed mnoskov closed 7 years ago
&block - for filtering by block type, &offset, &limit
What do you think about my idea to add an option to use icons (or icons with text) for blocktypes?
&type=dropdown
<-- default
&type=icons
Then in the config file you could select the icon for the block. font awesome or use custom icons (I can make)
Some ideas of others;
Great idea. This option can be extended: "dropdown", "icons" - for use fontawesome icons, icon-class should be provided in config, "images" - for use images.
a85706f
Next week I can make some default icons if you like
Thanks, but wait, first I add this functionality, for knowing, which icons needed
Hi, Marc! Do you have any suggestions for icons? This would be great start point - http://kb.mailchimp.com/binaries/content/gallery/mailchimpkb/common/campaigns/design-step/camp_cb_design_contentblocks.jpg
Hi, yes these look very nice. :) That will be a good startingpoint. I'd like to have them look like these.
What do you want me to do? Do you use some placeholders and I replace these?
(I haven't upgraded CB yet and don't know how it looks now when using images)
I'm planning to add sample configuration files for "text", "image", "images gallery", "image card", "image + description". So it will be great, if you draw images for this blocks. Max size 80x60
It will look like this:
Oke, I will make these icons 160x120 (retina) and can be resized to the 80x60. Today a bit busy but tomorrow some time for it :)
Yea upgraded and see its already possible to select images / icons! Nice
I've created folder for you: https://github.com/mnoskov/contentblocks/tree/master/assets/plugins/contentblocks/images
Oké!
Having no internet at the moment. There is an internet breakdown here on my zipcode and really need it. Probably back tomorrow..
There's no hurry :)
Hi, I have made some start on the icons; pb.zip
Cool icons!
I would like to make vectors of them (PS Illustrator) and do a small restyle but at the moment we can use these. 👍 👍
Also have to add some icons like "Map" and "List" and probably allot more.
Cool icons indeed!
Excellent job, @fourroses666
Don't know where else to ask.
I have set the plugin to images. But how can I show the icon? Do I have to add the image/iconname in the configfile?
Yes, you must set it in config file
'image' => 'assets/plugins/pagebuilder/images/image.jpg',
👍
Any other parameters?