<div dir="rtl"><div class="gmail_default" style="font-family:tahoma,sans-serif"><div class="gmail_default" dir="ltr">Thanks Phil,</div><div class="gmail_default" dir="ltr">This really helped and solved the problem.</div><div class="gmail_default" dir="ltr"><br></div><div class="gmail_default" dir="ltr">However I have some issues:</div><div class="gmail_default" dir="ltr"><br></div><div class="gmail_default" dir="ltr">I worked according to your instructions and updated the index.html file - It solved the problem.</div><div class="gmail_default" dir="ltr">But when I publish again the web map, I get a new index.html file without this manual update.<br></div><div class="gmail_default" dir="ltr"><br></div><div class="gmail_default" dir="ltr">I looked to the link you sent me in github. They discuss there doing this kind of manual update in the template. So I went to the templates files in C:\Users\username\.qgis2\qgis2web\templates folder and made this manual update in the template files.</div><div class="gmail_default" dir="ltr">This solves the problem when I re-publish the map.</div><div class="gmail_default" dir="ltr">But it doesn't solve the problem when I make an update in the map and save it in QGIS Desktop.</div><div class="gmail_default" dir="ltr"><br></div><div class="gmail_default" dir="ltr">I guess a solution for this requires an enhancement in QGIS Desktop.</div><div class="gmail_default" dir="ltr">Per your advice I opened a new enhancement request on github.</div><div class="gmail_default" dir="ltr"><br></div><div class="gmail_default" dir="ltr">Thanks again</div><div class="gmail_default" dir="ltr">Yossi</div><div><br></div></div><br><div class="gmail_quote"><div dir="rtl">בתאריך יום ה׳, 2 באוג׳ 2018 ב-11:19 מאת Philip Barlow <<a href="mailto:philipb@pembrokeshirecoast.org.uk" target="_blank">philipb@pembrokeshirecoast.org.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div class="m_-3247187183648757050m_3827148827889099703WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Yossi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You could just add something like this to the index.html output at the bottom between </script> and the </body>?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></div><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <div style="position: fixed; left: 100px; top: 20px; background-color: white; opacity:0.6; padding:0px;z-index:2;"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <h1>Your title</h1><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </div><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The z-index is important, make sure you add it to the div id for the map or else your title will be underneath your map and you won’t see it.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Like this:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><div id="map" style=<b>"z-index:1;"><u></u><u></u></b></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You’ll find some more info here:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="https://github.com/tomchadwin/qgis2web/issues/415" target="_blank">https://github.com/tomchadwin/qgis2web/issues/415</a>
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You could put in an enhancement request on github?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope this helps.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Phil<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Qgis-user [mailto:<a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Yossi Rokni<br>
<b>Sent:</b> 02 August 2018 06:57<br>
<b>To:</b> <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> [Qgis-user] Fwd: QGIS web map - add author name<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I created my first web map in QGIS, using the good instructions in this web page:</span><span style="font-family:"Tahoma","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222"><a href="https://www.qgistutorials.com/en/docs/web_mapping_with_qgis2web.html" target="_blank"><span style="color:#1155cc">https://www.qgistutorials.com/en/docs/web_mapping_with_qgis2web.html</span></a></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">I want to add a fixed text
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">(such as author's name)
<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">at the bottom of the map.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">Is it possible to do it by updating the file qgis2web.js or any other way?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">I am not familiar with java script - it would be great if you could provide me
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">an example of
<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">the relevant <span style="background:white">java script</span> command that I need to add into <span style="background:white">qgis2web.js.</span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">Some more details:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">I use QGIS version 2.18 (I tried using QGIS 3.0, but I couldn't create a web map in this version).<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222;background:white">I created the web map using qgis2web plugin.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">Thanks<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#222222">Yossi<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed">
<span dir="LTR"><u></u> <u></u></span></p>
</div>
</div>
<p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed">
<span lang="AR-SA"><br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed">
<span lang="AR-SA"><u></u> <u></u></span></p>
</div>
</div>
</div>
<p align="left">Mae'r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg</p>
<p align="left">The Authority is happy to communicate in Welsh or English<br></p>
<div>***********************************************************************
</div>
<div>Website <a href="http://www.pembrokeshirecoast.org.uk" target="_blank">www.pembrokeshirecoast.org.uk</a></div>
<div>Follow us on <a href="http://twitter.com/PembsCoast" target="_blank">Twitter</a> </div>
<div>Join us on <a href="http://www.facebook.com/group.php?gid=26330984774&ref=ts" target="_blank">Facebook</a></div>
<div>Watch us on <a href="http://www.youtube.com/user/pcnpa2008#p/u/0/Tw8Udou0p5k" target="_blank">Youtube
</a></div>
<div>Look at us on <a href="http://www.flickr.com/photos/pembrokeshirecoast/" target="_blank">Flickr</a></div>
<div> </div>
<div> </div>
<div>This email and any attached files should only be read <font face="Arial">by</font> those persons to whom<br>they are addressed and be used by
them only for their intended purpose.<br>If you are not the intended recipient
please destroy all copies and inform the<br>sender by return
email.<br><br>Please note that the contents of this email may be subject to
public disclosure <br>under the Freedom of Information Act 2000 and therefore
the confidentiality of <br>this message and any reply cannot be
guaranteed.</div>
<div> </div>
<div><a href="http://www.pembrokeshirecoast.wales/default.asp?PID=413" target="_blank">Click
here</a> to view PCNPA Privacy Notice – Keeping your Information Safe</div>
<div><br>For further information on the PCNPA please visit our website at <a href="http://www.pembrokeshirecoast.org.uk" target="_blank">www.pembrokeshirecoast.org.uk</a></div>
<div><br>Please consider the environment before printing this email.<br><br>Dim
ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw ffeiliau sydd
<br>ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y
bwriadwyd hwy. <br>Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech
gystal â dinistrio pob copi a rhoi <br>gwybod i'r anfonwr gyda throad yr
e-bost.<br><br>Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael
ei ddatgelu i'r cyhoedd o <br>dan Deddf Rhyddid Gwybodaeth 2000 ac felly ni
ellir gwarantu cyfrinachedd y neges hon <br>nac unrhyw ateb. <br><br><a href="http://www.pembrokeshirecoast.wales/default.asp?pid=413&LangID=2" target="_blank">Cliciwch
yma</a> i weld Hysbysiad Preifatrwydd APCAP - Cadw eich Gwybodaeth yn Ddiogel
</div>
<div><br>Am ragor o wybodaeth am APCAP ymwelwch â'n gwefan ar <a href="http://www.arfordirpenfro.org.uk" target="_blank">www.arfordirpenfro.org.uk</a>
<br><br>Ystyrier yr amgylchedd cyn argraffu'r e-bost hwn os gwelwch yn
dda.</div>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="rtl" class="m_-3247187183648757050gmail_signature" data-smartmail="gmail_signature"><div dir="rtl"><div><font color="#3366ff">בברכה</font></div>
<div><font color="#3366ff"> יוסי רוקני</font></div></div></div></div>