Page

Page table is a system table, if you want to know more about, please check the System Tables documentation.

Overview

Columns

Page table has the following columns.

Name

Your page name.

Path

Path features

  • The value of this path will be part of the final page URL, MakerMike serves your pages through an URL with the following format:

    https://<DOMAIN>/<PAGE_PATH>
    
  • Page path allowed special characters:

    • $
    • -
    • _
    • +
    • !
    • \
    • ,
    • '
    • (
    • )
  • Variable path segments: With variable path segments a segment of the path can be set as a variable value.

    Usage example, given the path:

    user_info_page/<user_name>/<user_last_name>
    

    The following page paths are valid for the same path.

    user_info_page/john/williams
    
    user_info_page/jane/smith
    

    As you can see the condition to use this feature is that the segment that you want to be variable should be surrounded by <>. You can capture these variable path segments in the html column (see html field section) as well in a portlet.

  • How to view the page full URL: After creating your page MakerMike will automatically create the URL, you can check it by clicking in the path column of your page row.

Html

In this column you can write your page HTML code, allows the use of MakerMike renderer

Html features

In the UI the column has 3 dropdowns available to easily write MakerMike tags:

  • Insert Image resource: This drop down allows you to have easy access to your image resources, on click it will list all the image resources present in Image resource table by name, once you select one a MakerMike image tag will be inserted, the image tags have the following format:

    <mm-image><IMAGE_RESOURCE_NAME></mm-image>
    

    When your page is being rendered MakerMike will render the tag as the path to your image resource, be sure to add the proper roles to the read permissions of column image in Image Resource table.

  • Insert Text resource: this drop down allows you to have easy access to your text resources, on click it will list all the text resources present in the Text resource table by name, once you select one a MakerMike text tag will be inserted, the text tags have the following format:

    <mm-text><TEXT_RESOURCE_NAME></mm-text>
    

    When your page is being rendered MakerMike will render the tags as the data stored in the text column of the text resource with the referenced name, be sure to add the desired roles to the read permissions in the text column from Text resource table.

  • Insert Portlet: this drop down allows you to have easy access to your portlets, on click it will list all the portlet names present in the Portlet table, once you select one a MakerMike tag will be inserted, the portlet tags have the following format:

    <mm-portlet><PORTLET_NAME></mm-portlet>
    

    When your page is being rendered, MakerMike will render the tags with the values of pre, template, tween and post columns from the Portlet table.

To modify Image and text resources permissions check Permissions and Manage Project Permissions documentation.

Get page path segments values: To get the segment values of the page path you can use the MakerMike path segment tags, the tags have the following format:

<mm-path-segment><SEGMENT_NAME></mm-path-segment>

Working with Pages and your domain/subdomain

Check the Working with your own domain/subdomain section if you haven't.

Once you have setup your domain/subdomain alongside MakerMike, your pages URLs will be builded automatically and you can check it in the path column (see path section above)

Page availability

You can manage who can visit your pages, this can be set by assigning the desired roles in the read permissions of column html, check Permissions and Manage Project Permissions documentation.

Top