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
1292
posted 18 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
1207
posted 18 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
1229
posted 19 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
1887
posted 19 years ago by pckujawa
Just a simple template for the XHTML 1.0 Strict doctype. Updated with slight fix involving the meta tags.
3
2047
posted 19 years ago by 1man
A rough search form based on usage with googleboxes and xslt templates for results.
0
2533
posted 19 years ago by luxuryluke
The standard tag for the new class Smarty_Backoffice in my application.
0
1103
posted 19 years ago by Bunker