background preloader

Drupal

Facebook Twitter

Overview of theme files. Last updated February 5, 2015. Created on August 28, 2007.Edited by heather, dustise, er.pushpinderrana, drupalshrek. Log in to edit this page. A theme is a collection of files that define the presentation layer. You can also create one or more "sub-themes" or variations on a theme. Drupal 6 Drupal 7 .info (required) All that is required for Drupal to see your theme is a ".info" file. The internal name of the theme is also derived from this file. Info files for themes are new in Drupal 6. Template files (.tpl.php) These templates are used for the (x)HTML markup and PHP variables. Note: The theme registry caches information about the available theming data. Template.php For all the conditional logic and data processing of the output, there is the template.php file.

Sub-themes On the surface, sub-themes behave just like any other theme. Drupal 5 and below required sub-themes to be in sub-directories of the parent theme. Others Looking for support? Signalkuppe | Parole oltre i 4000m. Biblio Facets. 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. 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. The Team Leader will provide both design and technical leadership to a small and highly capable web design/development team in order to develop world-class web pages, features and functionality to support all of the Museum's departments and functions.

Please submit cover letter and resume to: webteamlead@fieldmuseum.org. Training videos from SEO eCOM | drupal.org (Navigation privée) 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. 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. It allows you to connect, relate and classify your website’s content. In Drupal, these terms are gathered within "vocabularies. " The Taxonomy module allows you to create, manage and apply those vocabularies.

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. Looking for support? 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.