typo3 - How to render backend templates of Mask extension's element from different path for each site root? - Stack Over

My typo3 version is 12.4 . First, I searched to set different paths of front-end template of mask eleme

My typo3 version is 12.4 . First, I searched to set different paths of front-end template of mask element which I get by following code:

lib.maskContentElement.templateRootPaths {
    20 = EXT:sitepackage/Resources/Private/Mask/Frontend/Site2/Templates
}

Reference Link:

Now, I want to set path of Backend Templates path.

I tried to get my requirement using Page TSconfig code: Refference Link: :confval-mod-web-layout-tt-content-preview

mod.web_layout {
  tt_content {
    preview {
      mask_hero_element = EXT:my_site/Resources/Private/Mask/Backend/Templates/HeroElement.html
    }
  }
}

But, this is not working anymore.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745099611a4611193.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信