(No) Scripts in module templates ???

Hi there,

I have searched nearly everywhere, but didn't find a brief description of how to use scripts in module-templates like in the main template-system.
Maybe it isn't supported at all, but even this information I didn't find.

What I need, is the general structure of a template's script that redefines/changes a bit of the main module, in my casee the events module of 7.1
How is the notation scheme and what dependencies are to be considered ?

Thanks a lot,

Tom

Quote · 29 Apr 2013

Hello.

 

I've been fixing Dolphin pages for 7.0.x and just started to look at the new templates for 7.1.x

From what I know from OOP each of the scripts on the template is called by Dolphin. on the ALT template most of the scripts are just a wrapper around the 'native' Dolphin Base Template scripts.

Each script on the template just creates a new class that inherits from the parent class.

If you just call the parent class the behaviour is the same. No modification.

But if you really extend the class then you can change whatever the parent class is suppose to do. You need to know in deept the class you are extending and the right functions you may override to create the effects you want.

Sorry about being too general on this subject. I'm still learning about templates and I can't find a complete tutorial on the subject. Someone wrote a Part 1 of a tutorial. Seems part 2 is still in the making.

Sorry about my english too.

PMTV FIX IT ! Trouble with Dolphin? Need support ? call me!
Quote · 7 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.