CodeBlog.ch


Expand/Collapse Block

Posted in Concrete5 by Remo Laubacher on the October 5th, 2009

Due to limited time I wasn’t able to write new articles for codeblog. This time there’s not going to be much text, just a free block which you can use for your site.

expand

Dialog

The following screenshot shows you the dialog you can use to enter the information related to the expand block. There’s a special feature which I haven’t seen before – you can select the template while adding a new block. No need to open a second dialog!

dialog

Updates / Contribution

If you have some nice arrows/layouts. Please contact me! I’d be happy to add them to this block which we could later publish on the Concrete5 Marketplace once it contains a few nice layouts!

Download / Installation

Download block here.

Extract the zip file into /blocks/ and make sure you keep the directory “remo_expand”. It’s not a package yet and therefore must be extracted to blocks and not packages!

5 Responses to 'Expand/Collapse Block'

Subscribe to comments with RSS or TrackBack to 'Expand/Collapse Block'.

  1. Jack said,

    on October 6th, 2009 at 19:02:08

    Was just trying to put together something lie this myself, saved me a load of time.
    Love being able select the template when adding the block – that should be added to all blocks in C5.

  2. Sean said,

    on October 7th, 2009 at 02:58:22

    Remo,
    This is an excellent addition to the concrete5 marketplace and for free too. The block works very well and as expected. Really easy to use and produces the desired results.
    I am extremely pleased with the expand/collapse block
    Many thanks for your time and effort
    Cheers
    Sean

  3. _n3o_ said,

    on October 14th, 2009 at 11:21:33

    Nicely done and certainly very usefull ;)
    Would be great (amazing?) to add this kind of feature to autonav :s


  4. on October 14th, 2009 at 12:12:19

    You can easily add such features to the autonav block. No need for a custom block, a simple custom template would be enough..

    You need to understand php and custom template (http://www.codeblog.ch/2009/03/concrete5-templates/) and a little bit of javascript but it’s not difficult to do.


  5. on November 19th, 2009 at 19:55:44

    Well, in general yes.. But:
    1. I’m very busy at the moment
    2. What script? How is it related to the expand/collapse block?

Leave a Reply