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
740
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
757
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
805
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
1140
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
1232
posted 18 years ago by 1man
You need to know about [the presence of] these to understand the processing of an XSLT stylesheet.
1
717
posted 18 years ago by greystate
A rough search form based on usage with googleboxes and xslt templates for results.
0
1891
posted 18 years ago by luxuryluke