简体   繁体   English

2SXC中的Iconsets路径

[英]Iconsets paths in 2SXC

Is possible to use the font icon picker in a regular content template? 可以在常规内容模板中使用字体图标选择器吗? I only got it to work inside 2SXC Apps but not inside regular Token Content. 我只能在2SXC应用程序内部工作,但不能在常规令牌内容中工作。 All examples I found where using the [App:Path] token to load the iconset. 我找到的所有示例都使用[App:Path]标记来加载iconset。 For regular Content Templates as there is no AppPath I tried [Portal:HomeDirectory] but I can't get it to load the icons. 对于常规内容模板,因为没有AppPath我试过[Portal:HomeDirectory]但我无法让它加载图标。 Is it limited to be used in Apps? 是否仅限于在应用中使用?

Thanks for help. 感谢帮助。

[App.Path] and @App.Path should also work on content templates, it's certainly not disabled on purpose. [App.Path]和@ App.Path也应该在内容模板上工作,它肯定不是故意禁用的。 The path will always point to the Portals/x/2sxc/Content, so you can also hardwire it - but it should work. 该路径将始终指向Portals / x / 2sxc / Content,因此您也可以将其硬连线 - 但它应该可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM