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 » eZ Publish 5 Platform » Use XSL by siteaccess
expandshrink

Use XSL by siteaccess

Use XSL by siteaccess

Friday 23 May 2014 5:22:13 pm - 2 replies

Hello everybody,

I want to use differents XSL stylesheets according to differents siteaccess. I've declared differents XSL stylesheets by bundle (services.yml using ezpublish.fieldType.ezxmltext.converter.html5.resources) but only the last one is loaded.

Is there any way to use differents XSL according to siteaccess ?

Best regards,

 

Friday 23 May 2014 5:40:40 pm

Hi Sharkvio

The way you're currently doing is actually wrong because this way you completely override the built-in XSL stylesheets. Take a look at the custom tag documentation in the cookbook and you'll see that you can configure your custom stylesheets by siteaccess, via semantic configuration.

Have a nice week-end !

Friday 23 May 2014 5:46:05 pm

Hi Jérôme,

You're my hero ! Thanks a lot.

Have a nice week-end too ! happy.gif Emoticon

Modified on Friday 23 May 2014 5:46:23 pm by Sharkvio *

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from