languages not change - translation with entity

Hi does anybody has same problem?
I'm doing translation of site with entity and drupal 7. Only two languages (italian and english)
I have tranlate a couple of pages, menu and taxonomy.
Now i want to translate some more pages and the language switcher in editing is not working. 
Shows italian language without possibility of change it in english. 
How can I fix this?

Using Watchdog in a class function

Watchdog logging messages seem to be ignored when included in Class functions that extend a core or contrib. class.  Why is this ?  Thanks.

Database search

search a separate mysql database and list results and details

Question about image markup

I am editing a table created in Drupal back in 2011.

Each row of the table comprises an image and then, below it, some text.

Some of the images are marked up in the table by the familiar HTML img tag. I can locate those images on the server.

Other images are marked up with tags like this:

[[{"type":"media","view_mode":"media_large","fid":"667","attributes":{"alt":"","class":"media-image","height":"183","id":"1","style":"width: 200px; height: 183px;;;;;;","width":"200"}}]]

Full database after hacking attempt

Hello,

My website was down because of the cache_page tab in the database which was full after an hacking attempt (thousand of connexions at the same time : robot !)

I have a cron job on my website which flushs the cache every day but apparently it was not enough. Indeed, the tab was full in just few minutes. I can change the value of the cron execution to 1 hours but I'm not sure that really fix the issue if an other hacking attempt will happening again.

Object name for a content type user field

This line of code..

 return $value = $node->field_article_type['und']['0']['value'];

gives this error..

Notice: Undefined index: value in nodetype_filter_plugin_argument_default_param->get_argument() (line 25 of /home/sites/xxxxxx.com/public_html/d2018a/sites/all/modules/nodetype_filter/nodetype_filter.views.inc).

The machine name of the field is field_article_type.  The value I want to return is 77.

Here is the devel ouput:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x