Giter Club home page Giter Club logo

Comments (5)

kreynen avatar kreynen commented on July 22, 2024

Removing from 2.4.0. We are still doing #820 in 2.4.0, but the forms will require a developer to place them until after 2.6.0.

from express.

kreynen avatar kreynen commented on July 22, 2024

This is being handled by the shift to using a generalized embed template #820

from express.

kreynen avatar kreynen commented on July 22, 2024

Updated template capable of sending in GUID into the form using basic HTML comment syntax...

<div id="form_1c8050a6-1278-4fe3-8cdc-f89d217cecdb">Loading...</div>
<script>/*<![CDATA[*/
var script = document.createElement('script'); 
var div = jQuery('.field-item'),
    comment = div.contents().filter(function() {
        return this.nodeType === 8;
    }).get(0);

if (typeof comment !== "undefined") {
  var program = comment.nodeValue.split(":");
} else {
  var program = "";
} 
script.async = 1; script.src = 'https://grad.apply.colorado.edu/register/?id=1c8050a6-1278-4fe3-8cdc-f89d217cecdb&output=embed&sys:field:department=' + program[1] + '&div=form_1c8050a6-1278-4fe3-8cdc-f89d217cecdb' + ((location.search.length > 1) ? '&' + location.search.substring(1) : ''); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
/*]]>*/</script>

from express.

kreynen avatar kreynen commented on July 22, 2024

The Slate forms are not inheriting Drupal core CSS incorrectly...

university_of_colorado_boulder___university_of_colorado_boulder___university_of_colorado_boulder

from express.

alexfinnarn avatar alexfinnarn commented on July 22, 2024

closing with follow-up issue #1101

from express.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.