How to create a block in PHP-Nuke
In this article I'll show you how you can create a new block in PHP-Nuke, this will allow you to add several different types of content to your website.
PHP-Nuke block types
In PHP-Nuke there are 3 different block types that can be used to display content on your website.
|RSS/RDF||These blocks allow for information to be pulled in remotely from other sources and displayed on your website.|
|Content||A block of content simply allows you to enter in simple text or HTML to be displayed on your website.|
|Files||A file block allows you to execute a script such as grabbing information from the database to display on your website.|
Creating a new block
Using the steps below I'll walk you through creating a new Content block to display a text notice on our website.
- Login to your PHP-Nuke admin dashboard.
- Click on the Blocks icon.
- Scroll down the page till you see the Add a New Block section, then you can begin entering in content.
In this case I'm naming my block Notice, and simply making it a Content block by just typing in some text of This is an important notice!.
I've also set the Position to Right, and left all the other options at the defaults.
You should see above the new block we're creating, all the previous blocks and their positions, because we're setting this new block's Position to Right it is going to be the 8th block on the right side, as the Information block was already number 7.
Finally click on Create Block at the bottom.
- Now if you go to your main PHP-Nuke site, you should see our new Notice block as the last block on the right-hand side.
You should now understand what a block is in PHP-Nuke, and how you can add a new one to get extra information to display on your website.
Support Center LoginOur Login page has moved, Click the button below to be taken to the login page.
Social Media Login
PHP-Nuke Modules and blocks
|1.||How to create a block in PHP-Nuke|
|2.||How to manage modules from the sidebar|
|3.||Add new custom module in PHP-Nuke|
|4.||Removing Modules from the Menu PHP-Nuke|