Block Language defines problem.  Bottom

  • I'm working on some blocks for my WolfPixl module, The blocks seem to work fine but I cannot get the language defines to be picked up for the life of me.

    Currently they are in pnblocks.php (as shown in the Example module), i tried copying it to global.php and pnglobal.php with no luck.

    File permissions are all the same, and everything appears normal inside the define file(most is copied from the working user.php defines).

    My site is http://www.wolfmods.com , the two blocks are currently active on the left hand side.


    Thanks for any assistance you can provide.!
  • The block language file (as per the example module) is [block key].php so the example modules first block uses the language file first.php. Alternatively you can load the user language file to avoid redefining things using pnModLangLoad.e.g.

    Code

    pnModLangLoad('Example', 'user');


    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks mark! Figured it would be something simple :)

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