Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-318

Theme Depended Files and Demo Installation

    XMLWordPrintable

    Details

    • Additional information:
      Hide

      Notes from previous discussion on this issue:
      =========================

      a) theme_info.xml (in theme root)

      <theme_info>

      <default_design>platform/designs/default_design.des</default_design>

      </theme_info>

      b) Have "install" subfolder under each theme and in each it's modules subfolder. In each "install" subfolder,

      there could be "install_data.sql" (theme/module dependent demo data), "english.lang" (theme/module dependent phrases),

      "module_info.xml" (module dependent settings in this theme) files.

      Format of module_info.xml:

      <module_info>

      <section_design>in-link/index</section_design>

      <item_design>in-link/links/link_detail</item_design>

      </module_info>

      Other files (install_data.sql/english.lang) are in same format as files, located in "core/install" folder.

      Important note that In-Portal will have it's Demo data too, not modules only. I think it's a good idea to have "install/" folder for In-Portal theme as well.

      Show
      Notes from previous discussion on this issue: ========================= a) theme_info.xml (in theme root) <theme_info> <default_design>platform/designs/default_design.des</default_design> </theme_info> b) Have "install" subfolder under each theme and in each it's modules subfolder. In each "install" subfolder, there could be "install_data.sql" (theme/module dependent demo data), "english.lang" (theme/module dependent phrases), "module_info.xml" (module dependent settings in this theme) files. Format of module_info.xml: <module_info> <section_design>in-link/index</section_design> <item_design>in-link/links/link_detail</item_design> </module_info> Other files (install_data.sql/english.lang) are in same format as files, located in "core/install" folder. Important note that In-Portal will have it's Demo data too, not modules only. I think it's a good idea to have "install/" folder for In-Portal theme as well.
    • External issue ID:
      382
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      There are 2 Theme related tasks here:

      1. Moving all theme and module depended data, such as:

      • default_design
      • section_design
      • item_design
      • english.lang (Front End language pack) - need to break main language pack on parts.
      • install_data.sql (for Demo data, see below)

      from the Core In-Portal (including installation) into the actual theme.

      2. Create the ability to have Theme related demo data (ie. sections, forms) to be installed along with the actual theme when In-Portal is installed for the first time (clean install).

      For now the only way to deliver images for demo data is to copy them directly into "/system/user_files" folder.

      NOTES:

      a. we assume that Demo installation will be done only for 1 theme at a time and user will need to reinstall if he wants to have "install_data.sql" ti be executed again.

      b. Language data should be imported when user install the system first time or Enables the theme.

      Both tasks as interconnected and been filed together.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: