Closed (fixed)
Project:
PHPTemplate
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2005 at 21:32 UTC
Updated:
1 May 2005 at 12:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
crunchywelch commentedIn fact, it is actually this patch which does this.
Comment #2
menesis commentedHow is this different from how phptemplate does that already? Except node.story.tpl.php vs. node-story.tpl.php
Comment #3
adrian commentedYeah.
There is a file parameter for phptemplate_callback, that is a 'suggested file'.. it falls back on the default hook.tpl.php (either in the theme dir, or in themes/engines/phptemplate) by default.
Comment #4
factoryjoe commentedWait, this already exists? Sweet moses, finally!
Now the next thing that you tell me is that these files are created ad-hoc by the CCK system and you can edit them via the Drupal admin UI.
...
...wait, what's that? Can you speak up a little? I can't hear...
Oh. Not there yet...
Um. Ok, thanks.
So Adrian, is this documented somewhere? I hadn't seen that functionality before -- but I was looking forward to it!
Comment #5
adrian commentedThe announcement was posted here : http://drupal.org/node/18347