page.tpl.php not being overridden

I am using this in my settings.php:


$THEME_URLS = array(
	array('/departments/site-facilities/environment','environment2013),
	);
foreach ( $THEME_URLS as $info)
	if ( strpos($_SERVER['REQUEST_URI'],$info[0])===0)
		$conf['theme_default'] = $info[1];

It's working as far as switching to the 'environment2013' theme with any page url containing "/departments/site-facilities/environment" but I noticed, it is not picking up the page.tpl.php template within that themes folder.

Using views to list nodes with terms from different vocabularys

Hi,

I have a content type with two taxonomy vocabularys, each one is required and unique, like this

vocabulary country : usa, france, spain, england, ...
vocabulary category : vehicule, technology, investment, ...

I want to create a view that list the latest nodes with there title, country and category, like this :

node title 1--------------- spain -----------------technology
node title 2--------------- usa -----------------vehicule
...
...

The theme does not apply to all the website's pages

Hi,

I am trying to create a new website page. For this purpose I chose content type, but when I create a new page, it doesn't follow the common theme template. The common template has blocks on the right, which are located right next to the text. On a new page however, the blocks are shifted below the text. I have made an image of what I mean: https://www.dropbox.com/s/brp0j0k8x0s3d6u/content.png

contact fields not received by mail

Hello

I have a contact form on my website where I added few fields (Name, Phone number ...). When I receive the mail from the website, it only contains the content of the message. All other fields, even required ones, are not received.

Could any one tell me where I can find these information ? and how can I make them sent by mail ?

Thanks

Pages: Variants and selection rules on url

I've made custom page, added a variant and made a selection rule that specifies a url.

However, though that page has content and is enabled, when I enter that url I get a "page not found."

I can't see where or what I'm forgetting.

I thought the basics were: create a page, put some content in, specify the url where it is to show (if that's the choice) and make sure the page is enabled. boom.

What else could be wrong?

mod_rewrite of alias url

I updated the url alias of many pages and would like to write a mod_rewrite so that indexed search results go to the new alias. I tried many different RewriteRule statements all of which should work, and none seem to be working. I am putting the statements on .htaccess in public_html (where the site is installed). Could someone please help? I'm assuming the issue is that I'm dealing with alias url's. I want to redirect all pages with former url alias 'old' to new url alias 'new'.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x