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.!
--
Erik Bartels
Module Development home http://www.wolfmods.com
Homepage http://www.silver-wolf.com
- pborchelt answered »HowtoPNForms module unable to find template« 03:52h
- Teb answered »MenuTree Mystery« 05. Jul
- dks answered »include a file« 05. Jul
- dks answered ».764 -> 1.1.1, Can't add new blocks« 05. Jul
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 05. Jul
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 05. Jul
- Charlie-otb answered »SafeHTML output filter and youtube« 05. Jul
Login
Block Language defines problem.
-
- Rank: Freshman
- Registered: 07.09.03
- last visit: 20.05.06
- Posts: 20
-
- Rank: Moderator
- Registered: 19.03.02
- last visit: 27.06.09
- Posts: 7661
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. -
- Rank: Freshman
- Registered: 07.09.03
- last visit: 20.05.06
- Posts: 20
Thanks mark! Figured it would be something simple :)
--
Erik Bartels
Module Development home http://www.wolfmods.com
Homepage http://www.silver-wolf.com
- Moderated by :
- Support
Users online
This list is based on the users active over the last 60 minutes.
