<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-reply;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@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'>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@01D4B891.E8EE3140" 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 <sanna@gispo.fi> <br><b>Lähetetty:</b> 29. tammikuuta 2019 13:04<br><b>Vastaanottaja:</b> Keijo Kangas <keijo.kangas@kuntotekniikka.fi><br><b>Kopio:</b> Oskari-user@lists.osgeo.org<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-right:0cm'><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@01D4B891.E8EE3140" 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>