PDA

View Full Version : module templates & content preview


Decipher
04-26-2007, 08:17 PM
Hi There
I was wondering if anything has been developed in the areas of selecting different templates per module. If I've worked it out correctly, template names are defined within the modules' corresponding php files, and there is no way to change the template names other than editing the php file, or is there a way of achieving this?
If something like this does not exist I would like to have a bash at achieving this, but had to ask first to prevent wasting my time ;)

I also wanted to ask if any hacks have been made that will allow the BB code content to be previewed before saving? I think such a feature would be so useful, as I add a lot of design features through the BB code and would love to preview the code before saving..

Any help or suggestions would be greatly appreciated.
Many thanks, Rich :cool:

Brian
04-27-2007, 10:41 AM
It may not be for the same purpose you're referring to, though the next release will give you options to switch between and "expanded" and "lean" version of the templates for the recent threads, news archive, and welcome block module. Otherwise though, template names are speficied within the module's PHP code.
I do have a note on my to-do list to try and give a preview option for bb code modules/pages, but I can't promise that will make it into the next version yet. As far as I'm aware, no hacks have been released for something like that.

Our Sponsors
 

Decipher
04-27-2007, 05:27 PM
Yes that will be a useful feature, but I want to specify what exact templates the module uses. Ofcourse, I can use the same module php and change the template names within, but I reckon it will sooo much more useful for the module to use different template names. Sommin on the lines of being able to copy the vba module to a new module, using the same module php file, but specifying the template within the module options. So no need to edit the php file to change template names.
I would like to develope this, add my worth to this project, at least it will be useful to me. I will have a bash at this tomorrow, its quite exciting infact.

With regards to content preview, I would also like to develope this hack, sometime in the future though, it's not a train smash at this stage.

I will post my progress with regards.

Thanks for your reply :)

BTW when is the next version being released?

Brian
04-28-2007, 12:17 PM
BTW when is the next version being released?
It's very close to being ready, so I would think we will have it publically available in the next couple of weeks.