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.
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
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?
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