<div dir="ltr">Hi Joshi,<div><br></div><div>first thing to do is to update the Javascript code. GeoExplorer used by GeoNode is quite far from the original boundless SDK, abandoned several years ago.</div><div><br></div><div>The source code can be downloaded here</div><div><br></div><div><a href="https://github.com/GeoNode/geoexplorer">https://github.com/GeoNode/geoexplorer</a><br></div><div><br></div><div>(be careful to git update the submodules also)</div><div><br></div><div>To add new features and/or plugins you need to modify build.cfg and build-debug.cfg</div><div><br></div><div>To rebuild the packages you need to run "ant" from the root folder</div><div><br></div><div>Ant will create two JS files under "geoexplorer\build\geoexplorer\WEB-INF\app\static\script"</div><div><br></div><div>1. GeoExplorer.js is the obfuscated and compacted version</div><div>2. GeoExplorer-debug.js it the clear version (useful to debug things during development)</div><div><br></div><div>To debug the Javascript you can simply change the GeoNode template "geo_header.html" and make it pointing to your debug version</div><div><br></div><div>e.g.:</div><div><br></div><div><div><!-- script src="{{ STATIC_URL }}geoexplorer/script/GeoExplorer.js?v={{ VERSION }}" type="text/javascript"></script --></div><div><b><script type="text/javascript" src="/path_to_/GeoExplorer-debug.js"></script></b></div></div><div><br></div><div>Once you are happy with your changes and want to create a new version on Pypi you need to do two things:</div><div><br></div><div>1. Commit your updates to <a href="https://github.com/GeoNode/geoexplorer">https://github.com/GeoNode/geoexplorer</a></div><div>2. Commit your new compiled JS files to <a href="https://github.com/GeoNode/django-geoexplorer">https://github.com/GeoNode/django-geoexplorer</a> into <a href="https://github.com/GeoNode/django-geoexplorer/tree/master/geoexplorer/static/geoexplorer/script">https://github.com/GeoNode/django-geoexplorer/tree/master/geoexplorer/static/geoexplorer/script</a></div><div>3. Update the version of <a href="https://github.com/GeoNode/django-geoexplorer/blob/master/setup.py">https://github.com/GeoNode/django-geoexplorer/blob/master/setup.py</a></div><div>4. Commit the new package on Pypi</div><div>5. Update the GeoNode dependencies</div><div><br></div><div> - <a href="https://github.com/GeoNode/geonode/blob/master/requirements.txt#L36">https://github.com/GeoNode/geonode/blob/master/requirements.txt#L36</a></div><div> - <a href="https://github.com/GeoNode/geonode/blob/master/setup.py#L134">https://github.com/GeoNode/geonode/blob/master/setup.py#L134</a></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Once you are happy with your changes</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-03-06 10:06 GMT+01:00 Joshi, Jigeeshu <span dir="ltr"><<a href="mailto:Jigeeshu.Joshi@ils-forschung.de" target="_blank">Jigeeshu.Joshi@ils-forschung.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-IN" link="blue" vlink="purple">
<div class="m_-3259392177610440339WordSection1">
<p class="MsoNormal">Hi All, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I want to add some features in Map viewer (Geoexplorer) in Geonode (like
<i>info widget</i> which describes the map/project) . Can anyone guide me how this could be done?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">From the post I have referred so far I understood that-  we need to build geoexplorer  viewer from Boundless sdk locally. Add/develop all functionalities/plugins required and then integrate/overwrite into Geonode as a new Map Viewer. Is
 this correct?  Can you provide more info on how this could be achieved. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Or is it possible to add plugins directly to the existing geoexplorer in Geonode ? More info... ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am unable to find sufficient information on internet to go ahead with the task. Your help will be appreciated.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959">Thanks!<u></u><u></u></span></b></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959">Jio</span></b><span style="font-size:9.5pt;font-family:"Arial","sans-serif";color:#222222"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>