Hi guys,
I am developing a theme for where I work and I need to have a very special page theme for internal pages. for example when user click on an article he/she will be redirected to the article page which has specific appearance. I know how to design a theme for front_page but I don't know how to do this for internal page of articles or any other content types.
tnx

Comments

yurg’s picture

Hi,

You might want to check Drupal template suggestions ( https://drupal.org/node/1089656 / https://drupal.org/node/223440 ) and create separate page--/node--yourcontenttype.tpl.php or such: depends on how much pages should be themed separately. And / or, "there is a module for that" if you'd like to: try Context ( https://drupal.org/project/context)

Good luck!

stallman’s picture

I've already seen this page but I don't exactly know what to do! I should create separate node templates or page templates?

yurg’s picture

Depends on what exactly do you want to theme. Generally, whole page theme (incl. header / footer areas) requies page--something template while node--something template would be sufficient for just node (say, content area) themeing.

stallman’s picture

Suppose I have a website and there are lots of articles, and I want the website to display very specific theme when users click on any article. so what exactly I have to do? and what tpl.php files I must create?