Best option in Drupal to sync upload content between 2 instances in AWS Load Balancer

Hi,

I have currently setup 2 EC2 server instances with an AWS Elastic Load Balancer. I have a query about how to sync uploaded content files like images between these 2 servers. This is a Drupal website and when content gets uploaded, the files would get uploaded to any 1 of the 2 servers. So how can I sync these files so that they are available on both servers whenever there is a request?

The images are loaded via CloudFront CDN.

Which is the best option for this scenario - Elastic File System (EFS) or S3 or any other alternative?

How can I set Faceted Search correctly?

I want to set what is in this site in faceted search: tarsolykiado.hu

If i click one facet the others disappeared which wouldn't give results. And a minus sign appears before the active facet.

Which is this setting?

I set links widget as well in my other site, but when I click one facet the other facets are still there, which doesn't give results.

Add missing alt tags to a lot of images

I have a lot of images on a site where  there are no alt tags.  Is there an easy/quick way that I can retrieve them from the database and add the tags by updating a table row - or do I need to do it 'image-by-image' ?  Thanks.

Views: Global: Result summary: how to work around?

I have a header on a view in a block to show how many companies are registered in my site.

It is a global result summary.

It displays: @total -- the total records in the set.

This works fine when I use pager:Display all items. I get the total of all the nodes that have been filtered, for example 155 companies.
My problem is that as I have this view as a block and I have set it to only show the latest 2 companies. So  @total -- the total records in the set. shows only 2 as the total.

How to avoid the caching of a menu item?

Hi guys,

I've defined this menu link in a custom module in a Drupal7 site:

$items['librestapi/getitems'] = array(
'page callback' => 'getitems_hook',
'page arguments' => array(),
'access arguments' => array('access librestapi page'),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);

function getitems_hook(){...}

Term Reference Dynamic

Hi guys,
i have two term reference field in my content type:

TERM REFERENCE 1:

  • Test1
  • Test2
  • Test3

TERM REFERENCE 2:

  • SUB1
  • SUB2
  • SUB3

So, If user select Test1 in TERM REFERENCE 1, in TERM REFERENCE 2 must only appear SUB2 and SUB3. 
I tried to solve this with Conditional Field module but there isn't no options for taxonomy term.

Thanks for your support.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x