Fork me on GitHub

thirdparty in PN  Bottom

  • Hi all,

    I'm developing different modules in PN.
    I'd like to implement common code which can be called from all my modules.
    Where can I put my own code in PN architecture ?
    Morover, I extended PN class in includes path, Where can I put them ?

    Many thanks in advance for your help.
  • Hi and Welcome to the Zikula Community max(?) !!

    if you want to follow the architecture of Zikula instead hack it,
    you can have your own "max_mont" module with many APIs
    to be called by your other modules...

    If you're talking about the PNObject or extensions to the pnAPI
    would be nice that you tell us which extensions and which changes you're planning
    and may be we can give you adequate feedback...

    happy coding! icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Thank you.
    In fact, I have extended DBUtil. I have redefined executeSQL to add trace with debugconsole.
    For moment, I put MyDBUtil in the same as DBUtil and I have loaded class in pnAPI.php

    But I have an issue with debugconsole. If I use a function a debugconsole, setcookie fails.
    Do you know another way to put trace ?

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