4
Don't know if this is right or not to be honest
BUT
Most modules do indeed seem to have templates which they install into the template set when we install the module.
While the module Tutorials (I think authored by someone in Germany?) does have templates already, it does do things a bit differently.
Quote:
1. Why does this module ask my to provide a template? - every other module I have installed has obviously used the default template set. Does this module not fit those ones?
Each module adds its own default templates to the default template set when you install the module.
Tutorials has its own templates but they are not accessed the same way as other modules.They do not appear in the set and cannot be played with that way.
It does have default templates so you do not HAVE TO provide template code. The default is to provide nothing and it will use its own in-built templates like other modules.
Quote:
2. Once I have a template how do I tell My Tutorials module to use it - simply paste in the template code I create? Or Will I have to ftp the template file to XOOPS - if so where so that my tutorials will use it.
Within the admin section of the module Tutorials -
General Config it allows you to input your own template code for each of three sections.
1.categories
2.Tutorials
3.tutorial content
Each of these then has a
checkbox to activate your code to supercede the original template.
So, if you do make a nice template, just paste it into the appropriate area and then check the box that says 'aktivate' then this i.e. your inputted code will become the default template.
In short, I do not think it is very different to other modules really, it just allows you to input template code in another area as opposed to the normal place...
Actually it is quite nice in one way because you can turn new ideas on and off just by checking the box, this means you can have some code that still needs work , leave the box unchecked to let the default template run and return to your code when you have time...
hth