There is a contenttype "teams" and one field "field_name".
I'm trying to change the field description below input field with hook_form_alter() with a custom module (D7)
function teams_form_alter(&$form, &$form_state, $form_id) {
switch ($form_id) {
case 'teams_node_form':
$form['field_name']['#description'] = t('Test');
break;
}
}
I'm creating a theme for drupal 7, based on garland... no problem until now.
I try to make my theme compatible with overlay, but there is something strange with it.
On the overlay.tpl.php page, there is a code print $page;
That display all the page in the overlay. It directly take the informations in the common page.tpl.php file.
The problem is that in my page.tpl.php file I have that code :
I want to have nodes with lyrics and chords on my site. I need a mechanism to display them either as lyrics or as lyrics with chords without creating two nodes for each song.
Basically I need a button on a node that changes the style (css) of the content on click. (I would mark the chord- and lyrics-lines appropriate.) I couldn't find a module that is able to do so.
Maybe I missed one or you know a better technique?
Here is a short example of what I want to accomplish:
I recently installed Drupal 7 to several of my clients sites hosted on a WHM / cPanel hosting service, and came across a number of issues that resolved by using the following PHP.INI file in the root directory of the Drupal 7 installation.
The issues mainly focused on uploading files to the server, such as a custom logo.
I have a drupal 6 site that is currently using the gallery module to bridge a fairly large gallery2 installation. I have been considering moving this into drupal but haven't a clue how to go about it.
My requirments are
1) import file titles, comments, descriptions, and galleries from current G2 database and match them to the correct files
3)Descriptions on thumbnails
2)Subgalleries with descriptions
Currently each user has their own gallery but I would be willing to drop this feature.
I would also be willing too upgrade to Drupal7.