This article will focus on creating and managing custom pages in phpFox.
Custom pages in phpFox, allow you to easily create simple pages that contain whatever content you need to add to your site. phpFox by default has created the following custom pages:
- Mobile – the text on this page contains a link to the mobile version of your phpFox website, you may or may not want to edit this page.
- About Us – you will want to edit this to contain information about you and/or your website.
In order to manage custom pages, go to CMS and select Manage Pages under the Pages heading.
Managing Custom Pages
The following screen contains a list of your current custom pages. You have a variety of options here. If you click on the page name under the Page heading, you will be taken to a preview of the page, which you can then edit. If you uncheck the checkbox under Active, you can deactivate the page. If you select the dropdown box under Actions, you can edit or delete the page.
You can edit a page by selecting the Edit Page option in the Select Action drop down box. You should be taken to the Add New Page screen, with many of the fields filled in with information pertaining to the page you want to edit. If you are editing a default custom page, then this information will have been filled in automatically. If you are editing a custom page that you created, you will have filled in the following information.
If you are editing one of the default custom pages, I suggest not changing the product, module, page title, or the URL title, as mentioned before, the default custom pages have links and calls built into the phpFox script itself.
Once you are done editing the page, click Submit to save and view your changes. If you want to make more edits, select Edit on the right. If you want to just delete the page, you can select from Delete here as well.
Creating a New Custom Page
To create a new custom page, go to CMS and select Add New Page under the Pages heading.
On the following screen, there are four fields that need to be filled out.
First you need to select the Product this page will belong to. In most cases this will be Core. Then you need to type in the Page Title. You will see that once a Page Title field has been filled out, the URL Title field will automatically populate. You can edit this field if you need to. The final field that is necessary is the text box under Page Data. As stated previously, this is the field that you will put all the text, images, and anything else that will be on visible on the page that you are editing. When you are done, click Submit.
If you chose the option to add this page to the menu, you will be taken to the following screen to add the menu information.
The first thing you need to do is select which Menu this page will link from. I chose the Main menu for my custom page. You will also need to choose what will be displayed in the menu as the link to this page. I chose Custom Page to be my link name. When you are done, select Submit to view your new page.
The next screen you should see is the finished page. Note that the text on the page is what we put in the Page Data text box. Also note the Custom Page link on the main menu that we created. You might notice that there is a selection of “bookmark” links, you can disable these links in the Options section on the Add New Page screen.
After reading this article, you should be able to create and manage your custom pages for your phpFox website.