Skip to content

Custom code section not working #559

@JTBlum

Description

@JTBlum

To reproduce:

  1. Start with a fresh install of Joomla 3.9.12
  2. Install the T3 Framework from master
  3. Install the T3 Framework blank template from master
  4. Switch the default template style to the T3 blank template
  5. Add the following custom code declarations to the appropriate settings in the template's "Custom Code" tab:
  • <script type="text/javascript">alert("After <head>");</script>
  • <script type="text/javascript">jQuery(document).ready(function(){ alert("Before </head>"); });</script>
  • <script type="text/javascript">jQuery(document).ready(function(){ alert("After <body>"); });</script>
  • <script type="text/javascript">jQuery(document).ready(function(){ alert("Before </body>"); });</script>

Reload the front page. The JavaScript won't execute because it's not in the source code.

Edit: Or it won't work because I've butchered it. That's fixed now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions