XPath scraper

XPath scraper allows you to get data from another website by parsing html using xpath. How does it work: Download and enable XPath scraper module. Create new module that requires XPath scraper and put the configuration at {module_name}/src/Controller/ScraperConfigController.php. Example: kindly see xpath_scraper_test which has the[…]

Twig and Views

I’ve created an aggregated view of a certain content type ‘faq’. Each ‘faq’ node contains 2 entities – entity_icon and entity_faq. After overriding the views-view.html.twig I want to print the values of those entities. All I have is {{ rows }} which represent the list of[…]

cod 7.x-2.0-beta6

Release notes This is an incremental release for COD to update contributed modules (Drupal 7.54 core, cod_support 2.0-beta4) Security updates since 7.x-2.0-beta5: Better Exposed Filters 3.4 (SECURITY UPDATE) oAuth 3.4 (SECURITY UPDATE) title 1.0-alpha 9 (SECURITY UPDATE) Changes since COD 7.x-2.0-beta5: #2791177, #2791483 by japerry:[…]

Fixing "StaticReflectionClass compatibility" warning in development mode

I’ve upgraded from php5 to php7, and I keep seeing these warning messages in the admin area and even on the front end. Warning: Declaration of DoctrineCommonReflectionStaticReflectionClass::newInstance($args) should be compatible with ReflectionClass::newInstance(…$args) in include() (line 444 of vendor/composer/ClassLoader.php). include() (Line: 444) ComposerAutoloadincludeFile(‘/var/www/html/vendor/composer/../doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionClass.php’) (Line: 322) Warning:[…]