никак не решается таже проблема:
в файле \xslt\layouts\default.xsl делаю замены такого вида
<link type="text/css" rel="stylesheet" href="{$template-resources}css/design/common.css?{/result/@system-build}" />
параметр прописан здесь \xslt\default.xsl
<xsl:param name="template-resources" />
а папку classes надо переписывать?
ошибки выдает на подключение Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: I/O warning : failed to load external entity "/public_html/templates/glu/xslt/modules/content/common.xsl" /public_html/classes/system/subsystems/umiTemplaters/types/umiTemplaterXSLT.php on line 30
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: compilation error: file /public_html/templates/glu/xslt/default.xsl line 34 element include in /public_html/classes/system/subsystems/umiTemplaters/types/umiTemplaterXSLT.php on line 30
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: xsl:include : unable to load /public_html/templates/glu/xslt/modules/content/common.xsl in /public_html/classes/system/subsystems/umiTemplaters/types/umiTemplaterXSLT.php on line 30
и так по всему что есть в default.xsl
вопрос решился, /classes/ - не нужна.
use-old-templater = "1" вроде тоже никак не влияет
Но, вот что еще меня беспокоит: <xsl:if test="$user-type != 'sv'">
<script charset="utf-8" src="{$template-resources}js/jquery/jquery-ui.js?{/result/@system-build}" type="text/javascript"></script>
</xsl:if>
, например,
по-идее должно подключать скрипты из templates/js/, а подключает из корня js или я вообще ерунду написал смешав {$template-resources} и ?{/result/@system-build}