Skip to content

Drupal 7 – How to edit a value stored in variable table

I have inherited a multi-site in Drupal 7. There is a page where the client needs to edit the title element but this page is not a content type, a block or a taxonomy item!? I have queried the db and found only one instance of the value which needs to be changed. It is stored in the Variable table.

Shopify Tags total items

In Shopify, how do I show a list of tags followed by the number of products with that tag? Example: Black(12), Blue(10). Currently the code looks like this, but it doesn’t work.
{% …

PHP unable to load dynamic library (mongo.so)

i’m trying to use rockmongo. After installation, i’m unable to use it. It says “To make things right, you must install php_mongo module. Here for installation documents on PHP.net.” i have already …

Laravel Eloquent – Attach vs Sync

What is the difference between attach() and sync() in Laravel 4’s Eloquent ORM? I’ve tried to look around but couldn’t find anything! Answer attach(): Insert related models when working with many-to-many relations No array parameter is expected Example: sync(): Similar to the attach() method…