Custom tpl.php by node type

hi,

i always getting stucked with tpl.php files.

I created a node-type called "fotos", now I want to make an extra tpl-file for this node type. But (after clearing the cache) it doesnt show any effect.
I named the file "node-fotos.tpl.php"
Is this correct?

I also tried (for testing) node.tpl.php - this is showing an effect, but of course on all nodes.

thanks for any help,
Marc

file_save_upload and $destination

Ok. I tried just about every combination/example that I can think of...

No matter what I type as the $destination for the function file_save_upload(), it always says invalid or nothing gets uploaded.

Here's my code, can someone please explain why the $destination variable isn't working?

OR... if there's a better way to create a form module that uploads images, please let me know. thank you

Search question

Hi all

I am almost finished with a converting a site to drupal.
But one of the last tasks is giving me a headache.

1 I need to limit the search to just 1 content type.

How to add a side menu??

Hi,

Im a newbie when it comes to Drupal, but it looks great! Im still learning :)

I am trying to figure out how the navigation menu works.. it there but I cant add a freaking menu link om it, only main menu.
I using the Corolla theme.

How do I make it work?
I want to have it like this site: http://nodeone.se/drupal , the menu on the right.

Drupal Admin Training South Africa

Hi I am looking for training in drupal admin in South Africa. Please can you help

Alter main menu as a footer

So I have my main menu appearing in my footer besides the top so there is some consistency and when I add this menu it puts in list form but I want to inline them all next to each other. How would I do this? Is there an easy way? I also want to get rid of the title "Main Menu" but there is no option to do that in the block. Is there an easy way to style a block from a list form into a inline form?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x