[digiKam-users] Checkboxes in HTML-Gallery

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Checkboxes in HTML-Gallery

webazubi
Hello.
Is it possible, when creating a html-gallery in digiKam, to put in the
HTML-Page a html-field like
<input type="checkbox" name="Filename" value="FILENAME.JPG">
for each picture?

I want to generate a HTML-page with a formular, where people can activate a
checkbox, if they want to order a photo.

Thanks
and sorry for my english



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

jdd@dodin.org
Le 28/03/2018 à 03:08, webazubi a écrit :
> Hello.
> Is it possible, when creating a html-gallery in digiKam, to put in the
> HTML-Page a html-field like
> <input type="checkbox" name="Filename" value="FILENAME.JPG">
> for each picture?
>
> I want to generate a HTML-page with a formular, where people can activate a
> checkbox, if they want to order a photo.
>

it should not be too difficult either to edit the html module or simply
edit the html pages (merge two pages) after export

jdd


--
http://dodin.org
Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

Gilles Caulier-4
...or to use xstl syntax in html generator. This tool use xstl template as theme in background which can be customized. Look here :


Gilles Caulier

2018-03-28 8:54 GMT+02:00 [hidden email] <[hidden email]>:
Le 28/03/2018 à 03:08, webazubi a écrit :
Hello.
Is it possible, when creating a html-gallery in digiKam, to put in the
HTML-Page a html-field like
<input type="checkbox" name="Filename" value="FILENAME.JPG">
for each picture?

I want to generate a HTML-page with a formular, where people can activate a
checkbox, if they want to order a photo.


it should not be too difficult either to edit the html module or simply edit the html pages (merge two pages) after export

jdd


--
http://dodin.org

Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

webazubi
Thank you. Yes, it seems to go - in principle.

But why doesn't appear the filename, when I write this in template.xsl ?

<div id="content">
<div id="image"><input type="checkbox" name="Filename" value="{fileName}" />
<p>"{full/@fileName}"</p>

The name of the file is not shown and is not in the value of the checkbox.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

webazubi
In reply to this post by Gilles Caulier-4
Ah, found the solution.

<input type="checkbox" />"<xsl:value-of select="title"/>"

I think I change to digiKam!



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

webazubi
Oh sorry, that was to early. If I put
<xsl:value-of select="title"/>"
into the HTML-Code of the Checkbox, then I get an Error.
This here is wrong:
<input type=&quot;checkbox&quot; value=&quot;&lt;xsl:value-of
select=&quot;title&quot;/>"/>"

Can you help me with the right syntax for mixing XML and HTML?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Checkboxes in HTML-Gallery

webazubi
Here ist the right code:

<input type=''checkbox''>
  <xsl:attribute name=''value''>
  <xsl:value-of select=''title'' />
  </xsl:attribute>
</input>



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html