In Post Nuke Events Registration Module I'm trying to output the email address of individual registrants. I'm gagging the system with the "@"symbol and don't know what to do about it.
The code line is: $row[3] = $output->BoldText(pnVarPrepForDisplay($registration['regemail']));
The output at the client end should be: aa5rd@tx.rr.com, but is rendered with the characters before and after the @ symbol and the @symbol itself as ASCII character entities.
I suspect that the pnVarPrepForDisplay command is not doing it's job - I've experimented with pnVarPrepHTMLDisplay with the same results.
Any suggestions?
Roger
edited by: rady, Jul 22, 2009 - 03:06 PM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. 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
outputting email address
-
- Rank: Registered User
- Registered: Jan 30, 2009
- Last visit: May 05, 2010
- Posts: 8
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Quote
Post Nuke Events Registration Module
Postnuke is no longer supported. Please upgrade to Zikula.
Additionally, what module are you referring to? -
- Rank: Registered User
- Registered: Jan 30, 2009
- Last visit: May 05, 2010
- Posts: 8
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Registered User
- Registered: Jan 30, 2009
- Last visit: May 05, 2010
- Posts: 8
In the unlikely event someone else has this coding problem, the line that works is:
$row[3] = $output->BoldText($registration['regemail'], '', 75, 255);
Roger -
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
- Moderated by:
- Support
