#1 Re: Developer Help » Need to Inject Simple JavaScript In Various Pages, Is Module-Driven Callout Overkill? » April 24, 2014 4:38pm

Thanks timbuckingham. I will definitely check these out, and am glad to know I won't likely need to implement a full module-driven callout for an include, and am glad to know that the future release might make the case feel more natural. Thanks again.

#2 Developer Help » Need to Inject Simple JavaScript In Various Pages, Is Module-Driven Callout Overkill? » April 24, 2014 12:39pm

michael
Replies: 2

I'm looking to include a snippet of JavaScript code that can be utilized across various pages and Templates, but may not be desired for all pages. This script loads in a simple widget similar to UserVoice,  The script snippet is not going to change, but if anything, there are only two configurable parameters when utilizing the snippet: url (required) and date start (optional). It's okay if these are hardcoded.

Based on the documentation, callouts are page-specific usually, but a module-driven callout seems like overkill here for a simple script include.Am I overthinking this whole thing?

Thanks in advance.

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.