Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0-b1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Company settings should be added to allow a staff member to specify any number of custom CSS files and Javascript files to load into the structure.

      We can cache the results so that performance is maximized.

      Stylesheet: /app/view/client/default/css/ [ — name of CSS file here — ]
      Javascript: /app/view/client/default/javascript/ [ — name of javascript file here — ]

      Alternatively, (and perhaps a much better solution) we could allow the ability to specify the full URL to the file, which would allow users to pull javascript/css from some central repository (e.g. google code), etc.

      ------------------

      Putting more thought into this. Perhaps it should just be a header input textarea nd a footer input textarea where custom HTML can be speicfied.

        Activity

        cody Cody Phillips (Inactive) created issue -
        Hide
        cody Cody Phillips (Inactive) added a comment -

        This should be included as options under the new settings section described in CORE-961.

        Show
        cody Cody Phillips (Inactive) added a comment - This should be included as options under the new settings section described in CORE-961 .
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Description Company settings should be added to allow a staff member to specify any number of custom CSS files and Javascript files to load into the structure.

        We can cache the results so that performance is maximized.

        Stylesheet: /app/view/client/default/css/ [ --- name of CSS file here --- ]
        Javascript: /app/view/client/default/javascript/ [ --- name of javascript file here --- ]

        Alternatively, (and perhaps a much better solution) we could allow the ability to specify the full URL to the file, which would allow users to pull javascript/css from some central repository (e.g. google code), etc.
        Company settings should be added to allow a staff member to specify any number of custom CSS files and Javascript files to load into the structure.

        We can cache the results so that performance is maximized.

        Stylesheet: /app/view/client/default/css/ [ --- name of CSS file here --- ]
        Javascript: /app/view/client/default/javascript/ [ --- name of javascript file here --- ]

        Alternatively, (and perhaps a much better solution) we could allow the ability to specify the full URL to the file, which would allow users to pull javascript/css from some central repository (e.g. google code), etc.

        ------------------

        Putting more thought into this. Perhaps it should just be a header input textarea nd a footer input textarea where custom HTML can be speicfied.
        admin Paul Phillips made changes -
        Security Private [ 10000 ]
        Hide
        admin Paul Phillips added a comment -

        I concur with a header and footer text area.

        Show
        admin Paul Phillips added a comment - I concur with a header and footer text area.
        Hide
        cody Cody Phillips (Inactive) added a comment -

        The data placed in the head or [bottom of the] body should be cached. If these settings are saved the cache should be cleared.


        Additionally, this should update the preAction event to allow returning a couple variables:

        • head
        • body

        Which will be included into the head or body tag of the rendered structure.pdt. This data will also be included in the cache.

        Possible name for these cache files: structure_head, structure_body.

        Show
        cody Cody Phillips (Inactive) added a comment - The data placed in the head or [bottom of the] body should be cached. If these settings are saved the cache should be cleared. Additionally, this should update the preAction event to allow returning a couple variables: head body Which will be included into the head or body tag of the rendered structure.pdt. This data will also be included in the cache. Possible name for these cache files: structure_head, structure_body.
        admin Paul Phillips made changes -
        Sprint 3.2 [ 2 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.0-b2 [ 10501 ]
        Fix Version/s 3.2.0-b1 [ 10002 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.0-b3 [ 10503 ]
        Fix Version/s 3.2.0-b2 [ 10501 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.0 [ 10502 ]
        Fix Version/s 3.2.0-b3 [ 10503 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.0 [ 10100 ]
        Fix Version/s 3.2.0 [ 10502 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.0-b2 [ 10507 ]
        Fix Version/s 3.3.0-b1 [ 10100 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.4.0 [ 10400 ]
        Fix Version/s 3.3.0-b2 [ 10507 ]
        Hide
        cody Cody Phillips (Inactive) added a comment -

        Give the addition of events that allow plugins to tie into the header/footer. Shouldn't this be a plugin instead?

        Show
        cody Cody Phillips (Inactive) added a comment - Give the addition of events that allow plugins to tie into the header/footer. Shouldn't this be a plugin instead?
        cody Cody Phillips (Inactive) made changes -
        Sprint 3.2 Client Related [ 2 ]
        cody Cody Phillips (Inactive) made changes -
        Rank Ranked higher
        admin Paul Phillips made changes -
        Fix Version/s 3.4.0 [ 10400 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower

          People

          • Assignee:
            cody Cody Phillips (Inactive)
            Reporter:
            cody Cody Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: