evocms-community / pagebuilder

Page Builder for Evolution CMS
29 stars 23 forks source link

Need snippet parameter for set document-source of blocks #19

Closed mnoskov closed 7 years ago

mnoskov commented 7 years ago

Any other parameters?

mnoskov commented 7 years ago

&block - for filtering by block type, &offset, &limit

fourroses666 commented 7 years ago

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)

cblocks

Some ideas of others;

inline-icon

mnoskov commented 7 years ago

Great idea. This option can be extended: "dropdown", "icons" - for use fontawesome icons, icon-class should be provided in config, "images" - for use images.

mnoskov commented 7 years ago

a85706f

fourroses666 commented 7 years ago

Next week I can make some default icons if you like

mnoskov commented 7 years ago

Thanks, but wait, first I add this functionality, for knowing, which icons needed

mnoskov commented 7 years ago

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

fourroses666 commented 7 years ago

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)

mnoskov commented 7 years ago

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:

fourroses666 commented 7 years ago

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

mnoskov commented 7 years ago

I've created folder for you: https://github.com/mnoskov/contentblocks/tree/master/assets/plugins/contentblocks/images

fourroses666 commented 7 years ago

Oké!

fourroses666 commented 7 years ago

Having no internet at the moment. There is an internet breakdown here on my zipcode and really need it. Probably back tomorrow..

mnoskov commented 7 years ago

There's no hurry :)

fourroses666 commented 7 years ago

Hi, I have made some start on the icons; pb.zip

mnoskov commented 7 years ago

Cool icons!

fourroses666 commented 7 years ago

I would like to make vectors of them (PS Illustrator) and do a small restyle but at the moment we can use these. 👍 👍

fourroses666 commented 7 years ago

Also have to add some icons like "Map" and "List" and probably allot more.

pmfx commented 7 years ago

Cool icons indeed!

mnoskov commented 7 years ago

Excellent job, @fourroses666

fourroses666 commented 7 years ago

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?

mnoskov commented 7 years ago

Yes, you must set it in config file

'image' => 'assets/plugins/pagebuilder/images/image.jpg',
fourroses666 commented 7 years ago

👍