Anchor links do not scroll in chrome- Drupal 7 and Chrome

Anchor tags must look like the below for Chrome to reconginize them and scroll.  (Need to have the <p> or <div> tag, the title should go between the <a> tags.)

Disable a field in the User "Edit" page. Drupal 7 Hook alter and custom user registration fields.

I need to allow users to add information during registration but not allow them to access those fields to edit after the new user account was saved. (Data collection project, if they went into their profiles and changed that data it would mess up our numbers.)

Here's the Hook alter code. :)

Add Drupal 7 user role to a user when they complete a quiz using Quiz and Rules Modules

What I needed:

I needed a rule that assigned a user role to a user after they completed a certain quiz developed in the quiz module.  The reasoning behind adding this new role was we wanted users to complete one quiz before having access to the rest of the quizes on the site.

After researching like crazy here's what I came up with:

Event: Drupal is initialing

Condition: Check Path (In the Path section)

Add HTML Tags to Webform Labels - Drupal 7_ drupal girl - webforms not recognizing html tags in labels

I am sure a lot of people run into this issue.  Allowing html tags on the "label" field in webform form components to change part of the text to bold or other font formats. 

After hours of research on the web... here is the solution... and of course it is crazy easy!

 

Add

$conf['webform_allowed_tags'] = array('a', 'em', 'strong', 'code', 'img', 'ul', 'li', 'u');    

to your setting.php located here > sites/default /

 

Delete Office365 User's Team Site (Group) using SP Powershell SharePoint Online 2017- Drupal Girl

 So there 's a new Group function on SharePoint Online is built in with Team Sites and also has an overlap with exchange online.

Actually I don't know if it's new or not but it's new to me.  Any ways... these sites are notoriously complicated to delete.

Here's an easy way! 

Make sure you have SharePoint Online Powershell.  You can download it here> https://go.microsoft.com/fwlink/p/?LinkId=255251

Down and dirty work around for Drupal 7 Node Export for access denied message- Drupal Girl

I'm on a liquid web server that has great security... But right now I don't have time to deal with all the apache mod stuff... I will do it later but for now.  I needed my Drupal 7 webforms exported and imported to a different site.  Both sites are on the same VPS :(

The only option to export the webform from the one site was to copy and paste the code... (download gave me the same permissions message)    But!  The other site wouldn't import the pasted code because it viewed it as a code injection... so the LiquidWeb VPS shut the import down and was mean to me... 

Q Tips bubble not working properly. Drupal 7 Modules - Drupal Girl

If you find that your Q-tip bubble is not popping up correctly, check and make sure there is no formatting on the text you are trying contain within the q-tip.

I ran into this issue when an editor bolded the text I need to add q-tips to.  Took me a second but that was my solution.  I removed the bold text in the wysiwyg and the q-tip worked properly again.

 

 

Joomla Update is not in Update component- 2.5 to 3

Running Joomla 2.5.14 upgrading to Joomla 3

1. In Components > Joomla Update > Options : set to short term support

2. I went to extensions > Extensions manager > options > preferences : Update caching in 0 hours

3. I then purged cache and discovered 

4. In Components > Joomla Update 

When Node Access doesn't work correctly- Drupal 7 Modules

Had the issue that I enabled Node Access but it was still allowing unauthenticated user to view content that should should have no access to.  There are a couple of ways to go about fixing this.

 

1.Run the Status Report and look half way down the page to the Node Access Permissions section. There is a 'Rebuild Permissions' link there. This function can take a long time if you have a lot of content.  This worked for some but not all users.

Windows 10 will not drag windows to second monitor on Dell

This drove me crazy.  Anytime I tried to drag one of my windows to my other monitor the would get stuck.  Totally thought it was a Windows 10 thing but alas it was really a Dell Premier Color issues.

If you are having this issue search for the Dell Premier Color App on your computer and turn off "Display Splitter" in the advance settings to get rid of this annoying feature before you hurt someone. :)

Pages

Subscribe to Melinda Cozza - Power Platform and CMS Developer RSS