How to format a view

I am trying to build a view, but wanted to show the title and a teaser. I wanted to make my own template for the view.

<h2><a href="<?php print $nid; ?>"><?php print $title; ?></a></h2>
<p><?php print $teaser; ?></p>

How can I accomplish that?

Contextual links instead of tabs

Is it possible to have contextual links on the title / headline of a node instead of printing the tabs (view and edit) underneath.

Clever urls

I am rewriting vih.dk to drupal. On vih.dk I have split the page into some sections, for instance:

- courses (http://vih.dk/langekurser)
- news (http://vih.dk/nyheder)

How can I accomplish something similar in Drupal? What if I wanted two levels - for instance http://vih.dk/courses/subjects

2nd level of the menu

I am rewriting http://www.vejleidraetsefterskole.dk to Drupal 7. I have run into a problem with the menu. I have printed the main menu using the following:

if ($main_menu):

Content dependent decoration

I am rewriting vih.dk to Drupal 7 (from a home grown system). The individual pages should be decorated according to the content on the page.

We are using two things at the moment:

1) Props, e.g. soccer boots and soccer balls
2) Different backgrounds, e.g. grass and a floor

Allow user to download .csv file based on URL

Dear Drupal experts,

I am a newbie to Drupal but I have successfully installed Drupal on my PC. I would like to allow users to download .csv files based on the URL. The parameters which define what information to be downloaded will be specified in the URL. I am not sure whether this can be done in the first place. Is there a ready module to use for this task? As I am a newbie, I do not even know how to start. Could someone point me to a starting place like which API to use?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x