Fork me on GitHub

unknown themeheader() function in wrtting a module  Bottom

  • hi
    i am wrtting a new module.
    when i include header.php in it,it display error about unknown themeheader() function.
    i dont use the pnadmin... pnuser... module writting template.just some simple PHP files but i want to have access to some PN functions like pnConfigGetVar.
  • If you want to write a Zikula module, you should use pnuser/pnadmin functions; this will automatically include your theme header/footer/etc. in your page ... anything else is really just an ugly hack that you can't rely on working properly ...

    Greetings
    R

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