Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/635 #764

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Feature/635 #764

wants to merge 4 commits into from

Conversation

AlanBCole
Copy link
Contributor

@AlanBCole AlanBCole commented Nov 16, 2020

Adding Burning Glass JS include:

  • Insert into page using block type

work steps to add this feature:

  • Added burning_glass to cu_js_includes_enabled in .install file
  • Added burning_glass to array in .module file at cu_js_includes_block_options()
    • if, in the future, an include is to be added to pages via context reactions instead of blocks, skip this step and put the include name in the $types array found on line 28 of cu_js_includes.context.inc instead)
  • Added cu_js_includes_burning_glass_form() in .forms.inc file
  • Added view burning_glass js includes to cu_js_includes_secure_permissions() in .permissions.inc file
  • Added to cu_js_includes_get_include_types() in .types.inc file
  • Added Add Burning GLass Include to [types] array in cu_js_includes_express_node_list_groups() in .types.inc file
  • Added burning glass php template in /templates/burning_glass.tpl.php

AlanBCole added 2 commits November 16, 2020 10:48
Added burning_glass to cu_js_includes_enabled in .install
Added burning_glass to  array in .module file at cu_js_includes_block_options()
Added cu_js_includes_burning_glass_form() in .forms.inc file
Added view burning_glass js includes to cu_js_includes_secure_permissions() in .permissions.inc file
Added  to cu_js_includes_get_include_types() in .types.inc file
Added Add Burning GLass Include to [types] array in cu_js_includes_express_node_list_groups() in .types.inc file
Added burning glass php template in /templates/burning_glass.php
- change name of template file's extension to .tpl.php
- remove a line of code created for debugging purposes
@kevincrafts
Copy link
Member

Last time I had mentioned this to Jo she had some concerns with this content and the direction of the academic program pages, etc. We should loop her in on this before we merge it.

@AlanBCole
Copy link
Contributor Author

@kevincrafts Ok.

Copy link
Contributor

@cathysnider cathysnider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This includes add the JS snippet to pages as specified. The snippets do not interfere with any other include that has also been added to the page.

@AlanBCole AlanBCole linked an issue Nov 17, 2020 that may be closed by this pull request
- making sure the access_code and program_code in the burning_glass.tpl.php are output as strings
- fixing bad reference to form fields in cu_js_includes.forms.inc -> cu_js_includes_burning_glass_form()
@kevincrafts
Copy link
Member

Jo has reached out to Catherine Horning on this request - hopefully we'll get some clarification soon.

@jwfuller jwfuller marked this pull request as draft January 11, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Burning Glass widgets
3 participants