Is there a tutorial for Painter? (other than http://drupal.org/node/232110)
I am at stage of looking at how variables /array are stored in database
1. How is variable canvas stored and called?
2. I have tried setting page elements with varying success at www.supertrader.net using different configurations for rendering images and text (primary and secondary links, menus, logos, titles.
I am seeing 1 error message:
warning: Missing argument 2 for theme_graphical_logo() in /home/remetall/public_html/supertrader.net/sites/all/modules/painter/page_elements.module on line 426.
Although I can get logo to show .
Thanks
Comments
Comment #1
Scheepers de Bruin commentedHi Julian 5
There isn't a tutorial yet - the functionality described in the tutorial is now provided by the page elements module bundled with the painter.
I'll try to help you as far as I can.
1. The canvas is stored within a keyed array that is passed from operation to operation during the execution of the rendering chain, under key 'canvas'. This array is created within the painter_filename method. When painter_filename is done executing the chain, it saves the canvas to a file within the files/dynamic folder and returns that filename.
2. Within your template.php change the following line within your theme_logo hook (generated by the page_elements module):
to:
It's a bug in the code generation of page elements module - to be fixed in BETA5 (later today)
Comment #2
Scheepers de Bruin commentedI've updated the documentation for the Painter (http://drupal.org/node/232110) and created new documentation (with quick tutorials) for the Painter UI (http://drupal.org/node/400876) and Page elements (http://drupal.org/node/400890) modules.