The QR code module currently only supports one QR Code block on the site. In order to do additional you need to implement your own block in code and call generate manually.

I think a more sensible approach would be to provide an interface under (for example) /admin/build/qr_codes and allow users to define each block they want. Some sensible defaults could be provided (e.g. site contact info, home page, and/or current page URL).

Comments

levelos’s picture

Sounds like a solid approach, although at that point I think it should be its own module along with the existing default block we have.

claudiu.cristea’s picture

+1... Nice approach!

AlexisWilke’s picture

It would be dead easy to duplicate the existing block and have 3 of them (i.e. delta 0, 1, and 2)

The way it is now is very restrictive for non programmers (not like myself, but any one without sufficient PHP knowledge.)

Thank you.
Alexis