Building $forms and adding html

I am new to drupal and am writing a module to add additional attributes to Roles (Drupal 7). I have everything working, but am now trying to enhance the form. Is it possible to add html to a $form?

I added additional attributes to Drupal Roles and have implemented hook_form_FORM_ID_alter to add the additional fields. I would like to just add some html at the bottom of the form like " Created on - " and assign it REQUEST_TIME and say "Created by - " and assign the current user. Does anyone have the specific hooks that I can use?

Content autotags

Hello guys,
there is a question about autotags. I am using Drupal 7 and i need to make autotags from article content. There is a module called "Taxonomy Autotagger", but it works only on Drupal 6. Can you suggest any alternative or modification? Can i force install Drupal not supported module?
Thank you

Looking for module to replace 37signals' Backpack Reminders

I'm looking for a module to allow end-users to write a message and have it emailed to them at a specified time. Just like 37signals' Backpack reminders. Just a simple form. Does something like this exist?

Help with a draggable form in drupal 7

I am updating a draggable form from drupal 6 to 7. If i change the value of weight on the select box, it changes and saves it, but if i drag and drop, it do not change the value. I found some samples, but they are only for drupal 6, where it works, i have made some changes from drupal 6 and it is as this, the full file is at http://drupalcode.org/viewvc/drupal/contributions/modules/customfilter/c...
This is the only thing left to a drupal 7 version, and any help/tip is welcome, thanks.


function theme_customfilter_rules_form($vars) {
$form = $vars['form'];

$rows = array();
if (isset($form['rules'])) {
foreach (element_children($form['rules']) as $rid) {
$row = array();

$element = &$form['rules'][$rid];

$element['prid']['#attributes']['class'] = 'rule-prid';
$element['rid']['#attributes']['class'] = 'rule-rid';
$element['weight']['#attributes']['class'] = 'rule-weight';

$row[] = (
// @todo Fix this for indentation
//theme('indentation', $element['level']['#value']) .
$element['name']['#value']
);

$row[] = (
drupal_render($element['rid']) .
drupal_render($element['prid']) .
drupal_render($element['weight'])
);
$row[] = drupal_render($element['enabled']);

Page with alias "home" keeps disappearing when I create it

I have Drupal 7-rc4 installed, and I had a home page with the alias "home" created, but then it disappeared. I get a Page Not Found error when I try to go to it. I've tried deleting the page and recreating it, but I keep getting the same problem. This isn't happening for pages with other aliases, only "home." Any ideas?

Tags & node.tpl

In node.tpl it shows keywords at the bottom of the content area. I am wanting to hide and render it further down. However I cannot figure out what field_value I should hide. Does anyone know?

When I move it I just want to display it horizontally, without the current div's surrounding it. Can I do this with node.tpl or do I have to change the module?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x