Looking for review/eval of new Drupal 7 module "Block in block"

I've written a Drupal 7 module called Block in block, and created a sandbox project for it. I would appreciate it if some people would look at it and let me know if they see any issues or problems with the module, or have any suggestions. This includes the description on the project page, README.md, changes needed before requesting promotion, etc. Feel free to let me know if there is a better place for me to ask this.

jQuery example module works in Bartik but not in Bootstrap

I'm using some code out of a book to learn about jQuery in D7.  An example they use works in Bartik but not in Bootstrap.  How to make this work in Bootstrap?

Here's the code to build the basic module:

Info File:

name = blockaway
description = Uses jQuery to hide blocks until a button is clicked.
package = Pro Drupal Development
core = 7.x
files[] = blockaway.module

.module File:

Unable to Edit Views or Delete Content PDOException

I am using Drupal 7 running PHP 7.0.33 and Mysql 5.7.27. Whenever I try to add fields to a view, edit a menu or delete content I get the following error:

PDOException: SQLSTATE[HY000]: General error: 1030 Got error 168 from storage engine: TRUNCATE {cache_admin_menu} ; Array ( ) in cache_clear_all() (line 173 of /var/www/html/includes/cache.inc).

Can anyone explain what is happening here and how to fix it?

Is there a way to use URL parameters in Panel Page selection rules?

I have a Panel Page variation and I would like to use it when someone hits a path like:

new/cars/honda?info

I've made a selection rule like

*/cars/*?info

But it doesn't work.

Would anyone know if this is possible with Selection Rules?

Many thanks

Translate a field as user ability like Twitter

I would like to offer to the users the ability to translate a text field "if they wish".
The behaviour could be similar to the one offered in twitter that user can have the tweet translated

Is there a module that allows this opportunity?

Many Thanks

Computed Field - How many can you have on a single Content Type?

I tried adding a second computed field to a node and it's causing an error.  Here's the code of the first CF:

Computed Code (PHP)
$field_a = field_get_items($entity_type, $entity, "field_device_count");
$field_b = field_get_items($entity_type, $entity, "field_ct_dashboard_vm");
$entity_field[0]["value"] = $field_a[0]["value"] + $field_b[0]["value"];

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x