Renamed tags
This commit is contained in:
parent
787265c628
commit
8f9c42322f
|
@ -5,10 +5,10 @@ use:
|
|||
- posts
|
||||
slug: style-drupal-6s-taxonomy-lists-php-css-and-jquery
|
||||
tags:
|
||||
- Taxonomy
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Drupal Theming
|
||||
- drupal-6
|
||||
- drupal-planet
|
||||
- drupal-theming
|
||||
- taxonomy
|
||||
---
|
||||
Whilst developing this, and other Drupal websites for clients, I decided that I wanted to categorise content using the taxonomy system. However, I wasn't happy with the way that Drupal displayed the terms lists by default, and I started comparing this to other websites that I look at.
|
||||
|
||||
|
|
|
@ -5,11 +5,12 @@ use:
|
|||
- posts
|
||||
slug: using-imagecache-and-imagecrop-my-portfolio
|
||||
tags:
|
||||
- Drupal 6
|
||||
- CCK
|
||||
- ImageCache
|
||||
- ImageField
|
||||
- ImageCrop
|
||||
- drupal
|
||||
- drupal-6
|
||||
- cck
|
||||
- imagecache
|
||||
- imagecrop
|
||||
- imagefield
|
||||
---
|
||||
Whilst working on my own portfolio/testimonial website, I decided to have a portfolio page displaying the name of each site and a thumbnail image. For this Blog post, I'll be using a site called [Popcorn Strips](http://popcornstrips.com) which I built for a friend earlier this year as an example.
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@ use:
|
|||
- posts
|
||||
slug: conditional-email-addresses-webform
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Conditional Email
|
||||
- Webform
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- conditional-email
|
||||
- webform
|
||||
---
|
||||
I created a new Webform to serve as a simple Contact form, but left the main configuration until after I created the form components. I added 'Name', 'Email', 'Subject' and 'Message' fields, as well as a 'Category' select list. Below 'Options', I entered each of my desired options in the following format:
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Drupal Modules
|
||||
- Drupal Theming
|
||||
- Zen
|
||||
- Zenophile
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal-modules
|
||||
- drupal-theming
|
||||
- zen
|
||||
- zenophile
|
||||
---
|
||||
If you use the [Zen](http://drupal.org/project/zen) theme, then you should also be using the [Zenophile](http://drupal.org/project/zenophile) module!
|
||||
|
||||
|
|
|
@ -5,10 +5,11 @@ use:
|
|||
- posts
|
||||
slug: create-slideshow-multiple-images-using-fancy-slide
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Fancy Slide
|
||||
- Slideshow
|
||||
- drupal-planet
|
||||
- drupal
|
||||
- drupal-6
|
||||
- fancy-slide
|
||||
- slideshow
|
||||
---
|
||||
Whilst updating my About page, I thought about creating a slideshow of several images instead of just the one static image. When I looking on Drupal.org, the only slideshow modules were to create slideshows of images that were attached to different nodes - not multiple images attached to one node. Then, I found the [Fancy Slide](http://drupal.org/project/fancy_slide) module. It's a jQuery Slideshow module with features that include integration with the [CCK](http://drupal.org/project/cck), [ImageCache](http://drupal.org/project/imagecache) and [Nodequeue](http://drupal.org/project/nodequeue) modules.
|
||||
|
||||
|
|
|
@ -5,12 +5,13 @@ use:
|
|||
- posts
|
||||
slug: quickly-import-multiples-images-using-imagefieldimport-module
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- ImageField Import
|
||||
- Drupal 6
|
||||
- Photo Gallery
|
||||
- CCK
|
||||
- ImageField
|
||||
- drupal-planet
|
||||
- imagefield-import
|
||||
- drupal
|
||||
- drupal-6
|
||||
- photo-gallery
|
||||
- cck
|
||||
- imagefield
|
||||
---
|
||||
**Thanks to Bob at [Mustardseed Media](http://mustardseedmedia.com) for [tweeting](http://twitter.com/mustardseedinc/status/14713096905) about this module. It's undoubtedly saved me hours of work today alone!**
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ use:
|
|||
- posts
|
||||
slug: improve-jpg-quality-imagecache-and-imageapi
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- ImageCache
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- imagecache
|
||||
---
|
||||
Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren't as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.
|
||||
|
||||
|
|
|
@ -5,10 +5,11 @@ use:
|
|||
- posts
|
||||
slug: create-block-social-media-icons-using-cck-views-and-nodequeue
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Views
|
||||
- Nodequeue
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal
|
||||
- views
|
||||
- nodequeue
|
||||
- oliverdavies.co.uk
|
||||
---
|
||||
I recently decided that I wanted to have a block displayed in a sidebar on my site containing icons and links to my social media profiles - [Twitter](http://twitter.com/opdavies), [Facebook](http://facebook.com/opdavies) etc. I tried the [Follow](http://drupal.org/project/follow) module, but it lacked the option to add extra networks such my [Drupal.org](http://drupal.org/user/381388) account, and my [RSS feed](http://oliverdavies.co.uk/rss.xml). I started to create my own version, and then found [this Blog post](http://www.hankpalan.com/blog/drupal-themes/add-your-social-connections-drupal-icons) by Hank Palan.
|
||||
|
|
|
@ -4,10 +4,10 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Modules
|
||||
- Drupal Modules
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal
|
||||
- drupal-modules
|
||||
---
|
||||
Aside from the obvious candidates such as Views, CCK etc, here are a list of 10 contributed modules that I currently use on each Drupal project.
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@ use:
|
|||
- posts
|
||||
slug: create-flickr-photo-gallery-using-feeds-cck-and-views
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Photo Gallery
|
||||
- Views
|
||||
- CCK
|
||||
- ImageCache
|
||||
- Feeds
|
||||
- FileField
|
||||
- Flickr
|
||||
- ImageField
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- photo-gallery
|
||||
- views
|
||||
- cck
|
||||
- imagecache
|
||||
- feeds
|
||||
- filefield
|
||||
- flickr
|
||||
- imagefield
|
||||
---
|
||||
In this tutorial, I'll show you how to create a photo gallery which uses photos imported from [Flickr](http://www.flickr.com).
|
||||
|
||||
|
|
|
@ -5,12 +5,13 @@ use:
|
|||
- posts
|
||||
slug: change-content-type-multiple-nodes-using-sql
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- SQL
|
||||
- Sequel Pro
|
||||
- Database
|
||||
- Content Types
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal
|
||||
- sql
|
||||
- sequel-pro
|
||||
- database
|
||||
- content-types
|
||||
---
|
||||
In this post, I will be changing values within my Drupal 6 site's database to quickly change the content type of multiple nodes. I will be using a test development site with the core Blog module installed, and converting Blog posts to a custom content type called 'News article'.
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ use:
|
|||
- posts
|
||||
slug: create-virtual-hosts-mac-os-x-using-virtualhostx
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- MAMP
|
||||
- Virtual Hosts
|
||||
- VirtualHostX
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- mamp
|
||||
- virtual-hosts
|
||||
- virtualhostx
|
||||
---
|
||||
This isn't a Drupal related topic per se, but it is a walk-through of one of the applications that I use whilst doing Drupal development work. I assume, like most Mac OS X users, I use [MAMP](http://www.mamp.info/en/index.html) to run Apache, MySQL and PHP locally whilst developing. I also use virtual hosts in Apache to create local .dev domains which are as close as possible to the actual live domains. For example, if I was developing a site called mysite.com, my local development version would be mysite.dev.
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@ use:
|
|||
- posts
|
||||
slug: add-taxonomy-term-multiple-nodes-using-sql
|
||||
tags:
|
||||
- Taxonomy
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- SQL
|
||||
- Sequel Pro
|
||||
- Database
|
||||
- taxonomy
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- sql
|
||||
- sequal-pro
|
||||
- database
|
||||
---
|
||||
**Update:** This can also be done using the [Views Bulk Operations](http://drupal.org/project/views_bulk_operations) module.
|
||||
|
||||
|
|
|
@ -5,11 +5,10 @@ use:
|
|||
- posts
|
||||
slug: review-teleport-module
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Modules
|
||||
- Drupal Modules
|
||||
- Teleport
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal-modules
|
||||
- teleport
|
||||
---
|
||||
As a heavily-reliant [Quicksilver](http://en.wikipedia.org/wiki/Quicksilver_%28software%29) user on my MacBook Pro, I was glad when I found the [Teleport](http://drupal.org/project/teleport) module for [Drupal](http://drupal.org) *(due to Elliott Rothman's [tweet](http://twitter.com/elliotttt/status/18044234238))*.
|
||||
|
||||
|
|
|
@ -5,12 +5,11 @@ use:
|
|||
- posts
|
||||
slug: review-adminhover-module
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Modules
|
||||
- Drupal Modules
|
||||
- Admin:hover
|
||||
- Administration
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- drupal-modules
|
||||
- admin:hover
|
||||
- administration
|
||||
---
|
||||
Sorry for the lack of Blog posts lately, but [my new job](http://horseandcountry.tv) that I started a few weeks ago has certainly been keeping me busy! I've got a few more posts that I'm preparing content for, and I'll hopefully be back into my weekly-post routine before too long!
|
||||
|
||||
|
|
|
@ -5,15 +5,15 @@ use:
|
|||
- posts
|
||||
slug: create-better-photo-gallery-drupal-part-1
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- Photo Gallery
|
||||
- SQL
|
||||
- Views
|
||||
- Sequel Pro
|
||||
- CCK
|
||||
- Views Attach
|
||||
- Drupal
|
||||
- drupal
|
||||
---
|
||||
Recently, I converted a client's static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website.
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: create-better-photo-gallery-drupal-part-2
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- Photo Gallery
|
||||
- SQL
|
||||
- Sequel Pro
|
||||
|
|
|
@ -5,11 +5,11 @@ use:
|
|||
- posts
|
||||
slug: review-image-caption-module
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- Modules
|
||||
- ImageField
|
||||
- Image Caption
|
||||
- drupal-planet
|
||||
- drupal
|
||||
- drupal-6
|
||||
- imagefield
|
||||
- image-caption
|
||||
---
|
||||
Up until as recent as last week, whenever I added an image into one of my Blog posts, I was manually adding the caption below each image and styling it accordingly. That was until I installed the [Image Caption](http://drupal.org/project/image_caption) module.
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: south-wales-drupal-user-group
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- SWDUG
|
||||
---
|
||||
If you do Drupal, and you're in the area, come and join us for the first South Wales Drupal User Group Meetup!
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: create-and-apply-patches
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- Modules
|
||||
- Patch
|
||||
---
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: easily-embed-typekit-fonts-your-drupal-website
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- Drupal 6
|
||||
- drupal-planet
|
||||
- drupal-6
|
||||
- TypeKit
|
||||
---
|
||||
To begin with, you will need to [register for a TypeKit account](https://typekit.com/plans) - there is a free version if you just want to try it out.
|
||||
|
|
|
@ -4,9 +4,8 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- ImageField Import
|
||||
- Module Development
|
||||
- drupal-planet
|
||||
- imagefield-import
|
||||
---
|
||||
I've finally uploaded my first module onto Drupal.org!
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: create-multigroups-drupal-7-using-field-collections
|
||||
tags:
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- CCK
|
||||
- Fields
|
||||
- Field Collection
|
||||
|
|
|
@ -5,12 +5,12 @@ use:
|
|||
- posts
|
||||
slug: create-omega-subtheme-less-css-preprocessor-using-omega-tools-and-drush
|
||||
tags:
|
||||
- Drupal 7
|
||||
- Omega
|
||||
- Theming
|
||||
- LESS
|
||||
- Drupal Planet
|
||||
- Drupal
|
||||
- drupal-7
|
||||
- omega
|
||||
- theming
|
||||
- less
|
||||
- drupal-planet
|
||||
- drupal
|
||||
---
|
||||
In this tutorial I'll be showing how to create an [Omega](http://drupal.org/project/omega) subtheme using the [Omega Tools](http://drupal.org/project/omega_tools) module, and have it working with the [LESS CSS preprocessor](http://lesscss.org).
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.
|
||||
slug: adding-custom-theme-templates-drupal-7
|
||||
tags:
|
||||
- Drupal Planet
|
||||
- drupal-planet
|
||||
---
|
||||
Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ slug: prevent-apache-displaying-text-files-within-web-browser
|
|||
tags:
|
||||
- Apache
|
||||
- Code
|
||||
- Drupal
|
||||
- drupal
|
||||
---
|
||||
When you download [Drupal](http://drupal.org), there are several text files that are placed in the root of your installation. You don't want or need these to be visible to anyone attempting to view them in a browser - especially CHANGELOG.txt as that includes the exact version of Drupal you are running and could therefore have security implications. Rather than delete these files or change the file permissions manually for each file, I can add the following lines into my VirtualHost configuration:
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@ use:
|
|||
- posts
|
||||
slug: add-date-popup-calendar-custom-form
|
||||
tags:
|
||||
- Forms
|
||||
- Form API
|
||||
- Date
|
||||
- Calendar
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- Drupal
|
||||
- forms
|
||||
- form-api
|
||||
- date
|
||||
- calendar
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- drupal
|
||||
---
|
||||
First, I need to download the [Date](http://drupal.org/project/date "Date module on Drupal.org") module, and make my module dependent on date_popup by adding the following line into my module's .info file.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ slug: forward-one-domain-another-using-modrewrite-and-htaccess
|
|||
tags:
|
||||
- .htaccess
|
||||
- Code
|
||||
- Drupal
|
||||
- drupal
|
||||
- Apache
|
||||
- mod_rewrite
|
||||
---
|
||||
|
|
|
@ -6,8 +6,8 @@ use:
|
|||
slug: writing-info-file-drupal-7-theme
|
||||
tags:
|
||||
- Theming
|
||||
- Drupal Theming
|
||||
- Drupal
|
||||
- - drupal-theming
|
||||
- drupal
|
||||
- Code
|
||||
---
|
||||
~~~
|
||||
|
|
|
@ -6,7 +6,7 @@ use:
|
|||
description: If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code. Following the example of the Omega theme, I've started separating my process and preprocess functions into their own files.
|
||||
slug: dividing-drupals-process-and-preprocess-functions-separate-files
|
||||
tags:
|
||||
- Drupal
|
||||
- drupal
|
||||
- Code
|
||||
- Theming
|
||||
- Preprocessing
|
||||
|
|
|
@ -5,12 +5,12 @@ use:
|
|||
- posts
|
||||
description: After a busy few days, I've released two new contrib Drupal modules.
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Modules
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- Accessibility
|
||||
- drupal
|
||||
- drupal-modules
|
||||
- drupal-6
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- accessibility
|
||||
---
|
||||
After a busy few days, I've released two new contrib Drupal modules:
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ use:
|
|||
slug: install-nomensa-media-player-drupal
|
||||
tags:
|
||||
- Accessibility
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Nomensa
|
||||
---
|
||||
*The official documentation for this module is now located at <https://www.drupal.org/node/2383447>. This post was accurate at the time of writing, whereas the documentation page will be kept up to date with any future changes.*
|
||||
|
|
|
@ -6,7 +6,7 @@ use:
|
|||
description: I'm absolutely delighted to announce that I'm going to be writing an article for Linux Journal magazine's upcoming Drupal special.
|
||||
slug: writing-article-linux-journal
|
||||
tags:
|
||||
- Drupal
|
||||
- drupal
|
||||
- Distributions
|
||||
- Installation Profiles
|
||||
- Writing
|
||||
|
|
|
@ -6,9 +6,9 @@ use:
|
|||
description: For reference, this is the code needed to display a menu in a Drupal 7 template file.
|
||||
slug: display-custom-menu-drupal-7-theme-template-file
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- PHP
|
||||
- ARIA
|
||||
---
|
||||
|
|
|
@ -7,9 +7,9 @@ slug: use-sass-and-compass-drupal-7-using-sassy
|
|||
tags:
|
||||
- Compass
|
||||
- CSS
|
||||
- Drupal
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- LESS
|
||||
- Preprocessing
|
||||
- SASS
|
||||
|
|
|
@ -6,10 +6,10 @@ use:
|
|||
description: How to check if a user is logged into Drupal by using the user_is_logged_in() and user_is_anonymous() functions.
|
||||
slug: checking-if-user-logged-drupal-right-way
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-6
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- PHP
|
||||
---
|
||||
I see this regularly when working on Drupal sites when someone wants to check whether the current user is logged in to Drupal (authenticated) or not (anonymous):
|
||||
|
|
|
@ -5,9 +5,9 @@ use:
|
|||
- posts
|
||||
slug: creating-and-using-custom-tokens-drupal-7
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- Drupal 7
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- drupal-7
|
||||
- Tokens
|
||||
---
|
||||
This post outlines the steps required to create your own custom tokens in Drupal.
|
||||
|
|
|
@ -6,8 +6,8 @@ use:
|
|||
description: Whilst watching Drupalize.me's recent Introduction to Git series, I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt. Here's how to do it.
|
||||
slug: display-git-branch-or-tag-names-your-bash-prompt
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Git
|
||||
- Terminal
|
||||
---
|
||||
|
|
|
@ -8,8 +8,8 @@ tags:
|
|||
- SimpleTest
|
||||
- TDD
|
||||
- Test Driven Development
|
||||
- Drupal Planet
|
||||
- Drupal
|
||||
- drupal-planet
|
||||
- drupal
|
||||
---
|
||||
Here are some useful links that I've found when researching about unit testing in Drupal using SimpleTest:
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: creating-local-and-staging-sites-drupals-domain-module-enabled
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Databases
|
||||
- Domain
|
||||
- Table Prefixing
|
||||
|
|
|
@ -5,7 +5,7 @@ use:
|
|||
- posts
|
||||
slug: going-drupalcon
|
||||
tags:
|
||||
- DrupalCon
|
||||
- drupalCon
|
||||
- Precedent
|
||||
---
|
||||
[Precedent](http://www.precedent.co.uk) are sending myself and two of our other Drupal Developers to [Drupalcon Prague](http://prague2013.drupal.org).
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
description: How to quickly create a Zen sub-theme using Drush.
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Drush
|
||||
- Zen
|
||||
- Theming
|
||||
|
|
|
@ -5,7 +5,7 @@ use:
|
|||
- posts
|
||||
tags:
|
||||
- Drush
|
||||
- Drupal Planet
|
||||
- drupal-planet
|
||||
- PHP
|
||||
---
|
||||
There are times when doing Drupal development when you need to run a custom PHP script, maybe moving data from one field to another, that doesn't warrant the time and effort to create a custom module. In this scenario, it would be quicker to write a .php script and bootstrap Drupal to gain access to functions like `node_load()` and `db_query()`.
|
||||
|
|
|
@ -6,7 +6,7 @@ use:
|
|||
description: How to quickly download a patch file and apply it to a Git repository in one line
|
||||
tags:
|
||||
- Git
|
||||
- Drupal Planet
|
||||
- drupal-planet
|
||||
---
|
||||
Testing a patch file is usually a two-step process. First you download the patch file from the source, and then you run a separate command to apply it.
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ use:
|
|||
description: How to download different versions of Drupal core using Drush.
|
||||
slug: download-different-versions-drupal-drush
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Drush
|
||||
---
|
||||
If you use [Drush](https://raw.github.com/drush-ops/drush/master/README.md "About Drush"), it's likely that you've used the `drush pm-download` (or `drush dl` for short) command to start a new project. This command downloads projects from Drupal.org, but if you don't specify a project or type "drush dl drupal", the command will download the current stable version of Drupal core. Currently, this will be Drupal 7 with that being the current stable version of core at the time of writing this post.
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
description: It's all booked, I'm going to be attending DrupalCamp London.
|
||||
tags:
|
||||
- Drupal
|
||||
- DrupalCamp London
|
||||
- drupal
|
||||
- drupalCamp London
|
||||
- Git
|
||||
- Git Flow
|
||||
---
|
||||
|
|
|
@ -8,7 +8,7 @@ slug: what-git-flow
|
|||
tags:
|
||||
- Git
|
||||
- Git Flow
|
||||
- DrupalCamp London
|
||||
- drupalCamp London
|
||||
- Talks
|
||||
tweets: true
|
||||
---
|
||||
|
|
|
@ -4,7 +4,7 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- drupal
|
||||
- Personal
|
||||
---
|
||||
Today was my last day working at [Precedent](http://www.precedent.com). Next week, I'll be starting my [new job](https://assoc.drupal.org/node/18923 "Drupal.org Developer") at the [Drupal Association](http://assoc.drupal.org) working on Drupal's home - [Drupal.org](http://www.drupal.org).
|
||||
|
|
|
@ -4,8 +4,8 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Association
|
||||
- drupal
|
||||
- drupal Association
|
||||
- Personal
|
||||
---
|
||||
This is just a quick post to thank everyone for their comments and congratulations after my previous post about [joining the Drupal Association](/blog/drupal-association). I’m looking forward to my first day in the job tomorrow.
|
|
@ -6,8 +6,8 @@ use:
|
|||
slug: git-format-patch
|
||||
tags:
|
||||
- Patches
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Git
|
||||
---
|
||||
## The Problem
|
||||
|
|
|
@ -4,10 +4,10 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- drupal
|
||||
- Drush
|
||||
- Drush Make
|
||||
- Drupal Bristol
|
||||
- drupal Bristol
|
||||
- Talks
|
||||
---
|
||||
Here are my slides from this month's talk night at the [Drupal Bristol user group](https://groups.drupal.org/bristol-and-west-uk).
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: updating-features-and-adding-components-using-drush
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Drush
|
||||
- Features
|
||||
---
|
||||
|
|
|
@ -7,7 +7,7 @@ description: How to use an SASS each loop to easily add multiple fonts to your C
|
|||
slug: include-css-fonts-using-sass-each-loop
|
||||
tags:
|
||||
- Compass
|
||||
- Drupal Planet
|
||||
- drupal-planet
|
||||
- Fonts
|
||||
- SASS
|
||||
---
|
||||
|
|
|
@ -4,8 +4,8 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Servers
|
||||
---
|
||||
Download the [Stage File Proxy](https://www.drupal.org/project/stage_file_proxy) module from Drupal.org and enable it on your site.
|
||||
|
|
|
@ -5,8 +5,8 @@ use:
|
|||
- posts
|
||||
slug: pantheon-settings-files
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-planet
|
||||
- Pantheon
|
||||
- settings.php
|
||||
---
|
||||
|
|
|
@ -5,11 +5,11 @@ use:
|
|||
- posts
|
||||
slug: include-local-drupal-settings-file-environment-configuration-and-overrides
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Drupal 8
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-6
|
||||
- drupal-7
|
||||
- drupal 8
|
||||
- drupal-planet
|
||||
- settings.php
|
||||
---
|
||||
At the bottom of settings.php, add the following code:
|
||||
|
|
|
@ -4,10 +4,10 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-6
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
- Email
|
||||
draft: true
|
||||
---
|
||||
|
|
|
@ -5,8 +5,8 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal Association
|
||||
- DrupalCamp London
|
||||
- drupal Association
|
||||
- drupalCamp London
|
||||
- Personal
|
||||
tweets: true
|
||||
---
|
||||
|
|
|
@ -5,9 +5,9 @@ nav: blog
|
|||
use:
|
||||
- posts
|
||||
tags:
|
||||
- Drupal
|
||||
- Drupal 7
|
||||
- Drupal Planet
|
||||
- drupal
|
||||
- drupal-7
|
||||
- drupal-planet
|
||||
---
|
||||
This week, my first code patch was [committed to Drupal core](https://www.drupal.org/node/2394517#comment-9773143). The patch adds the `user_has_role()` function to theu user module, to simplify the way to check whether a user in Drupal has been assigned a specific role. This is something that I normally write a custom function for each project, but it's now available in Drupal core as of [7.36](https://www.drupal.org/drupal-7.36-release-notes).
|
||||
|
||||
|
|
Loading…
Reference in a new issue