Forums / Developer / Documentation for creating custom template functions

Documentation for creating custom template functions

Author Message

Eirik Alfstad Johansen

Saturday 26 February 2005 4:40:56 am

Hi,

I was just wondering if there exists any documentation on creating custom template functions (not operators), alternatively, if anyone know of an extension containing a custom template function that I can examine.

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Gabriel Ambuehl

Saturday 26 February 2005 5:17:20 am

What are you trying to do? Personally, I couldn't really find a clear difference between operator and function...

Visit http://triligon.org

Eirik Alfstad Johansen

Saturday 26 February 2005 5:32:36 am

Hi Gabriel,

To be honest, I'm not sure about the difference between operators and functions myself, but what I need to do is create something very similar to the shop_account_view_gui function, and since that is a function, I figured that that's what I need. :)

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Gabriel Ambuehl

Saturday 26 February 2005 6:22:48 am

I never looked into the view stuff. But I thought I once came across a description of how to create your own views?

Visit http://triligon.org

Paul Forsyth

Tuesday 01 March 2005 1:02:48 pm

Hi Eirik,

I havent used those operators before but i've just noticed a good example:

http://zev.ez.no/svn/extensions/survey/trunk/

Look in the autoload directory

paul

Eirik Alfstad Johansen

Wednesday 02 March 2005 7:32:55 am

Thanks a lot, Paul. Due to time constraints, I worked around the problem using an operator, but I will definetly look into this code the next time I encounter a similar problem.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/