Variables in page.tpl

My goal is to display a dynamic banner/background contingent on the current page. Seems there should be a variable available within page.tpl.php that would identify the current page. Any suggestions? Documentation (aside from vars listed in default page.tpl.php) is sparse.

Upgrading custom content types from Drupal 6 to Drupal 7

I've got a few modules that define their own custom content types in Drupal 6 with their own tables and data to boot. I want to use the Field API in Drupal 7 for these content types, but I'm not sure about how to import the data from my custom content types into the fields I will create in Drupal 7. Does anyone have any info in the best way to do this?

Fatal error during installation - and I am RTFM!

I'm installing Drupal 7 on the servers at NearlyFreeSpeech.net. (First time with 7, I started with 5.x years ago, used 6.x for a while, it's been about a couple years since then)

After uploading the files, changing the appropriate permissions, creating the MySQL database, I go to install.php. I go through the "choose profile" and "choose language" pages fine, then I hit this error:

Fatal error: Call to undefined function class_implements() in /f5/[mysitenamehere]/public/includes/file.inc on line 141

Installation Warnings/Errors

Im new to this.
I have completely reinstalled Drupal (7.x) 3 times (after erasing all the databases and files) and every time i follow the directions exactly, but i always get errors. I know i have to be doing something wrong.
The installation always seems to work as far as I can tell (apart from the error messages), because i can work on my site with Drupal...but im just curious why i get so many errors and how i can fix it.

Its about a 25 page warning/error list, ill just post a part of the first page:

Warning: unlink(/tmp/update-cache/recaptcha-7.x-1.x-dev.zip) [function.unlink]: Permission denied in drupal_unlink() (line 2139 of/home/xxxxxx5/public_html/electronics/includes/file.inc).
Warning: unlink(/tmp/update-cache/semanticviews-7.x-1.x-dev.zip) [function.unlink]: Permission denied in drupal_unlink() (line 2139 of/home/xxxxxx5/public_html/electronics/includes/file.inc).
Warning: unlink(/tmp/update-cache/search_api-7.x-1.0-beta5.zip) [function.unlink]: Permission denied in drupal_unlink() (line 2139 of/home/xxxxxx5/public_html/electronics/includes/file.inc).
Warning: unlink(/tmp/update-cache/custom_search-7.x-1.6.zip) [function.unlink]: Permission denied in drupal_unlink() (line 2139 of/home/xxxxxx5/public_html/electronics/includes/file.inc).

Gallery photo

Hello

i try to do a photo gallery with drupal
i have follow this procedure (http://www.lullabot.com/articles/photo-galleries-views-attach for D6)

and i have
- 1 content : photo
- 1 content : gallery
- each photo has a field gallery
- 1 view : view_gallery, with a parameter on the field_gallery into photo

i have manage to display the view in my menu

now i would like to be able to create a Super gallery aka a gallery of galleries

Finding good hosting is a nightmare

Ok, so I am on a shared hosting plan with GoDaddy and it sucks. My initial startup time on all my sites, whether I am using 6.x, 7.x, MySQL, or SQlite is anywhere between 12-35 seconds. None of them are big sites, and most average 5 visits a day. I have scoured the internet for reason for this problem, and a solution. Every hosting site I find has miles of complaints against them, all sounding the same as my experience with GoDaddy. Some say stick with shared, some say VPS. I have reached a point where I have no idea what to do.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x