Advice on best practices when creating a new theme

I have started using D7 for the first time and I am making good progress with my theme, what I need to understand is how I should approach adding bespoke elements to the theme template.

Any links to tutorials would be really helpful and most welcome.

One bespoke element I would like to include is a flash movie which loads random images from a specified folder on every page. How should I embed swf's into my template? Normally I use swfobject in my sites, is it the same for Drupal sites?

Creating multi-country multi-lingual site in Drupal 7

I am looking to convert a group of multi-country, multi-lingual websites to Drupal but have run into a bit of a roadblock. The existing sites have the following structure: www.example.com/us/en, www.example.com/ca/en, www.example.com/ca/fr - basically domain/country/language. In the system we are currently using, we have about 26 translations, one for each country/language combination.

Multi language with views

I'm on Drupal 7

Where can I find in views, the filter "Node translation: Language" ?
Maybe I forgot something but, this functionality is not available in my views filters.

Can someone help me please ?
I just want to filter node language on user's current language.

Thanks

Active trail in main-menu not working

I've got problems with keaping active-trail to menu parent item
I am using D7
with installed - menu-block
Zen sub theme

Using my main-menu as menu block in navigation region with following options:

Menu [Main menu]
Starting level [1st level(primary)]
x Make the starting level follow the active menu item
Starting level will be [Active menu item]
Maximum depth [Unlimited]
x Expand all children of this tree

In my main-menu I've got following structure
-Parent

problem while Storing checkboxes values in database

Hi Everybody,
I have created custom form for employee creation, and i have provided Roles Option as check boxes on the form. but when i am going to submit the form.., it stores all the check boxes values in the databases whether checkboxes were selected or not?
Here is the code snippet

Edit all /search/node

Hi all,

I try to edit my /search/node template.
I would like to edit all the html code, and to add a subtitle at the beginning.

I tried to edit :
search-result.tpl.php
search-results.tpl.php

But i noticed that search-results only concerns the code after the form, not all the page.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x