-
Bug
-
Resolution: Fixed
-
Major
-
4.2.3
-
None
-
4.5 RC1, 4.5 RC2
How to reproduce it :
- insert the search engine in a page and configure it in order to have articles with link view as results
- into the article's stylesheets corresponding to the view link, overide the common-content-head-css template with this content :
<xsl:template name="common-content-head-css"> <link rel="stylesheet" type="text/css" href="{ametys:skinURL('scss/index-advertisement/scss/main.css')}" media="screen, print, handheld"/> <link rel="stylesheet" type="text/css" href="{ametys:skinURL('scss/index-advertisement/scss/print.css')}" media="print"/> </xsl:template>
- preview the search results
> the css are not loaded
- into the article's stylesheets corresponding to the view link, overide the begining of common-content-body-content template with this content :
<xsl:template name="common-content-body-content"> <link rel="stylesheet" type="text/css" href="{ametys:skinURL('scss/index-advertisement/scss/main.css')}" media="screen, print, handheld"/> <link rel="stylesheet" type="text/css" href="{ametys:skinURL('scss/index-advertisement/scss/print.css')}" media="print"/> [...] </xsl:template>
- preview the search results
> the css are well loaded