This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Last content block with new type of...
expandshrink

Last content block with new type of content

Last content block with new type of content

Thursday 24 February 2011 11:13:31 pm - 2 replies

Hi,

I've created a new type of content (class) and I've created some objects of this class. Then I've put last content block in main page. Appears several blocks, as it found objects, but they are empty. In contrast, if I display articles, it works.

What am I doing wrong?

Thanks,

David

Wednesday 28 August 2013 9:35:04 pm

Hi, I'm having the same problem and spending hours looking for a solution. Anyone can help me with the solution please.

Thursday 29 August 2013 9:36:43 pm

Hi,
I already solved my question posted before.
Actually it was an override problem. All I had to do was to define my new content Class "block_item" view in the file override.ini, like this:

[block_item_<MyContentClasName>]
Source=node/view/block_item.tpl
MatchFile=block_item/<MyContentClasName>.tpl
Subdir=templates
Match[class_identifier]=<MyContentClasName>

 

Hope this can help anyone else...

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from