Fork me on GitHub

pnRender and Example Module  Bottom

  • Howdy,

    I have recently (this past week, in fact) decided to setup a postnuke test site to see if it would be a good replacement for our current PHP CMS.

    I dumped it on a Win2k3 box with latest stable PHP and mysql. Got her up and running fine and really like the usergroup/permissions ordeal.

    Now, I need to see about a module. I started the Template module and it's good to go. I also found a mod (I think on this site) called Example Mod, which I installed, but it immediately began to cry about a call to an undefined class, pnRender. After more searching...I found that the pnRender class is located in some other module (whose name has no relation to pnRender, but is something like xcetera). I then began to attempt this install. When I click Initialize, that thing litterall wiped out my config.php file. I mean 0 bytes...blank. Probably some kind of fopen call, but I was hoping someone could give me a quick answer.

    Bottom line is that I want to get a foundational instance running smoothly before I begin to go tweaking things and attempting to understand module creation.

    Any assistance would be appreciated.

    JT
  • pnRender is the templating environment (based on Smarty) for PostNuke and is its own module. The example module is a module written using the functionality pnRender provides, and therefore requires the pnRender module (and the classes inside it) to function correctly. If you can access CVS, there is docbook documentation for develpers there.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Ok, so you're saying I missed a step. I needed to install the pnRender module before the Example.

    Well, I'm glad to hear it was my own idiocy at fault. I was wondering why a daggone necessary module was hidden in some other module.

    Thanks, I'll look around for that module.
  • 0 users

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