1. This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.
    ---
    This screencast shows an alternative – and better – way of overriding small parts of CSS. Instead of overriding the entire CSS file, you can simply add your own file with selective overrides. Pretty smart, when you think about it (since you can continue to rely on the original styling for all the things you *don't* override).
    ---
    This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.

    # vimeo.com/36512322 Uploaded 4,191 Plays 0 Comments
  2. This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.
    ---
    This screencast shows how to add new regions to your sub theme (or change the existing ones). This is done in three steps:
    1. Add a line regions[REGION_MACHINE_NAME] = REGION HUMAN NAME to your .info file
    2. Copy the page.tpl.php file from the base theme to your sub theme
    3. Add at some suitable place in page.tpl.php, preferrable wrapped by some HTML markup and maybe an if statement.

    If you don't declare any regions at all, nine default regions will be added: page_top, page_bottom, content, header, highlight, help, sidebar_first, sidebar_second and footer. (The 'featured' region is not included – sorry for the miss in the recording!) If you declare any regions, you must declare page_top, page_bottom and content, because Drupal requires these to work properly.

    That's it!
    ---
    This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.

    # vimeo.com/35140142 Uploaded 2,611 Plays 2 Comments
  3. This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.
    ---
    This screencast shows how you can use template files to customize the markup on your site. In more detail, it shows:
    * How to use Theme developer (devel_themer) to identify which template file is responsible for the markup of a page element
    * That you can override template files by copying them to your theme.
    * How to use Theme developer to know which variables are available inside the template file.
    * How to override specific use cases of a template file, and how to use Theme developer to find template suggestions.
    * That the template suggestions currently uses underscore ("_") but should actually use hyphens ("-").
    * That you shouldn't create a gazillion template overrides in your theme.
    ---
    This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.

    # vimeo.com/35140346 Uploaded 2,773 Plays 0 Comments
  4. This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.
    ---
    This screencast introduces the concept of *preprocess functions* – functions usually used for adding new variables to your template files. By using preprocess functions you can move complex logic out of the template files, and feed the templates with pre-made variables instead. This is useful for two reasons:
    1. Template files become easier to read if there is a minimal of PHP in them
    2. Template files may be used a lot of times on a single page load. Moving complex stuff into preprocess functions is good from a performance point of view.

    Preprocess functions are places in the *template.php* file of your theme – the theming ninja's weapon of choice. The name of the preprocess function should be YOUR_THEME_preprocess_THEME_HOOK, which for example could translate to jean_preprocess_block. (Template suggestions aren't used in preprocess functions – only the 'base' name of the template file is relevant.)

    *When adding new variables to template files, make sure to end any variable name with unsafe content with '_unsafe'. That will help people to use it in a safe way.*
    ---
    This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.

    # vimeo.com/35141109 Uploaded 2,492 Plays 0 Comments
  5. This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.
    ---
    This screencast shows some more useful things with preprocess functions:

    * How to add a new CSS class in a preprocess function.
    * That you can call drupal_add_css and drupal_add_js to load new CSS or JS files.
    * There is a general hook_preprocess, called for *all* template files. Use with care.
    * There is a hook_process_HOOK being called after the preprocess functions, usually to do things like flatten arrays and other data provided by preprocess hooks.
    * Again: You should be aware of what kind of data you're working with in preprocess functions. (User names, for example, may contain spaces!)
    ---
    This screencast is a part of the epic learning series "Four weeks of Drupal", chapter "Introduction to theming". You can view the full series at http://dev.nodeone.se/en/four-weeks-of-drupal.

    Please post any comments over there, or we won't see them. Sorry.

    # vimeo.com/35141309 Uploaded 1,731 Plays 0 Comments

Nodeone learn theming Css

casper kroon

this is a tutorial series made by Nodeone learnig Theming for Drupal with Css

Browse This Channel

Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.