phpWebSite Manual
phpWebSite Manual

phpWebSite Resources

Mods

3rd Party Mods

Who's Online
There are currently, 4 guest(s) and 0 member(s) that are online.
You are an Anonymous user.
You can register for free by clicking here
No Members are currently logged in.

PageMaster

PageMaster

The Web Pages (formerly PageMaster) Module

Introduction

Adam Morton

The PageMaster module is used to create and edit web pages for your site. PageMaster also allows you to post a page you created as the "Main Page" for your site. It is also integrated into several other phpWebSite modules which extend its functionality(See Figure 1). (You must have these other modules installed before the functionality will be available.)



Some of these modules include:

Menuman- offers a quick, easy method of adding pages to your sites menus.

FatCat- allows categorization of pages so users can easily find pages that contain related information and other items that contain related information.

Comments- allows visitors to your site the ability to post their comments on information contained in your pages.

The content of a page is broken into two parts, a Page Title and Page Sections.

Each section is broken into three parts, a section title, section text (the main information for that section), and a section image (see Figure 2). It's good to have in mind the number of sections you will be using, the relative content for each section, and the order of these sections in your page. The section image is always optional. The layout of a page is dependent upon the template selected for that page and the layout or template of each section.



Creating a Page

It is recommended that before you create a page using PageMaster that you plan ahead on the content and layout of that page before attempting to dive in and create it. Once you have a page planned out, follow these steps to create your page:


  1. Open your Control Panel and navigate to the Site Content tab.

  2. Select the PageMaster module from the list of modules.

  3. Select New Page from the main menu.

  4. Enter your Page Title.

  5. If your page fits into one of your site's Categories, select it from the list provided.

  6. Select a Template for your page. The default template is the only template to ship with phpWebSite.

  7. If you have the Comments module installed, you can choose to allow comments on your page that allow anonymous or registered users to post comments.

  8. Check the information you entered to make sure it is correct and click the Go button.

  9. You can now start adding Sections to your page. Sections are added from top to bottom.

  10. Enter a Section Title for your section.

  11. Enter the Section Text for your section.

  12. Optionally, select an Image from your hard drive to upload to your section. If you supply an image, you must also supply a Short Image Description for that image in the Short Image Description field. You may also select an image via Image URL.

  13. Select a Template to use for the layout of your section.

  14. Check to be sure the information you entered is correct and click the Save Section button to save your section.

  15. You will now see the section you just created at the top of your page. You can choose to edit or delete a section by clicking the Edit or Remove buttons respectively within the section.

  16. Repeat steps 10 - 14 to add more sections to your page.

  17. When you have added and saved all your sections, click the SAVE PAGE button to save your page. Be sure to carefully read the warning before saving the page.

  18. You will now be taken back to your list of pages and your new page will be shown in the list.

By default when a page is first saved, it is marked as hidden (you will see the Show button which indicates it's hidden).

To make your page viewable by your site visitors click the Show button for the newly created page. Alternately, you can click the Hide button to hide a page from your visitors. To make changes to an existing page, click the Edit button for the respective page. To remove an existing page, click the Delete button for the respective page. You will be prompted to confirm the deletion of the page before it is fully removed.


Editing a Page

To edit a page, select List Pages from the Main Menu and find the page you wish to edit in the list of pages shown. Click the Edit button under the Action column for the page you wish to edit. You will be taken to the same edit mode as when creating a page. From here you can choose to edit or remove any section within the page by clicking the Edit or Remove button respectively within the section.

To edit the Page Title, Categories,or Template, click the Edit button located in the title bar of your page.When you have updated the information, click the Go button to return to editing the sections within your page. When all the information within your pages and sections are updated, click the SAVE PAGE button at the bottom of the page. Make sure to carefully read the warning before saving the page.


Removing a Page

To remove an existing page from your site, select List Pages from the Main Menu and find the page you wish to remove. Click the Delete button under the Actions column for the respective page. You will be asked to confirm the deletion. If you are sure you want to completely remove the page, click the Yes button and the page will be removed. If you are not sure, click the No button and the page will remain.

If you do not wish to delete a page but want to hide it from your visitor's view, you can choose to just hide it instead of fully removing it. Select List Pages from the Main Menu, find the page you wish to hide and click the Hide button for the respective page. The Hide button will turn into a Show button. When you are ready to show the page to the public again, click the Show button for that page.


Setting the Main Page

To set a PageMaster page as your main page, select Set Main Page from the Main Menu. The current saved pages are shown with Select buttons to the right of the titles.

Find the page you wish to have as your main page and click the respective Select button to set it. The current main page is marked with CURRENT in green to the right of the title. This also appears in the regular page list. If you wish to hide the main page all together, select List Pages from the Main Menu and click the Hide button for the respective page.



Created on 07/26/2003 12:32 AM by RobertK
Updated on 04/12/2004 12:31 AM by RobertK
 Printable Version



Since I can see the displayed on this website, I'm curious as to why I could not see the same when pasting the code into a page on my own installation. (Using 9x). Is there some step that I'm missing?
Flash
Posted on: 07/25/2004 08:32 PM   By: Anonymous
ONCE I HAVE CREATED A NEW SECTION, HOW CAN i INSERT FLASH MOVIE?
Re: Flash
Posted on: 08/15/2004 05:57 PM   By: Anonymous
look there
../mod/pagemaster/docs]# vi PAGE_INSERT_README.txt
.......
After installing the templates in the theme(s) you wish to have the
page insertion capability, insert a page this way:

1. Log in as a user with PageMaster access. Select PageMaster.
2. Create a new page. Give it a title.
3. Edit the page.
a. In the first section, select one of the three page_insert templates ......


page_insert_fit_block.tpl - This template inserts the page into the largest
possible scrolling area that will fit within the current-sized pagemaste
r
block.
............
1. Log in as a user with PageMaster access. Select PageMaster.
2. Create a new page. Give it a title.
3. Edit the page.
a. In the first section, select one of the three page_insert templates
from the drop-down template menu.
b. If you chose page_insert_title_is_size, enter the height you want
for the scrolling page display in the Section Subtitle blank. For
example, to display the page in a scrolling area 500 pixels high,
enter 500 in the Subtitle blank.
c. Enter the URL of the page you want inserted as the text of the
section. The URL can be a full URL (i.e., http://mysite.com) or
a relative link to a file on your site (e.g., downloads/cool.html).
4. Save the section and the page.

So, now you have to create a full website with your flash insite.
Re: Flash
Posted on: 06/10/2005 10:30 AM   By: Anonymous
Hi,
I followed the instructions, however, the webpage does not dispay on the page - there is just a blank block.

Any idea's as to what could be the problem?
Re: Flash
Posted on: 01/29/2006 10:06 PM   By: Anonymous
Did you find a solution to your problem already ?
If not visite www.feldon.be and email webmaster
over there he'll help you !
Links & WebPages
Posted on: 07/30/2004 10:33 AM   By: Anonymous
Is there a way to do something (with some combination of the tools within phpwebsite) of mapping a URL like
http://mysite.com/marketing/
to a phpwebsite url like
http://phpwebsitemanual.com/index.php?module=something_foo_bar&whatever

???

Jenny
linking with the pages inside the site
Posted on: 09/12/2004 03:18 PM   By: Anonymous
When I want to have a link in the content of a page and not placing it in the menus, how do I do that?
Eg: Link to next page .
Please send reply to mugdha@cse.iitb.ac.in
Remove "updated by"
Posted on: 03/05/2005 08:22 PM   By: Anonymous
May people seem to want to get rid of the created, updated, and print sections at the bottom of the pagemaster pages.

To do so, delete the relevant lines in mod/pagemaster/templates/page/default.tpl
Google Ads!!!
Posted on: 04/16/2005 05:24 PM   By: Anonymous
Lord above this has been a lot of hard work.

I have been trying for two days now to have some google ads in a bloody block on the side of my phpwebsite page. I have read lots of stupid articles telling non-computer literate people to remove
and the lot. I have even tried it myself. I once managed to get ads in a block and they weren't even the size that I had asked for!!

Well here is a simple solution that I hope will satisfy lots of people.

Simply create a new template (based on which ever one you like). You can find the templates at /mod/pagemaster/templates/

Simply insert your google code where you like with the formatting YOU like and use that template for one section in a page you publish.

I have a template called google.tpl and it looks like follows; (tried poasting the code but obviously it got stripped!!!!!!!)

It works fine for me and displays google ad's amongst my articles, which is just where I want them.

You can see a working version at www.thaiconnections.co.uk (although it's a new site).

For everyone that is having problems please feel free to contact me at my site (email is at bottom of the page). I will be happy to help.
seperate pages
Posted on: 05/03/2005 12:30 PM   By: Anonymous
Can the mods be added on seperate pages?

For example: having the announcement mod show up on page2 and not on the home page.
Web Pages not working for me at all!
Posted on: 06/28/2005 09:07 AM   By: mvnpro
I have tried quite a few times to create pages. I have followed the instructions given here in the manual steb by step by step!

Today I tried to edit my welcome page (main page) and now it's gone! Well, not gone completely, but this is the error that is now showing up on my page:

Not Found
The requested URL /members/Mortgage Vendor Network is the gateway to success for Mortgage Professionals. was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.mvnpro.net Port 80



Why is this happening? How do I fix it? HELP!!!!!
Edited By: mvnpro On: 06/28/2005 09:07 AM
pagemaster and scripts...
Posted on: 09/18/2005 11:19 AM   By: Anonymous
Hello,

I'm new user with phpwebsite. i've the last version.
I want to create a new page with this in content :
------

var uri = 'http://impfr.tradedoubler.com/imp/js/14499253/1143378?' + new String (Math.random()).substring (2, 11);
document.write('');

-----

But i can't because pagemaster dont understand .
Did you know a solution for me please ?

Thank you for you help,

Frederic
Re: pagemaster and scripts...
Posted on: 09/18/2005 11:20 AM   By: Anonymous
sorry , dont understand the balise

thanks
Re: pagemaster and scripts...
Posted on: 09/18/2005 11:20 AM   By: Anonymous
the balise script ...
Main Page always has comments avail
Posted on: 05/06/2006 08:46 AM   By: Anonymous
My main page has comments avail even thought I checked no comments. This seems to be the case only on main page.

Why?
Re: Main Page always has comments avail
Posted on: 08/25/2006 10:07 AM   By: Anonymous
I cannot make "reply" happen on my site.

any tricks?

please have a look at www.bancova.com

thanks

john
Link to a file
Posted on: 10/07/2006 04:21 PM   By: Anonymous
Hi
Is it possible to make a link to a pdf file on the web pages module ?
Other people adding pages
Posted on: 12/04/2006 06:20 AM   By: Anonymous
I have set up a group and assigned permissions to everything in the web page mod, and tried the same for a specific user. However, when I log in as that user, rather than my deity user, I cannot see any way to generate a new web-page. The control panel for the user has only personal info on it, and no tab to contain the web page link.
Do I have to create a menu item to duplicate the create page link?
Re: Other people adding pages
Posted on: 02/17/2007 02:04 PM   By: Anonymous
Try turning the user profile 'Admin' option on.
Restricted Access
Posted on: 02/17/2007 02:12 PM   By: Anonymous
Has anybody had any luck getting answers on the restricted accesses questions that were asked earlier.

Specificially -
  1. How to restrict a user to editing a signle page. I want to make 'home' pages available to a limited number of people but don't want them to be able to edit the main pages.
  2. How to restrict viewing to logged-on users. We have membership lists we'd like to make available to registered users, but don't want the whole world to have access.

Thank you,
How I created this site?
Posted on: 08/12/2007 04:47 AM   By: toolandor
How I created this site? Good Unfortunately, due to the language barrier, many of the things they did not understand also.
Page footer
Posted on: 11/19/2007 12:52 PM   By: cyndi
I have a footer on each page of my web site that has copyright and contact info. Do not know how to edit it as I did not design the original layout of the site. A webmaster did the basic layout and showed me how to add content but not how to do this change. Any ideas? See my website at www.cancunpropertiesonline.com
Thanks
Cyndi
Comments - Please Log In to make a comment
The comments are owned by the poster. We are not responsible for its content.
Removing a page
Posted on: 10/13/2003 11:27 AM   By: Anonymous
BE AWARE that removing a page seems to result in the menu item it was linked from being removed also! No idea why as by default when a new menu item is created it shows the 'default homepage' content so surely this should be the case if any pages are deleted.
Re: Removing a page
Posted on: 10/15/2003 10:45 AM   By: RobertK
"BE AWARE that removing a page seems to result in the menu item it was linked from being removed also!"

This is only logical, otherwise you'd have menu items linked to "page not found" messages. It's a good safety to have.

Bobby
Restric access
Posted on: 02/08/2004 03:20 PM   By: Anonymous
Is it possible to hide certain pages to non registred users?
Re: Restric access
Posted on: 12/02/2004 04:15 PM   By: Anonymous
I had a same thoughts. Is it possible to hide certain pages to non registred users or to hide some pages to another group members?
We often run short term competitions in writing and it's a team based share activity. We found this popular among kids. Thank you.
links to other pages
Posted on: 04/16/2004 08:56 AM   By: Anonymous
How can I do a link on a page that links to another page I have made? Like next page etc...
Re: links to other pages
Posted on: 04/18/2004 05:57 AM   By: Anonymous
Add page 2 to the menu.
then copy the link from the menu.
Add the link to page 1 as next page.
Re: links to other pages
Posted on: 06/23/2004 06:50 PM   By: Anonymous
is this clunky or is it just me ?
Previewing a page
Posted on: 04/20/2004 10:10 PM   By: Anonymous
Is there any way to preview content before posting it?
Comments won't delete
Posted on: 05/05/2004 02:08 AM   By: Anonymous
I have created several Web Pages in phpws that allow anonymous users to posts comments. Unfortunately, I have come across several posts that I need to delete, however I can't. Even while logged in as a diety, I am unable to delete any posts, even my own. When I select the "delete" option I am sent to a blank page. Any thoughts?
Re: Comments won't delete
Posted on: 05/21/2004 03:12 PM   By: Anonymous
not sure what your problem is you can always remove them from the Database
weblog appearing in centre block
Posted on: 06/11/2004 02:07 PM   By: Anonymous
showinmain links ( other than to index.php) dont seem to work with phpws 0.9.x

I want to add graymatter blog to my site, to appear in the centre block from a link in a side menu
the link is easy .....mysite/gm.index.htm
- but how do I get it to appear in the center block?

I dont see how to apply a pagemaster format to a link


changing the template
Posted on: 07/14/2004 12:24 PM   By: Anonymous
I would like to create a new template for pagemaster that allows uploading of 9 pictures along with the text area stuff.
Can you direct me to specific directions somewhere to accomplish this?
or, can you point me to the correct file to edit in my theme?
Re: weblog appearing in centre block
Posted on: 11/18/2004 07:14 PM   By: johnb
An iframe
Using In a Web Page
Posted on: 07/05/2004 11:58 AM   By: Anonymous
I have noted this site uses to insert an external website page.

Looking at the source code I noticed the following snippet.


Sorry! Your browser cannot display the page here."



Sponsored by Patterson Research
Founded by Robert Kennedy
Powered by phpWebSite