Pages. How to implement a landing page with your own template and styles

How to implement a landing page with a different template and your own styles

  • The template is put in a folder in the [Templatename] folder in / uploads / HTML-Templates
  • Creating a page and setting layout = layout (ALL ALL)
  • In the body of the page, we write the full text of the page (html html, body, Head). < / span>< / li>
  • For correct script paths: write this path to SELECT 3 in the SQL page and then use it for all relative paths. 
  • For example: 

    <link href="{sp-baseUrl}/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    
    -- 3 SELECT 
    
    select'/downloads/lands/stylish ' auto-detectand

    Note

  • IMPORTANT!!! Be sure to make the external layout on Bootstrap 4 (so that you can connect Bootstrap styles on the page). 
  • We recommend using all the scripts and styles from the landing page, rather than using instances of the Falcon libraries (jQuery, Bootstrap, etc.).
  • In the body of the page is inserted essentially only what you write in the Page Content field (i.e. you need to add full page content with all styles and scripts and do not use additional fields for styles)
  • If you need the functions of the Falcon on the landing page, you will need to manually connect the scripts and styles of the platform.
  • The main Falcon system styles are:

    <link rel="stylesheet"href="/Content/modules/as. css">
    <link rel="stylesheet" href="/Content/modules/as. crud2.css">
    <link rel="stylesheet" href="/Controls/Resource/GetFile?code=globalCSS">
    <link href="/js/jqueryPlugins."css"rel="style sheet">

     The main Falcon system scripts are:

    <script type="text/javascript"src="/js/baseJS."JS"charset="windows-1251"></script>
    <script type="text/JavaScript"SRC="/ management/resources / getfile method?code=globalJS"charset="windows-1251"></script>
    <script type="text/ javascript"src="/js/jqueryPlugins.".JS"charset="windows-1251"></script>
    <script src="/js/falcon/pFalcon.js"></script>
    
    <script>
        $(function () {
            pFalcon.init({
                isDebug: false,
                canEdit:false,
                renderData: {
                    username: '',
                    roles: '',
                    urlParameters: ''
                },
                introParams: []
            });
        });
    </script>
    Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started
    {sp-shortDemostandLinks}

    Falcon Space Platform

    This is a reduction in the cost of ownership

    at the expense of fewer people to support

    This is a quick change

    while using the program

    This is a modern interface

    full adaptation for mobile devices

    Note