Scroll Top
19th Ave New York, NY 95822, USA

Hal’s Notes

NOTES ON SEAL OPERATION AND ALTERATION

order of units within grades – determined by page attributes parent selection and then order of the unit within the grade.

 

 

Templates – the template selected is used in a function.php file to select the  taxa used for standards of alignment for that page.

order of pages

  • module – grade 3, grade 4, grade 4
    • unit  – the pages within each grade level
      • topic – the pages within each unit
        • activty – pages with in topics

Unit templates =

  • “curriculum_alignment” => “ngss_dc_link_text”

Topic template =

  • “ngss_performance_expectations” => “standards_ngss_pe_linking_”,
  • “curriculum_alignment” => “ngss_dc_link_text”,

Activity template =

  • “ngss_practices” => “ngss_se_link_text”,
  • “ngss_crosscutting_concepts” => “ngss_cc_link_text”,
  • “ngss_disciplinary_core_ideas” => “ngss_dc_link_text”,

 

FOOTER DATA

footer data is in the twig file “region–footer.html.twig”, but for this twig to be executed you need to have an item in the footer.

In our case we have the block “Footer Join The Community”

 

 

 

 

 

ANONYMOUS VIEW COMMENTS ONLY

for anonymous to view comments, need to give permission to view comments and view all unpublished content.  Not sure why the later needs to be authorized, but anonymous view of comments is available only when it is checked.

under View Unpublished check View any unpublished content

under Comments check View comments

 

 

following patch fixes ‘entity:user’ context is required and not present

diff --git a/core/lib/Drupal/Core/ParamConverter/EntityConverter.php b/core/lib/Drupal/Core/ParamConverter/EntityConverter.php
index c3820baaca..3f69b2b858 100644
--- a/core/lib/Drupal/Core/ParamConverter/EntityConverter.php
+++ b/core/lib/Drupal/Core/ParamConverter/EntityConverter.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\Core\ParamConverter;
 
+use Drupal\Component\Plugin\Exception\ContextException;
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\Core\Entity\EntityRepositoryInterface;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
@@ -146,8 +147,12 @@ public function convert($value, $definition, $name, array $defaults) {
     //   https://www.drupal.org/node/2934192 is fixed.
     $context_id = '@user.current_user_context:current_user';
     if (isset($contexts[$context_id])) {
-      $account = $contexts[$context_id]->getContextValue();
-      unset($account->_skipProtectedUserFieldConstraint);
+      try {
+        $account = $contexts[$context_id]->getContextValue();
+        unset($account->_skipProtectedUserFieldConstraint);
+      }
+      catch (ContextException $e) {
+      }
       unset($contexts[$context_id]);
     }
     $entity = $this->entityRepository->getCanonical($entity_type_id, $value, $contexts);

 

 

 

 

Plugins Removed – these are plugins that I added and subsequently decide did not need.  Just want to keep track because I may want to put them back later.

Advanced Editor Tools
Advanced TinyMCE Configuration
bbp style pack
bbPress
bbPress Notify (No-Spam)
bbPress WP Tweaks
Black Studio TinyMCE Widget
Breadcrumb NavXT
Category Order and Taxonomy Terms Order
Classic Editor
Contact Form 7
Convert WPBakery to Elementor
Custom Post Type UI
Custom post types
Custom Taxonomy Order
Easy Forms for Mailchimp
Easy Table of Contents
Elementor
Export All URLs
FG Drupal to WordPress Premium
FG Drupal to WordPress Premium Entity Reference module
FG Drupal to WordPress Premium Forum module
FG Drupal to WordPress Premium Webform module
Flexy Breadcrumb
Force Regenerate Thumbnails
GD bbPress Attachments
GD bbPress Tools
Image Source Control
Inline Image Upload for BBPress
Insert PHP Code Snippet
LayerSlider
MC4WP: Mailchimp for WordPress
OTGS Installer
Pods – Custom Content Types and Fields
Post Type Switcher
Redirection
Slider Revolution
Smart Custom Fields
TheGem Demo Import (for WPBakery)
TinyMCE Custom Styles
Toolset Access
Toolset Blocks
Toolset Forms
Toolset Forms Commerce
Toolset Layouts
Toolset Maps
Toolset Module Manager
Toolset Types
Toolset Views
WCK – Custom Fields and Custom Post Types Creator
Wordpress Page Widgets
WP All Export
Yoast SEO
ZillaLikes