different feed sources in the same template ( was Re: how to get the last n planet entries)

Michel Klijmij michel at klijmij.net
Sat Mar 10 02:13:03 EST 2007


Op vrijdag 09-03-2007 om 15:47 uur [tijdzone +0100], schreef Pau Arumi:
> however, i don't 
> find any documentation of TMPL_INCLUDE in the source tree (is 
> there any?). so could you provide an example? 

The full htmltmpl (which Planet uses) documentation can be found here:
<http://htmltmpl.sourceforge.net/>

My index.html.tmpl is basically this:

        <TMPL_INCLUDE head.tmpl>
        
        <body>
        
        <div id="wrapper">
                <!-- Top en navigatie -->
                <TMPL_INCLUDE top.tmpl>
        
                <!-- linkermenu -->
                <TMPL_INCLUDE links.tmpl>
        
                <!-- de berichten -->
                <TMPL_INCLUDE rechts.tmpl>
        
        </div> <!-- einde paginawrapper -->
        
        <TMPL_INCLUDE footer.tmpl>
        
        </body></html>

All the included files are in the inc/ subdirectory of the dir
containing the templates. The second planet has that inc/ directory as
output_dir so that file can be included.

-- 
Kind regards,

Michel Klijmij



More information about the devel mailing list