Filter Products By Manufacturer in the PrestaShop Back Office

In this PrestaShop tutorial, we will add a column to filter by manufacturer, in the back office Products Catalog Learn More

Tags: , , , , , | Posted under PrestaShop | Leave a comment

Example Solr Faceted Search blocks

David G - DrupalFor a Drupal site that is using Apache Solr we wanted site visitors to be able to widdle down within search results they are browsing. This is typically called Faceted Searching on search platforms. In a previous blog post I wrote about how to configure Apache Solr locally on your network and how to make Drupal aware of Solr through the Search API. In this blog post I’ll specifically be discussing some of the features you can use with Faceted Searches and Solr + Drupal. Learn More

Tags: , , , , | Posted under Drupal | Leave a comment

Handling Included Files

In the previous articles, we put our functions insi
de a class and included the class file with a line like this:

[code language=”php”]
include MODX_CORE_PATH . ‘components/mycomponentname/model/mymathfunctions.class.php’;
$math = new MyMathFunctions();

The problem with this code is that if the file being included isMODX logo

missing or at a different location, PHP will issue a warning message. Even if the display of PHP warnings is turned off (as it should be for a production site), the second line above will throw a PHP Fatal Error telling you that it can’t find the class. In this article, we’ll look at a more graceful way of handling the problem. Learn More

Tags: , , | Posted under MODX, MODX | Leave a comment