2
Preface - I know nothing about PN, I onley read some themes, thus I can say delirium in PN-areas... and I can make errors in XOOPS-related stuff
As I understand, there is one big difference in PN in XOOPS in theming - while PN-theme define completely view of module page, XOOPS uses multitier (2-tiers) method. I.e - common view of
all pages defined in theme - page layout design of elements (menues, blocks for content), modules templates for pages and blocks define presentation of datf for module specific objects... but wrapper of data defined in theme...
That's all about theory. let's return to your questions
Quote:
Can I do different templates for different modules?
Because module haven't template, only module's pages have templates (see above), I re-wrote it into "can he have module-specific theme changes". Yes, if with some trick we will get in theme smarty-var, which contain name of active module. Such code-snippet already exist and with it it a task of if-elseif pack inside theme for module's desing segragation
Quote:
Can blocks be assigned to a template using smarty?
Templates can and assined to block using Smarty. You can don't use smarty inside template, but it violates principles separation logic from presentation (for dinamic data you'll have to use PHP, extract and process block-data)
Quote:
Can I assigned a template to a particular block?
Must, and it's aleays done in XOOPS... you can change it, if you want, easy
Quote:
Can I set permissions using smarty within the template?
AFAIK, it's
- impossible
- useless
because permission management on block and module level is separate task outside template-design management