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

eZ Community » Forums » eZ Publish 5 Platform » content_view: link (version 9.2013)

content_view: link (version 9.2013)

content_view: link (version 9.2013)

Wednesday 30 October 2013 10:21:04 am - 4 replies


i tried to override the template of a link in an xml block and added the following lines to my ezpublish yml
 ... my_siteaccess:
template:  myDemoBundle::link.html.twig
Identifier\ContentType: link
but my template is not used for the link (i want to create a file download link)
please help! 

Wednesday 30 October 2013 10:31:54 am

Hi Richard

Why do you use "link" as a view type ? Shouldn't you use "embed" instead ?

Wednesday 30 October 2013 10:42:10 am

hi jerome

thanks (again) for your fast reply
i tried it with embed as view type but it didn'T work either
any other ideas? 

Wednesday 30 October 2013 10:46:28 am

@why i used link
i tried to set a link to an ezobject (my file) and wanted to override the template to change it to a download link

Thursday 31 October 2013 10:32:26 am

Hi Richard

just a hint, I do not know if it applies to you:

In 2013.7 I needed the fix by Marco Stipek in to make content_view work.

Regards, Donat


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

36 542 Users on board!

Forums menu

Proudly Developed with from