:!: First off please excuse my ignorance here, but I really don't know much of squat about PHP coding.
:arrow: I have downloaded and installed the PhotoShare module and I am trying to customize it so it will fit in with the style of the rest of my site. I'm currently using modified versions of the XpZone themes. Every module that I've tweaked uses the OpenTable() function to draw tables and the look of them are controlled by the themes. However, it appears that PhotoShare requires me to use the output->TableStart() instead. The problem here is that the table that is rendered is not controlled by each theme and instead needs to be "hard coded" in the module itself.
:?: Is there anyway the get the tables rendered by output->TableStart() to be controlled by the Themes in PostNuke?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 created topic »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 01:39 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
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. 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
OpenTable() vs. output->TableStart() ???
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 676
I'm not an expert on Modules either, but output->TableStart() is part of pnHTML (found in includes/pnHTML.php), which was supposed to make it easier and more convenient to render HTML from a module, at least for coders. Trouble is, it rather limits what you can do and renders terribly messy HTML output. TableStart simply starts a table, it's not the Opentable, just a plain HTML table. When using the pnHTML system, the OpenTable is called elsewhere, and the output is themed. This system will be superceded in upcoming versions of PN, though they will still support it.
- Moderated by:
- Support
