Making a New Block - a Mini Tutorial

So, how do we enter our content using a particular module? One of the nice things about phpWebSite is that the module interfaces are all very consistent. Content is entered via easy to use web forms. As an introduction, let's make a new Block using Block Maker.

Log on to your phpWebSite installation using the User-name and Password you set during installation, or that your web administrator has provided you. Appalachian State University users should use the departmental training area that has been installed. If you don't have phpWebSite installed, you can use the phpWebSite public demo at http://phpwebsite.appstate.edu/demo/0.9.x/

Once logged in, click on the "Control Panel" link in your administrative menu. This will open the main main administrative menu. Click the "Site Content" tab. You should see the main site content module group. Depending on your installation, you may not have all the modules that are shown here, but in all likelihood, Block Maker is installed, as it a simple and extremely useful module!

Click the icon or the "Block Maker" Link to open the Block Maker interface. Choose "Create a New Block" from the Block Menu. Now we only need to enter some content for our new block. Recall that blocks on our page are small and used for small amounts of text, but have the advantage of being in a prime location on your site. So let's give our new block a Title and some light text. Don't worry about the block footer or the Theme Variable - we will cover those in detail later. Select "Home" from the "Allow View" select list (this tells phpWebSite to only display this block on the home page). You should have something like this:

Now just just click "Create Block" and your and block has been created. You will notice you are now at a screen that lists all of your blocks. You should also note that the block you just made has a button next to it that says "Activate"

You block will not be displayed until you choose to have it displayed. Clicking "Activate" will do this. You can now check the home page by clicking Home on the Main Menu, and you should see your new block.

Creating a Block is very simple, but encapsulates the basic content creation process for all modules. Text is supplied via simple web forms, options for display are point and click affairs, and content can be made active when it is ready to be "published". You now are ready to start exploring more modules.