Is it possible to an XML text block to ezflow blocks?

Author Message

Kostadinka Ignatieva

Wednesday 29 October 2008 1:36:34 am

Hi and congrats on the great extension!

I have been using ezflow for quite a long time and it is working good. Now I want to add some new features to its blocks, so that they are not constrained only to adding items to them.

My question is if it is possible to add an XML text block to the ezflow block?
This XML block I want to use like a description field to the block, to show not only text but images, inserted tags, multimedia objects... in other words features of the Online Editor.

For this purpose I started with using the CustomAttributes setting of the blocks. And it worked as expected - shows a text input. But so far I haven't been able to call the OE for that field.
Is this possible? Or is there some other way than using CustomAttributes?

Iguana IT - http://www.iguanait.com

Bin LIU

Wednesday 29 October 2008 2:13:37 am

you can samply add an attribute XML block in the class frontpage, add use it in your template as you wish.

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

Arnaud Lafon

Wednesday 03 December 2008 7:28:59 am

Hi Kostadinka,

did you find a simple way to use XML text block in ezflow blocks ?

I'm currently working on a "custom attributes" handler, but this needs a small hack of the ezpage datatype...

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

Kostadinka Ignatieva

Monday 15 December 2008 12:41:59 am

Hi, Arnaud, and thanks for your reply!

Unfortunately, I am no longer working on this task, but I will be very grateful if you could share your approach and maybe we can help each other later on.
I also think that with some modifications to the extension, this could be done. My initial idea, however, was to not change the extension a lot...

Iguana IT - http://www.iguanait.com

tofik sahraoui

Monday 27 June 2011 6:14:48 am

any solutions to this?

Gaetano Giunta

Monday 27 June 2011 9:08:25 am

I fear at the moment the simplest you can do is create an xml block as attribute of the frontpage class, then use a custom template for your block that will display the xml-block gotten from the same frontpage object it is on. This is of course not very flexible, as you can not have as many xml blocks as the dynamically-added ezflow blocks in the page. You might use a content edit handler or workflow event to display the xml-block editor when editing the frontpage and storing the actual xml-block contents in some offline storage (ie. custom "holder" containers), but that would most likely be a lot of work...

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.