Hi, is it possible to use the modalframe-page.tpl.php for a special content type?
I tried this:
modalframe-page-blog.tpl.php
But it seems that this doesn't work...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 935734-modalframe-page-alternatives.patch | 808 bytes | hanoii |
Comments
Comment #1
markus_petrux commentedNope. This tpl does not provide the same variants as page.tpl.php. We need a patch here.
Comment #2
hanoiipatch coming in, this should do it, haven't tried it on a content-type, but this should give all variants.
Comment #3
dsnopekGreat idea!
I tested this patch and it does in fact work beautifully for all the page-*.tpl.php alternatives. It won't help the original poster, because actually Drupal 6 doesn't actually provide template suggestions for node type on 'page' - only on 'node'. Although, some themes might support that and I'm not sure if this patch will work with them.
I would have committed this except that the Drupal 7 implementation will have to look totally different. Let's get a D7 version working first!