This commit is contained in:
Bachir Soussi Chiadmi 2015-06-15 20:53:06 +02:00
parent 2e4a069036
commit 1c1de98039
4 changed files with 834 additions and 871 deletions

View File

@ -256,8 +256,13 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) {
// }
/**
* subscription webform (nid : 11186)
/*
_ _ _ _
___ _ _| |_ ___ ___ ___|_|___| |_|_|___ ___
|_ -| | | . |_ -| _| _| | . | _| | . | |
|___|___|___|___|___|_| |_| _|_| |_|___|_|_|
|_|
//(nid : 11186)
*/
# prefill the webform form with user profil values
@ -707,12 +712,3 @@ function materio_user_mandrill_mailsend_result($result) {
}
}
}
function materio_user_simplenews_subscriptions_multi_block_form_form_alter(&$form, &$form_state, $form_id){
dsm($form_id, 'form_id');
dsm($form, "form");
dsm($form_state, "form_state");
}

File diff suppressed because it is too large Load Diff

View File

@ -1496,14 +1496,14 @@
function initMembershipForm() {
switch(window.location.hash){
case '#1':
case '#a':
$('#edit-submitted-column-left-membership-options-1').attr('checked', 'checked');
// $options.trigger('change');
break;
case '#2':
case '#b':
$('#edit-submitted-column-left-membership-options-2').attr('checked', 'checked');
break;
case '#3':
case '#c':
$('#edit-submitted-column-left-membership-options-3').attr('checked', 'checked');
break;
// default:

View File

@ -788,12 +788,13 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
}
.modal-content &{
padding: 0.5em 0.5em 5em 0.5em;
padding: 2em;
width:400px;
background-color: #fff;
padding:5px;
@include rounded(5px);
@include drop-shadow(0, 0, 7px, 0.4);
#user-register-form{
// hide honeypot field, because drupal.attachbehavior() doesn't work
@ -2131,7 +2132,7 @@ body.page-node-11187{
}
#block-materio-user-user-register{
width:600px; margin: 0 auto;
width:600px; margin: 0 auto; padding:2em;
}
}
@ -3019,25 +3020,6 @@ body.home-v2{
.message-error{
color:#b94a48; @include fs12;
}
.modal-content &{
padding: 0.5em 0.5em 5em 0.5em;
width:400px;
background-color: #fff;
padding:5px;
@include rounded(5px);
#user-register-form{
// hide honeypot field, because drupal.attachbehavior() doesn't work
div.homepage-textfield{display:none;}
.description{
@include fs12;
}
}
}
}
&.showroom{