Workaround for QGIS iShare GIS Print Template Plugin issues
Unfortunately with versions of QGIS greater than 3.18 there are a couple of known issues with the plugin which require manually editing the exported HTML.
User-Editable Labels are not editable
User-Editable Labels such as Map Title are no longer editable and this is due to a missing ishare-inline-editable
class which is not included when the template is exported using the plugin. This can be fixed using the following steps.
Design your QGIS template and Export using the iShare GIS Print Template plugin
Open the HTML in a text editor such as Notepad++ and navigate to the div for your editable field, such as Enter map title in the following example
There are two things you need to do:
Add the missing ishare-edit-inline class
class="ishare-edit-inline"
Add the field Value, used to label the text entry field in the Print Options dialog (with the first letter capitalised), e.g.
so in this case you need to add##title.
before the actual text and##
after e.g##title.Enter map title##
. To end up with something like this:
Save your changes.
Issues generating an A1 Landscape PDF
When generating a PDF using A1 Landscape the output PDF is not in A1 and is not complete. It seems that the size: “A1 landscape” cannot be recognised from the generate PDF functionality. This can be fixed using the following steps.
Design your QGIS template and Export using the iShare GIS Print Template plugin
Open the HTML in a text editor such as Notepad++ and navigate to the @page object and replace
size: A1 landscape;
withsize: 841mm 594mm ;
e.g.
Save your changes.