Hey all so I have been messing around with JS and the PN system and for the life of me it seems that PN does some crazy stuff and makes things not work the way they should in both IE and Mozilla. I was pointed to this article How do I include a j…t file in my module by jediping, now I took this example and executed on it yet to my dissapointment no dice the JS doen't even run in either browser anymore. I then start the process of debugging and try different things, and decided that if I do a print/die statement inside the Smarty function this should give me something in return ( jediping tested this theory for me and it work ) I get nothing in return, so with that said how can one trace the plugin fuction to find a root error as I am now lost as to why the function is not working this article has the code in it if you would like to review JavaScript, Post…, and IE...HELP....
Thanks all
-SUNADMN
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
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
Smarty Plugin testing????
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 379
I think if you don't get any dying of your plugin, then it's because it isn't being called. Which means that you need to debug the plugin. Don't forget to change plugin names to have your module name. Like this:
from : function smarty_function_projectadditionalheaders
to: function smarty_function_pnChangeadditionalheaders
- Moderated by:
- Support
