Customizing my Drupal theme – Adaptive Themes Core

well, it is time that i started customizing my theme. i knew that i would want to do this myself so i put some thought into my theme choice before I started. and I decided to with adaptive themes core.

AT Core 7.x-3.1

AT Core is the framework that drives the responsive layout system and provides an extensive set of tools for theme development. You do not need to enable this theme. Use the provided AT Subtheme to get started.
this theme is pretty basic to begin with. and while it isn’t hard at all to create your own subtheme (and you should do it just to get a good understanding of drupal theme architecture) it is nice that AT comes with one ready to be destroyed. note – if you plan on modifying a theme, make a subtheme out of it first. that way it can still take advantage of upgrades via drupal.org. I also chose it because it is a responsive theme, meaning that it does media queries to determine screen width. This is important for mobile devices and tablets. AT also has good documentation and support. I’ll post links to this post as I find them.
AT on Drupal.org Рthe main page
AT Documentation – Very good stuff here, and professional service options too.
I have my sandbox in pretty good shape. and it is using the same theme and subtheme. So, I will be doing my development there and then transferring the files to prod. Make sure that you disable any caching that you might have enabled so that you get fresh versions of changes as they are made.

Multilingual Modules Installed

I have all these modules installed in Sand and they seem to be OK. I went down this path before and had a lot of errors so this time I am being really careful. I have a better overall understanding of Drupal now so I think it’ll be OK. I’m also quite sure that probably most of the errors were ID10T errors.

Drupal Multilingual Modules DOCResource.org

 

 

 

 

 

Many of the modules are really submodules. You can almost always tell which are submods by the version listed. Here are the modules:odules that I installed. this ss is quick and dirty. i need to get to work. only the highlighted ones are installed

These are the modules and their subs that I enabled:

Translation helpers 7.x-1.0 Provides methods for other modules to use with translated content.

Requires: Content translation (enabled), Locale (enabled)
Language Switcher Dropdown 7.x-1.5 Provides a dropdown select to switch between available languages.

Requires: Locale (enabled)
Localization update 7.x-1.0-beta3 Provides automatic downloads and updates for translations.

Requires: Locale (enabled)
Block languages 7.x-1.8 Enables language selector for blocks and optional block translation.

Requires: Block (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled)
Field translation 7.x-1.8 Translate field properties

Requires: Field (enabled), Field SQL storage (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled)
Contact translation 7.x-1.8 Makes contact categories and replies available for translation.

Requires: Contact (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled)
Internationalization 7.x-1.8 Extends Drupal support for multilingual features.

Requires: Locale (enabled), Variable (enabled)
Required by: String translation (enabled), Block languages (enabled), Contact translation (enabled), Field translation (enabled), Translation sets (enabled), Taxonomy translation (enabled), Multilingual content (enabled), Multilingual forum (enabled), Menu translation (enabled), Path translation (enabled), Translation redirect (enabled), Multilingual select (enabled), Synchronize translations (enabled), Variable translation (enabled), User mail translation (enabled), Views translation (enabled), User Relationships Test module (disabled), XML sitemap internationalization (disabled)
Language icons 7.x-1.0 Adds icons to language links.

Requires: Locale (enabled)
Menu translation 7.x-1.8 Supports translatable custom menu items.

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled), Menu (enabled), String translation (enabled), Translation sets (enabled)
Multilingual content 7.x-1.8 Extended node options for multilingual content

Requires: Content translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled), String translation (enabled)
Required by: Multilingual forum (enabled)
Multilingual forum 7.x-1.8 Enables multilingual forum, translates names and containers.

Requires: Forum (enabled), Taxonomy (enabled), Options (enabled), Field (enabled), Field SQL storage (enabled), Comment (enabled), Text (enabled), Taxonomy translation (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled), Translation sets (enabled), Multilingual content (enabled), Content translation (enabled)
Multilingual select 7.x-1.8 API module for multilingual content selection

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled)
Path translation 7.x-1.8 Define translations for generic paths

Requires: Translation sets (enabled), Internationalization (enabled), Locale (enabled), Variable (enabled)
String translation 7.x-1.8 Provides support for translation of user defined strings.

Requires: Locale (enabled), Internationalization (enabled), Variable (enabled)
Required by: Block languages (enabled), Contact translation (enabled), Field translation (enabled), Taxonomy translation (enabled), Multilingual content (enabled), Multilingual forum (enabled), Menu translation (enabled), Views translation (enabled)
Synchronize translations 7.x-1.8 Synchronizes taxonomy and fields accross translations of the same content.

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled), Content translation (enabled)
Taxonomy translation 7.x-1.8 Enables multilingual taxonomy.

Requires: Taxonomy (enabled), Options (enabled), Field (enabled), Field SQL storage (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled), Translation sets (enabled)
Required by: Multilingual forum (enabled)
Translation redirect 7.x-1.8 Redirect to translated page when available. SEO for multilingual sites.

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled)
Translation sets 7.x-1.8 Simple translation sets API for generic objects

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled)
Required by: Taxonomy translation (enabled), Multilingual forum (enabled), Menu translation (enabled), Path translation (enabled)
User mail translation 7.x-1.8 Translate emails sent from the User module.

Requires: Variable translation (enabled), Internationalization (enabled), Locale (enabled), Variable (enabled), Variable store (enabled), Variable realm (enabled)
Variable translation 7.x-1.8 Multilingual variables that switch language depending on page language.

Requires: Internationalization (enabled), Locale (enabled), Variable (enabled), Variable store (enabled), Variable realm (enabled)
Required by: User mail translation (enabled)
Views translation 7.x-3.x-dev Translation of views strings and content selection for views. Requires Views 3.x

Requires: Views (enabled), Chaos tools (enabled), String translation (enabled), Locale (enabled), Internationalization (enabled), Variable (enabled)
Transliteration 7.x-3.1 Converts non-latin text to US-ASCII and sanitizes file names.
Content 7.x-1.0-beta1 Allows various content types to be sent for translation via the translation dashboard.

Requires: Core (enabled), Content translation (enabled), Locale (enabled), Translate (enabled)
Required by: Google translate (disabled), ICanLocalize translation service (disabled), Local translation service (enabled)
Core 7.x-1.0-beta1 Provides core services for sending and returning translation jobs.

Requires: Content translation (enabled), Locale (enabled)
Required by: Translate (enabled), Content (enabled), Google translate (disabled), ICanLocalize translation service (disabled), Local translation service (enabled)
Translate 7.x-1.0-beta1 Handles translation job management and notification.

Requires: Core (enabled), Content translation (enabled), Locale (enabled)
Required by: Content (enabled), Google translate (disabled), ICanLocalize translation service (disabled), Local translation service (enabled)
ICanLocalize translation service 7.x-1.0-beta1 Localization of content using the ICanLocalize translation service.

Requires: Core (enabled), Content translation (enabled), Locale (enabled), Content (enabled), Translate (enabled)
Local translation service 7.x-1.0-beta1 Localization of content using local translators.

Requires: Core (enabled), Content translation (enabled), Locale (enabled), Content (enabled), Translate (enabled)

Install Flag and Flag Friend Modules

I have these installed in Sand and they are fine. These will expand the features of Drupalchat, User Relationships and Invite Modules.

I am enabling all four below.

Flag 7.x-2.0 Create customized flags that users can set on content.

Required by: Flag actions (disabled), Flag friend (disabled), Flag friend access control (disabled)
Flag actions 7.x-2.0 Execute actions on Flag events.

Requires: Flag (disabled)
Flag friend 7.x-1.0-alpha9 Flag users as friends. Implements it’s own flag and a form for sending a user a message upon flag.

Requires: Flag (disabled)
Required by: Flag friend access control (disabled)
Flag friend access control 7.x-1.0-alpha9 Allows users to specify that only their friends can view this piece of content

Requires: Flag friend (disabled), Flag (disabled)

Production/Sandbox Reconcilliation

That time again. I went through all the installed modules, enabled modules and uninstallable modules and my two environments are now consistent. I also ran a full update and updated the google analytics module. I have 174 modules installed and 138 of those enabled. I also have 54 folders in sites/all/modules on both. This is a pain to do but it is really important to keep your sanbox environment as close to your production as possible.

I also rebuilt the permissions on each environment.

Drupal Core Upgrade 7.20 to 7.21

Core update was released yesterday and since these generally address security issues, always a good idea to put it in place ASAP. Plus, then you won’t have to read all those warnings!

I have installed this on my sandbox and had no issues. I’m doing a reboot now and after checking the status report and a few of the features, i’ll install this on prod. I followed the same procedure as before. Here is the link. Will issue a Change Request when I am done.

Make note that I am on Centos 6.3 and the commands are specifically for this OS. BUYER BEWARE!

Sand and Prod Reconcilliation

I am going to start doing a manual audit of my Sand and Prod environments to make sure the code base is the same, installed and enabled modules are consistent and theming is relatively close. Since these environments run on completely different platforms, (Prod on hosted VM in Virginia at the awesome Blackmesh Hosting Company, Sand here in Memphis on VMWare player) I am doing a weekly audit to make sure that the environments mimic each other as closely as possible.

Audit Complete – 132 of 152 modules installed/enabled.

Sites/all/libraries the same

status report shows all systems running properly

Centos-6.3 at same levels.

Upgrade Drupal Core from 7.19 to 7.20

I’ll be upgrading my core Drupal files to the version that was released this week.

Here is the short link to the proc i use to upgrade core files. I have used it several times and it is sound.

Sand first then prod. I’ll post how it goes later today. shouldn’t take too long.

I’m also going to spend some time in Quality Assurance for Sand, Qual and Prod. Making sure that they are reasonably close in the modules (need to be the same on that) installed and the stylings that are running on prod. Housekeeping. Very important.

here is a good linux command that i always forget. to delete a non-empty linux dir type

rm -rf /dirname

from the directory right above the one that you want to remove.

The core upgrade is complete with no errors/issues. The upgrade was performed on Sand first. No issues there. Cron has run and everything is up to date. Looking good.

Production Change Request

Install updates for Organic Groups and SEO Checklist from Drupal.org

patch file ../sites/all/mods../views/modules/aggregator.views.inc with code supplied by Drupal.org from views_aggregator-category-table-498438.patch. see prev post for URL. installed in sand to correct issue with Views.