Inhalt ein- und ausblenden – Block

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!




10 Comments

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

On the expand/collapse block, I am getting only one arrow. I wanted to create a few collapsed (or expanded lines) like the example, but was not able to. I tried to play around with the open/closed drop down but it did not work.

There are more autonav examples in my upcoming book http://www.codeblog.ch/2010/12/concrete5-beginners-guide-book/. I’m going to write some more tutorials once I finished the book but there’s not enough time right now.

I also can’t reproduce a problem with the arrows. I think I’ve updated the version in the marketplace a while ago, could you please try and use the one available here http://www.concrete5.org/marketplace/addons/expand-collapse/ ?
thanks

Hi Remo,
I have multiple expandcollapse blocks and I want to be able to auto expand a particular one when clicked on a link on a different page.
So far looks like the block doesn’t support that, but I am wondering if I could use your guidance on how to modify it to accommodate my needs.
Thanks a lot!

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *