Make my custom module translatable and cachable

I have this custom module:

texture_list.info

name = Texture List
description = Auto populates select list on a block with the Product Display texture fields.
package = Custom
core = 7.x

texture_list.install

<?php

/**
 * Force clear cache.
 */
function texture_list_update_7001() {
	cache_clear_all();
}

texture_list.module

How to get multiple items to display in one field - Drupal 7

I have two content types: movies and directors.

Movies have a field called "director", which is an entity reference to the director's type. 

I am now trying to create a view of all of the directors and have all of their movies listed next to them. I have created a 'referencing entity" relationship and have added a field for the movie title content. 

However, it is creating two entries for the same director, rather than one entry with both movies listed under the director. I am wondering if it is possible to fix this?

 

Custom content type not available in Simpletest

Hi all,

I have been trying to develop tests for a custom module of mine using the Simpletest module (Drupal 7.73 installation). I can't seem to access a custom content type I have created within my module.

Using GitHub To Install Drupal 7 Using GitHub "Secrets" File For Database Credentials - install.php Problem

Hi,

I'm working on a development install of Drupal 7. It needs to be Drupal 7 to mimic a production D7 site we have now. That will be upgraded later.  

How do I add introductory text to views pages?

Hi,

I have been looking for some way to add an introductory content to a view. I know that it can be added in views configuration, but in this case, the person who will manage content will not be able to edit it. Besides, I am using a cloned taxonomy view showing certain fields. There is an already defined content type with taxonomies which will display with titles and body. So, to show only the introductory content, I decided to create a new content type.

block some 3rd party cookie

Is there a way to block some 3rd party cookie in a website?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x