Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am new to Drupal and I am wrapping my head around all this wonderful information - but it can be a bit daunting at times. I am hoping to make atleast one Drupal friend that I can share some of my highly noobish thoughts with. Friendship isn't entirely one sided - I can bake you cookies or something! Please contact me via yahoo msgr: monika20s or email monika.whitfield@gmail.com.
I'm running drupal on my local computer (Apple and MAMP).
I'm getting a nasty error (see below).
It occurs while I'm trying to edit pages.
Doe anyone know how to solve this ?
Additional uncaught exception thrown while handling exception.
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => nl [:source] => Configure how content input by users is filtered, including allowed HTML tags. Also allows enabling of module-provided filters. [:context] => ) in locale() (line 676 of /Applications/MAMP/htdocs/drupal/modules/locale/locale.module).
Additional
I am looking to hire an experienced Druplar who can set up a few custom pages for a new website related to video gaming. I am building a new site from Drupal 7 and have a template/theme already installed but I have some custom pages I need to add with very specific features and functions. A few of the pages are basic Drupal pages and forms. I don't have the time and need someone who is proficient in D7 who can get the job done. If interested get in touch with me and I will send you the creative brief for the project and we can discuss your fees.
I'm converting a site from D6 to D7. In my D6 template.php, i had picked up a technique that worked perfectly for my site. It allowed me to have customized taxonomy link variables that I could use in my templates.
function MYTHEME_preprocess_node(&$vars, $hook) {
// If we have any terms...
if ($vars['node']->taxonomy) {
// Let's iterate through each term.
foreach ($vars['node']->taxonomy as $term) {
// We will build a new array where there will be as many
// nested arrays as there are vocabularies
// The key for each nested array is the vocabulary ID.
$vocabulary[$term->vid]['taxonomy_term_'. $term->tid] = array(
'title' => $term->name,
'href' => taxonomy_term_path($term),
'attributes' => array(
'rel' => 'tag',
'title' => strip_tags($term->description),
),
);
}
// Making sure vocabularies appear in the same order.
ksort($vocabulary, SORT_NUMERIC);
// We will get rid of the old $terms variable.
unset($vars['terms']);
// And build a new $terms.
foreach ($vocabulary as $vid => $terms) {
// Getting the name of the vocabulary.
$name = taxonomy_vocabulary_load($vid)->name;
// Using the theme('links', ...) function to theme terms list.
I would like a nice forum for my website. Just like the drupal forums here. Does anyone know what drupal community forums uses? It doesnt look like the default forums module.
Hi,
I am developing a custom module uses Form API & tried to display that form on the site. so far, I have read Form API Quickstart Guide and this is what I have got in .module