Just recorded a screencast to run you through how to install Drupal using MAMP (assuming similar process in WAMP), and once you get it down you can do the entire process in 4 minutes. Check it out!
Category Archives: drupal
How to create a jQuery Slideshow in Drupal 7 (Screencast)
Due to the overwhelming high numbers of hits on the original post of this, I recorded a screencast of the tutorial. So check it out. At the bottom are the links to the modules and libraries you’ll need. And for text instructions, go back to the original post.
Download this pre-built. Click for details.
Links for modules and libraries you’ll need:
http://drupal.org/project/views
http://drupal.org/project/views_slideshow
http://drupal.org/project/ctools
http://drupal.org/project/libraries
http://jquery.malsup.com/cycle/download.html
Beginning in HTML5
Look here soon for posts on HTML5 and how it plays with Drupal 7, Sharepoint 2010, and WordPress.
How to Create a Custom Front Page in Drupal 7
## Update, I’ve created a screencast for how to create a custom front page in Drupal 7 <- click there
Things you'll need:
(module) Front Page
Step 1: Install the module Front Page
Step 2: Configure
Go to Administration > Configuration > Front Page
By default, Front Page installed on a blank installation of Drupal 7 will give 3 options for settings, Administrators, Authenticated Users, and Anonymous Users. Any additional roles you have created should also show up here. You can set a custom home page for each of your users. I find it easiest to set it for an anonymous user and test in a separate browser as an anonymous user.
You have a few options with how much control over the front page you give yourself (these are copied from the module itself):
- themed: means your default layout, theme and stylesheet will be loaded with your custom front_page.
- full: allows you to have a completely different layout, style sheet etc.
- redirect: will automatically redirect visitors already logged in to a specific page specified in the REDIRECT TO box.
- alias: will display the page listed in path as if it were the home page. This option does not redirect.
- I use the “full” setting. I create my homepage in an html editor on my local machine, put the CSS styles in the header (you can link it to an external stylesheet later if you’d like), and test it out as a standalone page. Then, once you are pleased with the result, paste the entire html document into the “data” textarea. This textarea works just like any other textarea in any other drupal node. So you may choose full html, restricted, or whatever text format types you have created.
- Hope that helps!
Drupal 7 Memory Limit
Recommended settings for the php.ini file for Drupal 7:
memory_limit = 96M
max_execution_time = 200
max_input_time = 200
register_globals = off
output_buffering = 1024
I’m currently testing these settings out on a site, and we’ll see how it goes. Getting a 200 OK error occasionally. Any help is appreciated…we’ll see what happens.
Include external javascript in your Drupal theme file
Go to your theme’s .info file.
Insert a line that says this:
scripts[] = js/script.js
Everything after the ‘=’ is the relative path to your javascript file. This is where you can put your custom actions.
delay: 1d12h
How to Create a PHP Text Format in Drupal 7
Step 1:
Modules > Enable PHP filter, save settings.
Step 2:
Configuration > Text Formats. Click “Add Text Format”. check the “PHP evaluator” checkbox, plus anything else you would like. Also, consider adding this for certain roles only…this is a dangerous tool to give people if they don’t know what they’re doing.