Hi,
Ive notice two different methods for outputting HTML in the core modules for postnuke, the first using echo/print and the second using pnrender & Smarty.
Which is the preferred method? The second seems more fun but i think i remember seeing somewhere that using templates is now depreciated?
- 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
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 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
Standard for Module html output
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6840
echo/print hasn't been the prefered method in a long time. Prior to 750, pnHTML was the standard, which was pretty much wrappers for print/echo. As of 750, pnRender/Smarty is the method.
--
Home Page | Find on Facebook | Follow on Twitter
- Moderated by:
- Support
