Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged template
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
        
        
        
            0 
        
        
            3098 
        
                    posted 11 years ago by johansonkatherine
            https://gist.github.com/4098493
(examples of use below the class code)
This class allows you to load a file of snippets that are really mini-templates copy them from your repository fill the token slots in them the with your data and render them as...
        
        
        
            0 
        
        
            2523 
        
                    posted 12 years ago by halk
            Template for for Codeigniter calendar class.  Modified from default for css styling and multiple events per table cell.
        
        
        
            0 
        
        
            1430 
        
                    posted 13 years ago by jdhall75
            imagecache preset depending on height and width of the image
        
        
        
            0 
        
        
            1314 
        
                    posted 13 years ago by hoogvlieger
            Link to the current theme / template url for use in wordpress template.
        
        
        
            0 
        
        
            1338 
        
                    posted 14 years ago by carouselcreative
            Add this to the functions.php file. Make sure the Admin Bar is set to show when viewing site. You will see in the Admin Bar the current page template that is being used.
        
        
        
            0 
        
        
            1223 
        
                    posted 14 years ago by jeremyjared74
            You can use fluid for example in oldschool plugins without using extbase.
        
        
        
            0 
        
        
            1119 
        
                    posted 14 years ago by pogosheep
            Only this portion needed
    // Add page template suggestions based on node type, if we aren't editing the node.
        if ($vars['node'] && arg(2) != 'edit') {
          $vars['template_files'][] = 'page-nodetype-'. $vars['node']->type;...
        
        
        
            1 
        
        
            1280 
        
                    posted 14 years ago by resting
            From CSS-Tricks: Shortcodes in WordPress are bits of text you can use in the content area to invoke some kind of function to accomplish certain tasks. For example, video embedding in WP 2.9+ uses the [video] [/video] shortcode. You can write your own...
        
        
        
            2 
        
        
            1476 
        
                    posted 15 years ago by cwulff
            File: /template/[mytemplate]/html/com_content/category/blog.php page...
        
        
        
            0 
        
        
            1179 
        
                    posted 15 years ago by harikaram
            Geo Mashup contextual maps display the results of a WordPress query, so they can be very useful in combination with the WordPress `query_posts` function. This example maps post with an example tag, but any call to `query_posts` could be substituted....
        
        
        
            0 
        
        
            1251 
        
                    posted 15 years ago by cyberhobo
            
