D7 - modifying poll creation page?

Goal: all created polls only require a title (eliminate poll-choice, and poll settings sections). When submitted, a poll is automatically created with only two options: yes, no.

I'm thinking I start with overriding a tpl file somewhere, but I can't see which one is used for the poll creation page. Suggestions?

Replace D7 logo image with flash logo

I have made a flash logo the same dimensions as my drupal logo image.

Can someone please show me how to replace the drupal logo image with a flash logo using page.tpl.php ?

If flash is not available, then the default logo.png needs to be displayed.

Thanks !

Comment Form

Hello I was wondering if there was a way to display the comment form as a field in views?

I would like to display a list of nodes using views and under each outputted Body field, I would like the comment field associated with the given node. I am open to any suggestions outside of Views.

Undefined index: highlighted in include()

Can anyone help me, I got this notice:
Undefined index: highlighted in include() (line 120 of /home/xxx/public_html/modules/system/page.tpl.php).

what can I do about it?

Help scheduling in Rules Module

I created a content type called "Article - Timed Unpublish" with a date field. I want the user to be able to choose a day with this date field, that the article will automatically be unpublished on. I have spend a lot of time trying to figure this out. The closest I have gotten is setting up Rules to un-publish an "Article - Timed Un-Publish" node on creation. I cannot figure out how to get the date from the date field, and use this date to schedule a rule to run.

Drupal_render and autocomplete

Hey i am trying to render a field

$form['author']['name'] = array(
	  '#type' => 'textfield',
	  '#title' => t('Authored by'),
	  '#maxlength' => 60,
		'#autocomplete_path' => 'node/autocomplete',
	  '#default_value' => $node->name,
	  '#weight' => -1,
	);

with drupal_render but it keeps giving me this error

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x