You feel so strongly about this "need to break the homepage into small templates" that you bolded it... I don't understand why you need to do that. Perhaps you are going about it backwards?
If I have to do a complicated page, I do a mock up (I have to plug TopStyle Pro here... it's a great editor for XHTML if you're a windows user....) that looks exactly like I want the page to look when it is dynamically generated.
Then.... well, my work is just about done. I replace the mock up data with TMPL_VAR and TMPL_LOOPs and then write some perl that does all the right stuff to populate those variables.
I don't have to split my XHTML pages into tiny bits, so I don't understand why you would have to be splitting your templates into tiny bits!?
Apsyrtes
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.