Or, There s the Extra-Easy Way


Or, There's the Extra-Easy Way

Try this: Go into PHP-Nuke's Administration menu. Click on Blocks. You'll see something like Figure 40.2. Type a name for your block. Open FrontPage or whatever HTML editor you like, and make some static HTML content. Copy the actual HTML to the system clipboard (in FrontPage, click on the Code tab, press Ctrl+A, and then press Ctrl+C). Click inside the Content box shown in Figure 40.2, and press Ctrl+V to paste the HTML code. Finish configuring the block and click Create Block.

Figure 40.2. Creating a block in PHP-Nuke.


Poof, you've just created a static HTML block with no programming at all. PHP-Nuke will display whatever you paste into the Content box, just as if you'd followed the steps I showed you earlier for creating a static HTML block. But you don't have to create a file; PHP-Nuke stores your content in the database. Which way should you use? Doesn't matter. Use whichever you like.



    PHP-Nuke Garage
    PHP-Nuke Garage
    ISBN: 0131855166
    EAN: 2147483647
    Year: 2006
    Pages: 235
    Authors: Don Jones

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net