#1189 ✓resolved
dleffler

Feature request: add $config param to expTheme::foot() method

Reported by dleffler | August 8th, 2014 @ 02:37 AM | in 2.3.2 (closed)

We should have an option to pass javascript code and script loading via the expTheme::foot() method as a doorway for expJavascript::pushToFoot() just as we use expTheme::head() as a doorway for expCSS::pushToHead(). This is all the more important for theme/subtheme templates now that we properly load all javascript at the bottom of the page via the expTheme::foot() call so that all javascript code should/must come after that call, esp. if it relies on a library such as YUI or jQuery.

Comments and changes to this ticket

  • dleffler

    dleffler August 13th, 2014 @ 11:11 AM

    While this would be simple to implement, it exposes our failure to fully implement the 'unique' param for css & javascript #1146, which MIGHT cause issues when attempting to pass multiple scripts as an array (which would be a nice feature to add since we do it within expCss::pushToHead())

  • dleffler

    dleffler December 22nd, 2014 @ 01:02 PM

    • State changed from “new” to “resolved”
    • Assigned user set to “dleffler”
    • Milestone set to 2.3.2

    We now allow passing a param in the expTheme::foot() call

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Tags

Pages