Welcome ,
  1. Home
  2. Page

PageCarton Documentation



Interested in coding widgets, classes, or methods? Check out the Code section!

Page


Image

As a global web term, a [Web] Page is referred to as a document written in HTML that is suitable to act as a web resource on the World Wide Web. The document is usually meant to be viewed through a web browser. In PageCarton however, a Page would infact mean a different thing and also it serves a slightly different purpose. In PageCarton, a page is a saved layout of content addressed through a URL. A page inherits it's layout from the defined PageCarton theme; it also inherits sets of widgets defined in the theme. A page then can have it's own widgets defined, which will formulate what will be outputed to the user when they try to access the page. 

Just like many other components in PageCarton, pages are cascaded like CSS from the core, down to the site. Some sets pages are built into the core, which ensures that a newly installed PageCarton site would have some default pages preloaded. Examples of those pages are the home/index page - "/", admin page - "/pc-admin", account page - "/account", sign in page - "/accounts/signin", etc. Default pages can be overridden by creating a page on the site with the same URL. For instance, on a new installation of PageCarton, the default homepage is shown, but when a homepage is defined in the site, it overrides the home page in the core. 

 

 

← Previous "Changing Number of Posts to Display on a Widget""Setting up PageCarton via Docker" Next →


 

Similar article

 

Changing Number of Posts to Display on a Widget Photo

Changing Number of Posts to Display on a Widget

Another interesting customization feature just came in the latest PageCarton. Users of PageCarton can now change the number of post shown in embedded widget from the admin panel. For example, be...

Documentation Article
 

 

Installing PageCarton via Composer Photo

Installing PageCarton via Composer

If you have Composer installed on your computer, you can easily get PageCarton up by running the following commands on your command line.  # download PageCarton via composer composer c...

article
 

 

Setting up PageCarton via Docker Photo

Setting up PageCarton via Docker

PageCarton now has a few files in its GitHub repository that helps to set it up on Docker easily. If you are familiar with Docker or a newbie, you should be able to get started with PageCarton...

article
 

 

Steps in Creating a PageCarton Website Offline Photo

Steps in Creating a PageCarton Website Offline

Creating a website has now been made easy with the use of Pagecarton, it's not necessary to know much about coding. If you have your contents ready, and the style of how your website wants to...

article
 

 

Steps in Creating a PageCarton Theme Photo

Steps in Creating a PageCarton Theme

Creating a PageCarton theme isn't actually a difficult task, but just that it might involve a long process and a little bit of how programming codes work. The main purpose of having a PageCarto...

article
 

 

HTML Syntax & API for Embedding Widgets Photo

HTML Syntax & API for Embedding Widgets

In an update to PageCarton that was available from August 2020, we added a new way to create and customize PageCarton Themes. In addition to existing ways of creating ...

article