How do I properly use file_copy?

I'm trying to migrate a site to Drupal 7. We previously built a custom CMS and I'm trying to migrate that data to custom content types in Drupal. I'm trying to associate the images appropriately, and I'm trying to use the file_copy method to keep things as clean as possible.

I have written a custom script that is reading data from a csv then looping through to create nodes. When I try to migrate a record, file_copy gives me this error:

Theme overide is not doing what all the documents say it should do.

Ok, this is really winding me up. I am new to Drupal 7 and have been asked to check it out as we might use it to replace an aging Joomla site. I like what I see but can't get the darn theme override to work so that I can have different tpl files for different pages.

I have:

sites/all/themes/pp7/templates/page-front.tpl.php
sites/all/themes/pp7/templates/page-next.tpl.php [with a menu link to [site]/next]
sites/all/themes/pp7/templates/page.tpl.php [default but overriden from core]

Drupal 7 theme questions

Hi Everyone,

I'll try to keep this brief. What I need is some quick pointers on what the correct way to do a few things would be. I am new to Drupal but am capable programmer.

I'm building a site that would list products from a few different brands. The homepage would have a feature image and list the brands with an image and logo.

Access denied to "Create new account" page

Suddenly when an annonymous use tries to access the "Create new account" page, they get a page that says "Access denied - You are not authorized to access this page." How did this happen? It worked after my initial installation. Please help!!! - TheSasquatch

template file naming conventions

Hi,

I am new to Drupal 7 coming from Joomla. I very much like what I see.

One thing which I can't find an easily digestible answer is how to create different templates for different pages. I have a menu item which is pointing to a Basic Page piece of content called 'next'. I have tried to call the template file 'page-next.tpl.php' but it is not picking it up.

Can someone please put me right or point me to a tutorial on this topic?

Many thanks

Views arguments

Hi.
I'm trying to get the name of the author from the page that I'm currently reading. I already try to find something like 'authorname' in some of the $GLOBALS positions but there's nothing there.

The query I'm trying to build is the following one:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x