ASISG
Gy - php framework/CMS | Documentation | Working with site pages (Website page builder)
15. Working with site pages (Website page builder)
In the administration panel it is on the page /gy/admin/get-admin-page.php?page=work-page-site
you can work with the public pages of the site.
You need to set the path from the site root to the file /index.php
and select an action.
Actions on the page:
- “Create page (replaces if it already exists)” - will create an empty file
index.php
at the specified path; - “Change page” - text editor of the page (you can edit the entire text of the page);
- “Delete page” - will delete the page together (if there are no files other than
index.php
in the section, then the section will also be deleted); - “View page” - will open a page in the public part of the site for viewing;
- “Page builder (edit by component)” is a page builder by component;
Website page builder, by component
It displays all the components that are on the page, you can move components around the page, change their parameters or delete. You can also add a new component. When adding a new component, you need to specify its name, template and parameters for calling the component.
Important
Any code must be added through components, including just html (for html code there is a includeHtml
component). Otherwise, while editing the page in the page builder by component, the code outside the components will be overwritten.