Submitted by melinda on Tue, 05/24/2016 - 16:07
This drove me crazy for a few minutes... haha... so I'd thought I'd share.
- CTRL+B to turn on the menu bar.
- File> Devices> Transfer Purchases from "Your Device"
Submitted by melinda on Wed, 05/04/2016 - 16:06
The below instructions will show you how to put all newly created user accounts in a probationary period for 30 days using Drupal 7 Rules and Rule Scheduler Modules. During this 30 days when a new user creates any content, it will be unpublished until a admin publishes it. Administrators will receive an email letting them know that a probationary user has created content and it needs attention. This email will provide the administrators with a link to the newly created content so they can publish it.
Submitted by melinda on Wed, 03/02/2016 - 16:19
Scenario- A request came in that I develop a newsletter for users that choose a certain profession in their user account profile. IE: All Physicians would be added to a role created named "Physicians" and only users with the permission role "Physicians" would be allow to view certain content on the site and receive the "Physicians Only" newsletter. We had about 1000 or so existing users in the database that currently held the job profession as "Physician". Sooooooo I needed to assign all those existing users the role "Physician". Here are the steps...
Submitted by melinda on Thu, 01/07/2016 - 09:27
.div-class-name{
width: 80%;
padding: 0 0 0 0;
-webkit-transition: all 0.7s ease;
transition: all 0.7s ease;
-webkit-box-shadow: 0px 0px 15px 5px rgba(136,136,136,1);
-moz-box-shadow: 0px 0px 15px 5px rgba(136,136,136,1);
box-shadow: 0px 0px 15px 5px rgba(136,136,136,1);
}
.div-class-name:hover{
-webkit-box-shadow: 0px 0px 5px 11px rgba(77,74,77,1);
-moz-box-shadow: 0px 0px 5px 11px rgba(77,74,77,1);
box-shadow: 0px 0px 5px 11px rgba(77,74,77,1);
}
Submitted by melinda on Thu, 12/17/2015 - 16:04
First check your file system paths in the configuration page.
Then make sure you have the .htaccess from old site migrated to new sevrer as well.
The broken images happened to me when I decided to install a new instance of Drupal core on the server before migrating existing site from another server.
The .htaccess file was not migrated over and that caused the image paths to breaks.
Submitted by melinda on Thu, 12/17/2015 - 09:54
Here's the code you add to the template.php
function your_theme_name_form_alter(&$form, &$form_state, $form_id){
if($form_id == "views_exposed_form"){// not to be changed form_id
if (isset($form['title'])) { //title is name attribute value of input
$form['title']['#attributes'] = array('placeholder' => array(t('keywords')));
}
}
}
Submitted by melinda on Tue, 12/15/2015 - 15:15
If using rewrite as link as node/ [nid] you need to be sure that Node: Nid is added as a field. Set it to 'exclude' from display. Make sure that Node: Nid comes first in the fields section.
Submitted by melinda on Sun, 10/25/2015 - 13:47
For all who had issues getting the Drupal 7 Bootstrap theme radio buttons on the registration form to behave.
Code:
<div class="form-type-radio form-item-field-whatever">
<input type="radio" id="edit-field-whatever-field" name="field_whatever" value="no" class="form-radio" /> <label for="edit-field-whatever-field">No </label>
</div>
CSS:
#edit-field-whatever-field {
margin-left: 0;
}
CSS selector is the radio button's ID
Pages