i really think Łukasz aproach is the easier way to go. as he said, it's possible but not documented. just a custom attribute will work perfectly for your needs.
2010/9/25 Stefan Georg <[email protected]> > checkbox for each block. so that they could add the same block to a page > twice, one where dates were turned on and one where they were turned off as > an example. So then an article in both blocks could once have dates > displayed once not displayed > > I was thinking of doing it via a jquery hack. > > Adding a checkbox on the fly, then forcing a call back to the server > onchange, which would write to a db table. The blocks would lookup their > value in the table and then turn on dates or turn them off. > > Seems like the ability to add arbitrary data types to blocks would be > useful to some, like description for a block etc but I cannot find a way to > add anything. > > Stefan > ----- Original Message ----- > From: "SEBBANE Alexandre" <[email protected]> > To: "Stefan Georg" <[email protected]>, [email protected] > Sent: Friday, September 24, 2010 2:12:42 PM GMT +07:00 Bangkok, Hanoi, > Jakarta > Subject: RE: [Sdk-public] Adding options to ezflow blocks > > Hello > > Do you mean a checkbox for each article or a checkbox for the block ? > > Alexandre > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] > De la part de Stefan Georg > Envoyé : vendredi 24 septembre 2010 04:05 > À : [email protected] > Objet : [Sdk-public] Adding options to ezflow blocks > > Is there a way to add a checkbox for each block of an ezflow page? I ask > because someone would like to be able to check on or off whether to display > dates next to articles if it is checked. The template override could then > read this option in and decide whether to display or hide the dates. > > -- > Sdk-public mailing list > [email protected] > http://lists.ez.no/mailman/listinfo/sdk-public > > Ce message et toutes les pièces jointes (ci-après le 'message') sont > confidentiels et établis à l'intention exclusive de ses destinataires. Si > vous n'êtes pas destinataire de ce message, merci de le détruire et d'en > avertir immédiatement l'expéditeur. > Toute utilisation ou diffusion non autorisée est interdite. Tout message > électronique est susceptible d'altération. > BPCE décline toute responsabilité au titre de ce message s'il a été altéré, > déformé ou falsifié. > > This message and any attachments (the 'message') are confidential and > intended solely for the addressee(s). If you receive this message in error, > please delete it and immediately notify the sender. Any unauthorised use or > dissemination is prohibited. E-mails are susceptible to alteration. Neither > « BPCE » will not be liable for the message if altered, changed or > falsified. > -- > Sdk-public mailing list > [email protected] > http://lists.ez.no/mailman/listinfo/sdk-public >
-- Sdk-public mailing list [email protected] http://lists.ez.no/mailman/listinfo/sdk-public
