Hi,
I'm new to CMS and am giving PN a go. I'm having difficulty with the concept of displaying data.
Say I have a mysql table 'testtable', how would I go about including some PHP to read this table and display results as CMS content? I'm familiar with PHP and mysql but not how to 'call' a PHP script. I don't want to link to a page - I want to display the results as inline content.
Any pointers would be much appreciated.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 10:33 PM
- 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
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
Basic concept
-
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
use the blank module to achieve this. If you really want to do something special with it, use chestnuts pncBlank module -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Nov 30, 2005
- Posts: 2
Still not understanding I'm afraid. Should I be posting to some other formum for newbies?
Can anyone tell me in simple language how I can (say) run as inline content. What are the simple steps involved? Thanks. -
- Rank: Software Foundation
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 3814
please check the Module Developer's Guide, PostNuke API Guide, Xanthia Templating Environment Guide and especially the example module for the basic principles of a postnuke module.
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
- Moderated by:
- Support
