[support] Making templates
Laura Scott
laura at pingv.com
Mon Nov 27 16:27:19 UTC 2006
On Nov 27, 2006, at 8:46 AM, Reynier Perez Mira wrote:
> Hi every:
> Some messages before I ask for making some changes to the
> templates. Now I have a question, in every themes directory I have
> 5 .php files: block.tpl.php, box.tpl.php, comment.tpl.php,
> node.tpl.php and page.tpl.php. Wich session use them? For example:
> Blog -> node
> Book -> node
> I need build some especific template for Blog and Articles entries
> but I don't know if modifying node.tpl.php affect other parts of
> the system.
Look in the Handbooks for the phpTemplate theme developer's guide.
You will find detailed information there.
Making custom templates for different node types is easy: node-
blog.tpl.php for blog. node-book.tpl.php for books, etc.
Hope this helps!
Laura
•)))
pingVision, LLC
4450 Arapahoe Ave, Suite 100
Boulder, CO 80303
http://pingv.com
More information about the support
mailing list