Fork me on GitHub

Module for external data  Bottom

  • We are contemplating a community site for our non-profit. A central feature of the site would be a membership directory, but the membership data is not nor will ever be in Zikula. My thought is to create a module that accesses that data and that data only from the external database, and then let all the other modules stay in the zikula database.

    Any thoughts on this? How to do it? Anybody done it and run into unforseen "gotcha's"?

    Thanks.
  • Totally possible...

    There's a module (simpleTemplate) that allows the calling of other module's API's within a "blank" module... I would imagine that like all other modules it recognizes plugins stored in the pntemplates/plugins folder... If that's the case you could create plugins to access the external database and process the data into pnRender/Smarty and then theoretically use it all over the site...

    You could also customize the BlankModule to suit your needs...

    The only gotcha would prob be security but if you give the script READ access only, and you just need basic access to the external DB then it shouldn't be a big issue...at least that I can see...

    --
    Burnham Racing
    Illinois Cycling Association

This list is based on users active over the last 60 minutes.