This forum is for assistance with theme development.

Where are Drupal-wide global variables supposed to be defined?

in my template.php I have a 'convenience' var I use, "$my_theme_dir".

over time, I've used it more widely in template.php, and across my site.

e.g., it's cropped up in both

	function my_theme_preprocess_html(&$vars) {
		global $my_theme_dir;
		$my_theme_dir = drupal_get_path('theme', 'my_theme');
		$vars['my_theme_dir'] = $my_theme_dir;
		...
	}

and

Image with Image Style not uploading to correct directory

Hello,
I created an image style with in drupal. I applied the style to the image that I wanted it to and it's not showing up. I looked in firebug as well as my ftp and found that my image I uploaded isn't uploading (if at all) to the correct folder. I changed permissions on the folder to 7777 and it's still not uploading. Suggestions?

Thank you in advance!!

Bartik full screen

I use the Bartik theme.
I wish the theme was in full screen.
Is it possible to make it wider viewing it at 100%?
The Right and the Left Column must be completely on the sides

I have noticed that there are files html.tpl.php and page.tpl.php

But I did not understand where I can perform the changes to make it visible at 100%

thanks

Gaetano

Setting up two registration paths

I am using profile2 registration to create two registration paths, one for a 'business' account and one for an 'individual' account.

The business account is created at mydomain.com/business/register
The individual account at mydomain.com/individual/register

Use Youtube Thumbnails for Pager Images in Views Slideshow

Ok, I'm still fairly new to Drupal and I've been searching the web for this for like 3 days straight. All I want to do is create this exact same video sidebar that is in the "Our Channel" section on http://rocnation.com/about/

Applying styles to Display Suite

I'm still learning Drupal and have been using Display Suite as a way of formatting my site without having to code up my own templates (I'm comfortable with PHP and CSS3, but not enough to venture out alone quite yet).

I've used the 3 column fluid stacked to help manage the placement of text and images, but i have a couple of questions.

Pages

Subscribe with RSS Subscribe to RSS - Theme development