eZ Community » Forums » eZ Publish 5 Platform » Override a legacy template of the...
expandshrink

Override a legacy template of the "user" module

Override a legacy template of the "user" module

Tuesday 04 June 2013 10:51:37 pm - 1 reply

Hello everybody,

i have a litle problem with the override system. 

I need to redesign templates of "user" module also notifications templates, without create a legacy extension. 

Is it possible to using a YAML files to define the same principle as override.ini.

Replace like this

Source=user/login.tpl
MatchFile=user/login.tpl.twig

Thx for the futur answer !

Modified on Wednesday 05 June 2013 11:52:53 am by Franck Chaux

Thursday 06 June 2013 10:56:07 am

Hello Chaux,

I think the best way to solve this problem would be to create a new custom bundle resource view template using eZ Publish 5 API that displays the login form submits the the legacy stack login module view.

Otherwise I think the answer to your question was no but now is a yes. EDIT: I think Joe made a pull request that makes this possible in the latest version. See the following:

https://github.com/ezsystems/ezpublish-kernel/pull/264

http://share.ez.no/blogs/damien-pobel/twig-pagelayout-for-legacy-modules-in-ez-publish-5

Another really helpful resource available to you is the partialcontent blog by Joe Kepley:

http://partialcontent.com/code/working-with-ez-publish-5-templates

http://partialcontent.com/Code/Working-with-eZ-Publish-5-Content-Templates

http://partialcontent.com

 

I hope this helps ...

Cheers,
//kracker

THEME: Kreayshawn - Go Hard (La.La.La)
Mirror: http://goo.gl/kNCHb 

Modified on Thursday 06 June 2013 12:20:00 pm by // kracker

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from