<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.Shkpostityyli18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;}
span.Shkpostityyli19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.Shkpostityyli21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FI link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Thank you for this information. This link also provided important information for planning Oskari web map production server implementation.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Keijo Kangas<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;background:white'>+358 40 480 9035<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Sovelluskehittäjä<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.kuntotekniikka.fi/">www.kuntotekniikka.fi</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.facebook.com/kuntotekniikka">www.facebook.com/kuntotekniikka</a><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=310 height=52 style='width:3.2291in;height:.5416in' id="_x0000_i1027" src="cid:image001.png@01D4BA14.3FBC3C00" alt=kt><o:p></o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Lähettäjä:</b> Mäkinen Sami (MML) <sami.makinen@maanmittauslaitos.fi> <br><b>Lähetetty:</b> 30. tammikuuta 2019 14:06<br><b>Vastaanottaja:</b> Keijo Kangas <keijo.kangas@kuntotekniikka.fi>; 'Sanna Jokela' <sanna@gispo.fi><br><b>Kopio:</b> Oskari-user@lists.osgeo.org<br><b>Aihe:</b> VS: [Oskari-user] Custom infobox popup contents and style<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-US'>Great! </span><span lang=EN-US style='color:#1F497D;mso-fareast-language:EN-US'>However you might want to move any custom CSS definitions to ”overwritten.css” in the app directory or link another CSS-file on the HTML is you have a customized version. Not sure which version of Oskari you are using but the latest versions support separating app-specific frontend code to another repository. This should be very helpful when you want to update the Oskari version and lets you clearly see what’s customized on your app (also managing it in version control separate from Oskari code). There’s a brief description how to do this on an earlier message in the list: <a href="https://lists.osgeo.org/pipermail/oskari-user/2019-January/000131.html">https://lists.osgeo.org/pipermail/oskari-user/2019-January/000131.html</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D;mso-fareast-language:EN-US'>           Sami<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Lähettäjä:</b> Oskari-user [<a href="mailto:oskari-user-bounces@lists.osgeo.org">mailto:oskari-user-bounces@lists.osgeo.org</a>] <b>Puolesta </b>Keijo Kangas<br><b>Lähetetty:</b> 30. tammikuuta 2019 11:50<br><b>Vastaanottaja:</b> 'Sanna Jokela' <<a href="mailto:sanna@gispo.fi">sanna@gispo.fi</a>><br><b>Kopio:</b> <a href="mailto:Oskari-user@lists.osgeo.org">Oskari-user@lists.osgeo.org</a><br><b>Aihe:</b> Re: [Oskari-user] Custom infobox popup contents and style<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Sanna,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Thank you for your reply. I edited file ”Oskari/resources/css/portal.css” to create custom style for infobox popup content. Also learned that using Oskari RPC it is possible to create customized content for infobox popup content.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Keijo Kangas<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;background:white'>+358 40 480 9035<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Sovelluskehittäjä<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.kuntotekniikka.fi/">www.kuntotekniikka.fi</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.facebook.com/kuntotekniikka">www.facebook.com/kuntotekniikka</a><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=310 height=52 style='width:3.2291in;height:.5416in' id="Kuva_x0020_1" src="cid:image001.png@01D4BA14.3FBC3C00" alt=kt><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b>Lähettäjä:</b> Sanna Jokela <<a href="mailto:sanna@gispo.fi">sanna@gispo.fi</a>> <br><b>Lähetetty:</b> 29. tammikuuta 2019 13:04<br><b>Vastaanottaja:</b> Keijo Kangas <<a href="mailto:keijo.kangas@kuntotekniikka.fi">keijo.kangas@kuntotekniikka.fi</a>><br><b>Kopio:</b> <a href="mailto:Oskari-user@lists.osgeo.org">Oskari-user@lists.osgeo.org</a><br><b>Aihe:</b> Re: [Oskari-user] Custom infobox popup contents and style<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Hi Keijo!<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Related to this issue, we examined a possibility to create a tool for modifying your own datasets and the attribute dialog in Oskari: <a href="http://www.gispo.fi/en/news/donate-to-oskari-myplaceimport-development/">http://www.gispo.fi/en/news/donate-to-oskari-myplaceimport-development/</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also I think the only way for now is to use and configure the pop-up info template from the source: e.g. in GeoServer you can modify the templates for GetFeatureInfo requests and choose which attributes are shown and how. There was something about removing all the additional formating considering the templates in Oskari, or do I recall wrong. It had something to do with the fact that certain pop-up-info templates messed up with Oskari UI.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>RPC could be a possibility also, there you can modify the info-pop-up the way you like. Developers might have some ideas about this more than me. Kela made their own pop-up dialogue with RPC <a href="https://www.kela.fi/palvelupisteen-haku">https://www.kela.fi/palvelupisteen-haku</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Interested to hear your thoughts / development on this!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Br,<o:p></o:p></p></div><div><p class=MsoNormal>Sanna <o:p></o:p></p></div></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Tue, 29 Jan 2019 at 12:37, Keijo Kangas <<a href="mailto:keijo.kangas@kuntotekniikka.fi">keijo.kangas@kuntotekniikka.fi</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>How can I edit Oskari web map infobox popup content and style of the popup window contents? Also interested to know if it’s possible to hide some elements from the popup contents window using RPC or using custom CSS style?<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif'>Keijo Kangas</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif;background:white'>+358 40 480 9035</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif'>Sovelluskehittäjä</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif'><a href="http://www.kuntotekniikka.fi/" target="_blank">www.kuntotekniikka.fi</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial",sans-serif'><a href="http://www.facebook.com/kuntotekniikka" target="_blank">www.facebook.com/kuntotekniikka</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=310 height=52 style='width:3.2291in;height:.5416in' id="gmail-m_-2149176298302049373Kuva_x0020_1" src="cid:image001.png@01D4BA14.3FBC3C00" alt=kt><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>Oskari-user mailing list<br><a href="mailto:Oskari-user@lists.osgeo.org" target="_blank">Oskari-user@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/oskari-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/oskari-user</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><p class=MsoNormal><span style='font-size:12.0pt'>Sanna Jokela<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:7.5pt'>GIS specialist / Oskari communication coordinator</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:7.5pt'>Gispo Ltd</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:7.5pt'>+358 407664607</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:7.5pt'><a href="http://www.gispo.fi/" target="_blank"><span style='color:#1155CC'>www.gispo.fi</span></a> </span><o:p></o:p></p></div></div><div><p class=MsoNormal><span style='font-size:10.0pt'><a href="https://community.oskari.org" target="_blank">https://community.oskari.org</a>   </span><o:p></o:p></p></div></div></div></div></div></div></body></html>