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.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
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|