Installation, Configuration, & Upgrades  :: 
Is there any tutorial in order to learn how to publish a small table I made in Mysql?
 Top

  • Is there any step by step guide in order to learn how to publish a small?

    Let's say I have made a table with 5 fields
    Autonumber, Description, Telephon, Fax, Address

    How publish it in my PostNuke portal?



    edited by: vagel, Oct 27, 2006 - 07:47 AM
  • the example module might be a good starting point, see also our documentation

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Can you please suggest me a book in order to do so?
    Do I have to buy a book for PHP and mysql development?
  • Before writing a module you're going to need at least a basic knowledge of PHP and MySQL, and that's not something this forum can teach you. Buy books, read online tutorials, then when you're done try a PostNuke module.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Ok I have undestand.
    My question is
    Lets say
    I have the code for displaying data in my portal.
    I suppose it will be a piece of code in a PHP file which searching data from mysql table.
    WHERE I HAVE TO PUT THIS PIECE OF CODE.
    Do I need to make a new Module or something else and how ?

    So my question is refferring from the part of PostNuke not from the part of PHP and mysql
  • Have you looked to see if the following would work for you:

    Admin => Blocks => New Block => Core/PHPscript

    The paste your PHP into the block and configure it (left, center, right, collapsible or not, etc) as you wish?

    Peace

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • Depending on the functionality you need, is how the module is coded. If you do not understand the basics of PHP, the code will be pretty much gibberish. I have a few books which I keep on hand. PHP in 10 mins is a quick and dirty to the basics... It will help you read through the code, that is about my skill level. Do you know other programing languages, because you need some logic skills to interperate the code.

    It is not really that easy without the basics... PHP is flexible but not forgiving, while HTML is rigid, but very forgiving. So learn to crawl be for you can walk. Read, read, read, examine, examine, and examine. Oh and don't forget to compare.

    You can't program a module by magic and luck, unfortuately.

    Whatever happened to that magic ModuleMaker? (seriously didn't there use to be one?)

    --
    David Pahl
    Zikula Support Team
  • Because I'm a programmer but I have not experiment so much with PHP and mysql I'm asking from you the following.

    Lets say I already have a table table name "companies"
    with these 4 fields ID_COMP
    COMPANY_NAME
    ADDRESS
    TELEPHON
    FAX
    And my database name is XXX
    It must be a standard piece of code in PHP in order to have a look and test in my case.
    How is this piece of code ???

    I'm sure is something very usual and repetitive. Read from a database a table and show the table data in my block.

    Thanks in advance
This list is based on the users active over the last 60 minutes.