CodeBlog.ch


Inhalt ein- und ausblenden – Block

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

Aufgrund von zeitlichen Einschränkungen ist es nun eine Weile her als ich etwas auf codeblog publiziert habe. Heute ist es kein Artikel, für Erklärungen hat’s leider nicht gerreicht. Dafür aber ein gratis Block für eure Internetseite.

Ein simpler Block im Inhalt anzuzeigen den man bei Bedarf aus- und wieder einblenden kann:

expand

Dialog

Der folgende Screenshot zeigt den Dialog wo sämtliche Informationen eingegeben werden können. Speziell ist, dass man bei diesem Block das Layout gleich in der Eingabemaske definieren kann.

dialog

Erweiterungen

Sollte jemand ein paar Pfeile/Layouts haben, bitte kontaktiert mich. Ich würde gerne ein paar Templates einbinden so dass der Block später im Concrete5 Marktplatz veröffentlich werden kann.

Installation

Block hier herunterladen.

Die ZIP Datei in /blocks/ extrahieren. Sicherstellen dass der Ordner “remo_expand” vorhanden ist. Viel Spass!

5 Responses to 'Inhalt ein- und ausblenden – Block'

Subscribe to comments with RSS or TrackBack to 'Inhalt ein- und ausblenden – Block'.

  1. Jack said,

    on Oktober 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 Oktober 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 Oktober 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 Oktober 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/de/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