Can this be done – adding multiple custom blocks?

Permalink
Hi, I hope someone can help.
I need to have a page with around 20 editable special offers stacked vertically down the page. Each offer would be a wide rectangle (700px wide, 120 high – example attached). I'm imagining that each would be a block that the client can add when required.

Each block would effectively be an individual advert which would contain an area where a fixed size logo could be uploaded and would contain 3 editable text areas.

Can anyone point me in the right direction? I'm quite new to concrete5 and am a bit confused. Is making some kind of custom block the correct way to tackle this?

Any help very welcome. Thanks.

1 Attachment

 
JohntheFish replied on at Permalink Reply
JohntheFish
It sounds like an ideal block for the designer content add-on, with maybe a few tweaks to the view/styles after you have generated it.
DanK replied on at Permalink Reply
Thanks for the quick reply but I'm afraid I don't really understand what you mean (bit of a newbie...). Could you elaborate a bit please?
DanK replied on at Permalink Reply
Ahhh... I see what you mean. I found the Designer Content add-on which will hopefully do the trick – one review says it's the best thing since the invention of electricity so that sounds a bit promising!

Thanks again for helping so quickly.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
This is the free add-on you need:
http://www.concrete5.org/marketplace/addons/designer-content/...

You can use that to generate blocks with suitable edit forms. There are examples in the designer content documentation, and lots more examples in these forums if you search for Designer Content.

http://www.concrete5.org/community/forums/-/view/?sort=relevance&am...

Having generated the block you want, you may want to adjust how it displays by changing the php/html of the block's view and the related css styles.

Its probably also worth having a bit of knowledge about building blocks in general, and the C5 book is an excellent way to get started.http://www.concrete5.org/about/blog/concrete5-sightings/book-on-con...

There are also some good videos and how-to pages on this site.
DanK replied on at Permalink Reply
Great info Mr Fish, thanks a million for the help, really appreciated.
rhuffman8 replied on at Permalink Reply
rhuffman8
From using that add-on, it is very helpful for creation of most basic forms. I have had a few problems in the past with file permissions and actually being able to edit the php files created when a new block is installed and because of that, I just put forth the effort to learn how to create custom block manually.

For anyone looking to use concrete5 extensively, I would highly recommend learning to do it the "hard way" as it gives the option of higher functionality and control over blocks.
The add-on is helpful but still limited in terms of things you can do in just the interface.

Just thought I'd throw my two cents in.
jordanlev replied on at Permalink Reply
jordanlev
I'm the author of the Designer Content addon, and I completely agree you @rhuffman8 -- I often use Designer Content to generate just the skeleton block code which I then modify to suit my needs. A lot of people have said that doing this helps them learn how blocks work, because you're seeing what's absolutely essential without having to wade through a bunch of confusing extraneous code (just don't create a block with a WYSIWYG editor in it -- that one unfortunately requires a lot of extraneous code).

Also, you have the best avatar picture of all time.

Cheers,
Jordan