Tuesday 08 July 2003 12:56:24 am
Alex, There are many ways to use ez 3 to include your own php. Modules allow the grouping of functions, operators and scripts under one area, ie content, shops, users and so on. Within modules you have your functions which retreive information using the fetch command, and operators allow an abitrary block of php code to be run. If you have a lot of similar functionality to implement a module should be written. http://ez.no/sdk/ezutils/view/module_handling/ gives some explanation about to start one off. For your browser code it seems an operator is maybe the best way to proceed. For example you could call your operator by using {$browser_id} in your template. Look in the contributed code section at operators like:
http://ez.no/developer/ez_publish_3/contributions/ezipcountry_operator http://ez.no/developer/ez_publish_3/contributions/glossary_operator and see how they add operators to ez. With this operator you could run your browser code, prepare the html, and return the output. Start with this and then see if you need more. Paul
|