I was running a module through coder and there were numerous white spaces at the end of the lines. Doing these one at a time would have been awful and was starting to be. I use Komodo Edit for my editor and searching for a function I found this is built in. [...]
Archive for the 'Drupal' Category
Remove Spaces at end of lines easily with Komodo Edit
July 16, 2008Only Show Certain Themes
May 30, 2008I was looking for a way to only show certain themes on admin/build/themes page. I ended up adding some jquery to handle this. I created this script in a js file called theme_list.js.
var themes =new Array();
//Enter themes here into the array.
themes[0] = ‘theme_1′;
themes[1] = ‘theme_2′;
themes[2] = ‘theme_3′;
if(Drupal.jsEnabled) {
$(document).ready(
[...]
Preview Your Theme Styles
May 13, 2008I was working on creating a preview window in the theme settings page for a theme I was implementing. See Garlands preview for an idea of what I’m talking about. It was a simple idea that the user would choose the style they wanted of that theme and it would update an image [...]
Multisite installation steps Drupal
December 14, 2007Create a database for your template site.
Copy the drupal files to your chosen location.
Install drupal according to the main instructions.
Export the tables and data of your new installation.
Open up the exported sql file and make sure there isn’t a create database operation.
This is how you will set up each additional site.
In the database create a [...]
Drupal Facebook CiviCRM
October 23, 2007Wow these things can get complicated. My requirements are Drupal +casAuth or ldap Auth +normal account creation +facebook +CiviCRM Anybody see any possible user management issues with this? I know I do. Not quite sure what to do about managing users in this scenario.
Drupal CCK and Views Tutorial
October 18, 2007I found this tutorial extremely helpful in learning about CCK and views. Give it a shot if you are having problems with understanding what everyone is so excited about cck and views.
http://learn.awakenedvoice.com/2007/07/30/drupal-cck-and-views-tutorial/
Drupal Modules Needed For Current Project
October 15, 2007Yes
TokenCiviCRMEcommerceOrganic GroupsCCKViewsDevelPathautofacebook_authDrupal for FacebookActions
Maybe
Revision ModerationSimplenewsCustom LinksCustom PagersCustom BreadcrumbsDiffWorkflowAutomatic Node TitlesNode ProfileContent TemplatesImage FieldDateCalendarAudioVotingAPIPanelsImageCacheNice
XML SiteMapPorter StemmerAkismetFive StarOpen IDi18n
Enhancements to ad module to fit our needs Drupal
July 5, 2007I changed the function ad_image_display_ad in ad_image.module to put the text of the description in the footer. This meant redoing the query. Works nice now.
Now needs minor css adjustments.