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.!
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 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
Users on-line
This list is based on users active over the last 60 minutes.
