<div dir="ltr"><div>Hi Csaba,<br><br>You need to edit the ApplicationDefinition.xml via Maesto or studio,<br>inside the repository (i.e. Library:// etc ) (along side the maps, layers etc) <br><br>the one in the file system is a sample<br>

<br></div>Regards<br><br>Zac<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 2:45 AM, Csaba Janossy <span dir="ltr"><<a href="mailto:Csaba.Janossy@cadi.hu" target="_blank">Csaba.Janossy@cadi.hu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="HU"><div><p class="MsoNormal">Hi there,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">I’ve tried to change the search widget of fusion mapguide following this instruction: <a href="http://trac.osgeo.org/fusion/wiki/HowToCreateWidget" target="_blank">http://trac.osgeo.org/fusion/wiki/HowToCreateWidget</a>.<u></u><u></u></p>

<p class="MsoNormal">I have created a new search widget master type, name is searchtwo.<u></u><u></u></p><p class="MsoNormal">I have created this files for the new widget:<u></u><u></u></p><p class="MsoNormal">fusion/widgets/searchtwo<u></u><u></u></p>

<p class="MsoNormal">                viewer.css (not changed)<u></u><u></u></p><p class="MsoNormal" style="text-indent:35.4pt">errorpage.templ (not changed)<u></u><u></u></p><p class="MsoNormal">                search.php<u></u><u></u></p>

<p class="MsoNormal">                searchprompt.php<u></u><u></u></p><p class="MsoNormal">                search.templ<u></u><u></u></p><p class="MsoNormal">                searchprompt.templ<u></u><u></u></p><p class="MsoNormal">

fusion/widgets/widgetinfo<u></u><u></u></p><p class="MsoNormal">                searchtwo.xml<u></u><u></u></p><p class="MsoNormal">fusion/widgets/<u></u><u></u></p><p class="MsoNormal">                searchtwo.js<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Only one step is missing, to add the widget definition to the ApplicationDefinition.xml.<u></u><u></u></p><p class="MsoNormal">I use the slate template, so I have to define it in fusion\templates\mapguide\slate\ApplicationDefinition.xml?<u></u><u></u></p>

<p class="MsoNormal">Do anyone know - How? Because the tutorial not discuss it, without it, the master type is not working.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p>

<p class="MsoNormal">Csaba<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
fusion-dev mailing list<br>
<a href="mailto:fusion-dev@lists.osgeo.org">fusion-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer<br>Solution Architect / Director<br>Ennoble Consultancy Australia<br>+61 405 847 168<br><br>
</div>