Author Topic

Ivo Lukac

Wednesday 27 October 2010 7:40:03 am

Comment63162

"

YACT

I know how to do this for a module but I was wondering is this possible with a datatype. Because I can create my module, define a function to fetch some content, in template I can get it via $view_parameters and call to appropriate fetch function defined in a module. - am I rignt? - but I wanted to know is it posible somehow with a datatype...
Like for example here: http://www.vlada.hr/hr/preuzimanja/(class)/file,audio/(year)/2010/(month)/1 is this a module or what? :)

"

Hehe YACT :)

Seems that we need to first define what you mean when you say datatype. Because datatype in eZ is a building block for classes. E.g. ezimage, ezstring, etc. What do you mean when you say datatype?

In the example we used just simple $view_parameters variable in template...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac