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.!
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn created topic »TagIt 3.0 for Zikula« 09:34 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Block Language defines problem.
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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.
- Moderated by:
- Support
