Change video on radio button click

Hello,

I have drupal 7 site. I want to add three questions with two radio buttons as answer. On radio button click I want to change the video related to that answer. Only one question should display at a time. After answering all questions it should send an email with additional information.

How can I achieve this in drupal 7. Any help will be great for me.

Thanks in advance.

Urgently need help: migrate Drupal from one web hosting to another

Hi,

I migrate my Drupal 7 site from web hosting A to hosting B.

Under Hosting A, I used following SSH to backup folders and files:
tar --create --gzip --verbose --file=files_backup.tgz site_foldername

and used following SSH to backup database:
mysqldump -uhosta_admin -ppassworda --add-drop-database hosta_databasename > database_backup.sql

---------------------------
So, I have two files of the whole website backup:
files_backup.tgz
database_backup.sql

-----------------------------
On the web hosting b, I create an empty database (hostb_databasename) with user hostb_admin

I used following SSH to restore database:
mysql -uhostb_admin -ppasswordb hostb_databasename < database_backup.sql

and used following SSH to restore folders and files:
tar -xvzf files_backup.tgz

-------------------------
Next step, I updated the sites/defaule/settings.php file with the database, username and possword associated with web hosting b.

------------------------

I assume everything would be fine, but when I open website, I got following error:

Error

The website encountered an unexpected error. Please try again later.

PDOException: SQLSTATE[28000] [1045] Access denied for user 'hostb_admin'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of /home5/******/public_html/includes/lock.inc).

----------------------

site unable to send password via email

I have been trying to solve this iossue for the apst week. I have installed PHPmailer, HTMLmailer, MIme SMTP AUTHen

nothing helped. I am getting this error message

Warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent. in DefaultMailSystem->mail() (line 76 of /home/content/55/8316055/html/rochestervi/modules/system/system.mail.inc).
Severity warning

How To? User Selects Charts and Generate Page

I have a bunch of charts and graphs in different directories, for instance, the structure looks something like:

chart/broad_chart_type/narrower_chart_type/chart_category/chart.png

Where I have different types of chart types (different directories). The end result is over 500 types of charts.

My question is: what is the best way for user's to access all of these so that the charts appear either in the content or a block on the page?

Custom field (Field API) that includes an image

I'm writing a custom module that creates a new field type. I used the examples project as a great primer, and successfully created a type that consisted of 3 text fields that related to each other.

However, now I'm trying to build a type that is a text field, a long text field, and an Image field. I've found a couple other people asking this question, but no answers.

Specifically, I'm not sure how to define the schema in MYTYPE_field_schema or the widgets in MYTYPE_field_widget_form for the long text and image.

My Superfish Module CSS doesn't load properly

My Superfish menu module CSS files always get injected correctly on my local setup. However, when hosted, key CSS files required to style the menus do not load. When I clear the cache, it fixes it temporarily. When I refresh just minutes later, it loses the CSS again. Please help! Thanks!

R

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x