Welcome To Snipplr
Everyone's Recent Snippets Tagged template
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This snippet is for use with image module, a small contributed module for image handling. (Yes: in Drupal you need a /contributed/ module for this o_O.
The template snippet links the images to their own node.
2
746
posted 17 years ago by berkes
Renders the partial template called 'cart', sends along local variable @cart, this will be known locally using the same name as the partial, 'cart'.
1
760
posted 17 years ago by wackimonki
Simple templating for innerHTML functions. Parses an input string (tmpl) for %(NAME) tokens, accepts an object (ns) as data and returns an output string.
1
808
posted 18 years ago by mattgay
(Applies to the HTML_Template_IT PEAR package)
Useful script to find all global variables and put them
in a format for an array. $t is the HTML_Template_IT(X) object.
0
1142
posted 18 years ago by pckujawa
Just a simple template for the XHTML 1.0 Strict doctype. Updated with slight fix involving the meta tags.
3
1241
posted 18 years ago by 1man
You need to know about [the presence of] these to understand the processing of an XSLT stylesheet.
1
725
posted 18 years ago by greystate
A rough search form based on usage with googleboxes and xslt templates for results.
0
1896
posted 18 years ago by luxuryluke