problem with hook_form_alter

I added a new field test to content type "article" through UI, so fieldname is now "field_test"

I created a custom module "moduletest" with following code, because I want to change the background-color of input field:

<?php
function moduletest_form_alter(&$form, &$form_state, $form_id) {

if ($form_id == 'article_node_form') {

	$form['field_test'] = array(
	'#prefix' => '<div id="form_testfield">',
	'#suffix' => '</div>',
	);

}
}

added css-code in style.css of theme:

User Created Vocabularies / Taxonomies any modules or way to do this?

Looking for a way to allow users to create their own taxonomies. I would like users to be able to create and edit their own vocabularies. Are there any current modules that allow this. I see many for creating terms etc but not whole vocabularies.

Vmpwraith

Having an archive page with a list of article titles (instead of the articles themselves)

Hi

PREFACE
I have had a site running Drupal for a year and a half, before that it used Expression Engine and other software. I am an absolute beginner, as someone developed the site and then left, without explaining how to do much. I am basically an editor and not a computer person. I recently found someone who can help me with stuff (fixing menu items, etc.) and do updates, but I thought I would ask here as he is also busy and if I can learn more about how things work,it might help me help him deal with my requests.

Unfortunately, from what i read, this is not really a forum for people like me who were not involved in developing the site, so the answers may go over my head. Please pont me to another forum if that seems best.

THE SITE
http://www.tokyoprogressive.org/ default Japanese
http://www.tokyoprogressive.org/en the English one
(content is the same, reflected at both URLS (except for some menu issues he is working on now)

THE PROBLEM

There is a blue bar menu with items and sub items (categories), but the list gets long, one has to scroll down a long list of categories, and it is not chronological.

Right now, it is possible to see these archives of my site
http://www.tokyoprogressive.org/en/archive

What's the deal with WYSIWYG editor?

Hi guys,

I'm not new to web design / development and CMS packages per se, but very new to Drupal. My interest in Drupal has been growing over the last year because I've heard good things about the community and also because it's going to include custom fields by default in version 7, which nowadays is probably essential to any good dynamic web project. Of course let alone that it's now a pretty mature and well supported product.

However I have a very simple question that is probably turning into a crucial point in choosing Drupal for any future projects and this question has to do with the text editor.

I guess we all know the editor is one of the most important things for a client (aka the non technical person that wants a simple to use back end that looks like Word!). I guess this is the reason most packages I've used come with a WYSIWYG editor out of the box. The Word Press TinyMCE is great in my opinion. It's all integrated and now really mature.

Why hasn't Drupal made a similar choice? I know someone will say that there is a module that can be installed and that ANY editor can then be used, but why should the user make the choice, why should I be exposed to bugs and potential incompatibilities if I don't have experience? Why should I even sit there trying to understand which editor works best with the addon?

Front Page "500 Internal Server Error" after 6=>7rc3 upgrade [FIXED]

[UPDATE] There was a block on the troublesome pages with php code in it that no longer worked, so I fixed the problem for now by deactivating the block.

After upgrading from 6 to 7rc3 I have a "500 Internal Server Error" on the site front page (http://mydrupalsite.com/) and on the forum front page (http://mydrupalsite.com/forum).

Good tutorials on OG/Spaces/Context/Features cluster?

I am looking for good tutorials on combining Organic Groups, Spaces, Context and Features modules. I've read the handbook and Development Seed blog posts, along with numerous other things from google. A lot of this stuff was written before all the dust had settled on all the features in this cluster. Do you know any comprehensive screencasts, blog posts or books that cover this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x