News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Shared template files.

Started by m3talc0re, January 28, 2007, 12:31:09 AM

Previous topic - Next topic

m3talc0re

Make the Display.template.php shared. By shared, I mean the same template for laying out the posts is used to lay out the private messages. Why? Say you have a custom field or something in the display template. Well it wont show in the pm messages unless you edit it's template file, too, which is just another template file to worry about keeping up to date.
The real hell is your life gone wrong.

Advertisement: