
HowTo: Create a local environment using MAMP MAMP creates a local server environment on Mac OS X by installing PHP, MySQL, and Apache right out of the box. This will make Drupal much easier to install because the components don't have to be installed separately. This page is to be used in conjunction with the installation instructions for Drupal on Mac OS X. Also you may want to check out this video in the Videocasts section of the handbook: Installing a Local Web Server on Mac OS X. Download MAMP (This will install Apache, MySQL, and PHP in one step.) Download Drupal Find the latest Drupal release here: Move the directory containing the Drupal files into the MAMP htdocs directory: mv drupal-x.x.x/* drupal-x.x.x/.htaccess /Applications/MAMP/htdocs/yourdrupaldir where yourdrupaldir is whatever you want the directory to be called. Note: if you use Finder you may miss moving the .htaccess file which is necessary for clean URLs to work. Create the Drupal database To create a database for Drupal Changing your password NOTE!!
Creating Custom Regions | My Drupal Blog UPDATE The following tutorial covers the creation of custom regions in Drupal 5 themes. If you are using Drupal 6 please see the newer creating custom regions in Drupal 6 themes instead. All Drupal themes you download will come with a number of pre-defined regions into which you can already place blocks (normally header, left-sidebar, content, right-sidebar, footer), but it can sometimes be useful to create your own. This can seem a little daunting at first, but it's really just a simple two-step process: step 1 - define the custom region in your template.php filestep 2 - add the custom region to your page.tpl.php file So, lets see how it works. Step 1 - define the custom region in your template.php file All themes should have a template.php file contained within the theme folder. Open the template.php file in your chosen editor and locate the function titled 'function nameoftheme_regions' (where nameoftheme will be the name of the theme to which you are adding a custom region).
Modules Menu Trail By Path sets the active-trail on menu items according to the current url. For example if you are at yoursite.com/blog/category1/article1 Menu Items with these paths will get the active-trail class on them and expand accordingly. blog blog/category1 blog/category1/article1 This is particularly useful if you want a lot of nodes to appear as children of certain nodes / taxonomy term / views / referenced nodes / etc, but do not want to add them all to the menu. eg. hundreds of blog articles. Menu Trail By Path is best used in conjunction with Pathauto. This module is similar to Menutrails (D6) and Menu Position (D7), except no configuration is needed. 7.x-2.x branch 7.x-2.x branch is completely rewritten. Can also handles breadcrumb by path. 6.x-1.x branch NOTE: The 6.x-1.x branch is no longer supported and will not receive further development.
Drupalize.Me Créer un thème Drupal avec des CSS, et rien d'autre Traduction de la page publiée / actualisée le 11 Mars 2011 sur drupal.org Dans Drupal 6 et Drupal 7, plusieurs améliorations du core facilitent la tâche des concepteurs de thème qui travaillent en CSS et ne touchent pas au code PHP. Le thème Stark a été créé pour aider les concepteurs à connaître le code xhtml généré par Drupal, il fait partie du core de Drupal 7. Les concepteurs de thèmes peuvent maintenant réaliser de superbes thèmes uniquement avec des CSS. Ce tutoriel vous montrera comment créer, en quelques étapes simples, votre propre thème Drupal 6 ou 7 à base de CSS. Etape n° 1 : créer le dossier du thème et le fichier .info La première étape dans la réalisation d'un thème est de créer le dossier où il sera enregistré, et créer le fichier .info pour informer Drupal de son existence. Pour créer le dossier : Créez ce dossier dans le dossier /sites/all/themes Nommez-le votretheme, tout en minuscules Pour créer le fichier .info * Notes :
Research and academia | groups.drupal.org Employment type: Full time Reporting to the Museum's Director of Technology, the Team Leader will work in a hands-on capacity, and will oversee the entire development lifecycle for web projects from conceptualization and project inception to post production support. The Team Leader will interact with representatives of the Museum's various departments (e.g. scientific research, conservation, education, exhibitions, public programming, digital outreach, etc.) to guide and coordinate web page/feature strategy for those departments and for the Museum overall. Please submit cover letter and resume to: webteamlead@fieldmuseum.org
Jello Exposure | Christian Zuckschwerdt's blog Submitted by zany on Fri, 08/22/2008 - 23:17 A very light and bright Drupal theme using the Zen framework. The main color is pure white with delicate gray highlights. The main feature here is a Jello-style layout for Zen. The theme for this site uses the layout.css, try resizing the browser to get an impression of the Jello effect. The actual theme specific css is just lightly themed to present it in a nice way. There is one simple change to the page.tpl.php file, a div#float-wrap is added to wrap the main content and left sidebar so they can be grouped against the right sidebar. The bulk of code is in the layout.css, here are the main changes to the zen/layout-liquid.css as pseudo diff: There is some more rigid vs. elastic positioning, but that's about it.
Using a different domain name for each language | Drupal-Transla Drupal makes it easy to serve different language versions of your websites from different domains. This allows you, for example, to have English contents in www.yourdomain.com and Spanish contents in spanish.yourdomain.com. Different languages can be in subdomains or completely different domains, including different top level domains (TLDs). To do this, you'll need to setup Drupal to serve different languages in different domains and you'll also need to setup your web server to point all domains to the same Drupal site. Setup in Drupal 1) Go to /admin/settings/language/configure and select "Domain name only" as the Language negotiation. 2) Go to the language administration page, /admin/settings/language and edit each language to include the domain name For English: For Spanish: Setup in the server configuration file Once you've set up Drupal to serve differnt languages in different domains, you need to instruct your web server to send requests from multiple domains to the same Drupal site.
Organizing content with taxonomy | drupal.org (Navigation privée Last updated January 12, 2013. Created by firepug on June 7, 2002.Edited by LeeHunter, Cathleen Tracy, Daglees, chrisjlee. Log in to edit this page. Taxonomy, a powerful core module, gives your sites use of the organizational keywords known in other systems as categories, tags, or metadata. New under Drupal 7 is the ability to add taxonomy fields to vocabularies and terms. Taxonomy is the practice of classifying content. Taxonomy can be used in workflow, to customize defined sections of your website with different themes or to display specific content based on taxonomy terms. Taxonomy should be driven by the business requirements of your website, with an eye towards possible future functional expansion. Are there subsections of your site that you would like to look different than the main theme? Many contributed modules rely on Taxonomy--generating, for example, menus based on existing tags. Looking for support?
Clean URLs | drupal.org (Navigation privée) By default, Drupal uses and generates URLs for your site's pages that look like " With so-called clean URLs this would be displayed without the "?q=" as " The style of URLs using "?q=" can be hard to read, and may even prevent some search engines from indexing all the pages of your site. If you decide to use dynamic pages (i.e., the URL contains a "?" If you are unhappy with the default URLs in Drupal, you may be able to tell Drupal to use "clean URLs", eliminating the "? Before enabling clean URLs in the Drupal configuration screens (see below), you may need to prepare your server for clean URLs to work. Clean-Urls Test - False Negatives On some setups the Clean Urls test gives a false negative result. Enabling Clean URLs in Drupal Note: The standard Drupal installation contains a sample .htaccess file which supports clean URLs. Drupal 7.x You can enable or disable it at a later time by following these steps: Drupal 6.x