Thanks Antti. The script is enabled and the templatePath is correct. I haven't 
changed the actual stk script though, I have created a new custom 
search-results script of my own. I am however using the stkSearchResult dialog 
and SearchResultModel. I just can't see why my page is still using the default 
stk search script when it isn't referenced anywhere that I can see.

>>> On 06/02/12 at 19:14, "Magnolia Forums (on behalf of Antti Hietala)" 
>>> <[email protected]> wrote:

Jon,

Make sure the script is enabled. There is a checkbox at the bottom of the 
script edit dialog that is easy to miss. If you don't enable the script, the 
system loads the default one from the webapp's classpath, in this case from 
inside the module JAR.

If you are not loading the script from the repository, make sure the 
templatePath property points to the correct location on the file system or 
classpath. See documentation about script loading. 

http://documentation.magnolia-cms.com/modules/samples.html#Templatescript
http://documentation.magnolia-cms.com/templating/stk/templating.html#LoadingTemplateScripts

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=77922596-4ece-4cb8-8d90-500e1360a284


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to