Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I was wondering if I can render the XSLTsearch results into another XSLT file.
I currently have in my XSLT
<xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO Alias="XSLTsearch-TeacherPrograms" macroAlias="XSLTsearch-TeacherPrograms" source="-1" searchFields="gradeLevelRange,contentType,programTypeList" previewFields="bodyText,metaDescription" previewType="beginning" searchBoxLocation="none" resultsPerPage="5" previewChars="255" showPageRange="0" showOrdinals="0" showScores="0" showStats="0" > </?UMBRACO_MACRO>')" />
But when I try to view the macro on the front end on the web page it is giving me an Error parsing XSLT file: \xslt\myFile.xslt
Am I missing something?
Any help is much appreciated. Thanks.
Hi Carlos
Please don't double post :) I've answered your original post in here: http://our.umbraco.org/projects/website-utilities/xsltsearch/xsltsearch-how-to/27710-How-to-put-XSLT-search-inside-of-an-XSLT-file?p=0#comment103782
Cheers,
Jan
Sorry about that. I was just wondering if anyone else would have any ideas out in the area versus the XSLTsearch specific forums.
I will look at your answer and try it out.
Thanks again.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
XSLTsearch macro in separate XSLT file
I was wondering if I can render the XSLTsearch results into another XSLT file.
I currently have in my XSLT
<xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO
Alias="XSLTsearch-TeacherPrograms"
macroAlias="XSLTsearch-TeacherPrograms"
source="-1"
searchFields="gradeLevelRange,contentType,programTypeList"
previewFields="bodyText,metaDescription"
previewType="beginning"
searchBoxLocation="none"
resultsPerPage="5"
previewChars="255"
showPageRange="0"
showOrdinals="0"
showScores="0"
showStats="0" >
</?UMBRACO_MACRO>')" />
But when I try to view the macro on the front end on the web page it is giving me an Error parsing XSLT file: \xslt\myFile.xslt
Am I missing something?
Any help is much appreciated. Thanks.
Hi Carlos
Please don't double post :) I've answered your original post in here: http://our.umbraco.org/projects/website-utilities/xsltsearch/xsltsearch-how-to/27710-How-to-put-XSLT-search-inside-of-an-XSLT-file?p=0#comment103782
Cheers,
Jan
Sorry about that. I was just wondering if anyone else would have any ideas out in the area versus the XSLTsearch specific forums.
I will look at your answer and try it out.
Thanks again.
is working on a reply...