Hello,
What is the nicest / cleanest way of making a template function
accessible across all other templates? Note that I'm not looking for a
python function but rather for a function defined within a template
accessible across all templates.
$def with (hello)
$def my_template_function(hello):
<h1>$hello</h1>
$:my_template_function()
I'd like my_template_function to be accessible across other templates.
Thank you,
Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---