I'm new to Drupal and am learning my way around, I didn't know the best way to create different sections in drupal that would have different blocks on them, is this easily possible, I've seen it down on some sites, but I'm not sure if its created in more of a static form, ie http://urlgreyhot.com/ I've downloaded several modules but think I've just ended up confusing myself. I have minimal PHP experience but am a quick learner, and am working my way around CSS. I'm more of an old school HTML and Java Programmer.

What I am looking to do, create a portfolio site with top navigation and secondary side navigation that changes per section. ie the blog would have recent blog submissions etc.. but this wouldn't show if you are in another section in regards to an article or image gallery.

Also as a side note.. is there a way, in the same context to have browse archive calendar browse blogs in the blog section, and articles in the article section?

Thanks guys, I'm really impressed with Drupal and am now trying to get it work with me. hehe.
m@

Comments

sepeck’s picture

Go to administer / block, more help link(on right)

partial paste

If the block should only show up on blog pages, use <^blog>. To display on all node views use <^node>. The angular brackets are used as delimiters of the regular expression. To show up on either forum or book pages use <^(forum|book)>. The round brackets form a group of expressions, divided by the | character. It matches if any of the expressions in it match. A more complicated example is <^node/add/(story|blog|image)>. Blocks which have their paths set to this expression will show up on story, block, or image composition pages. If you want to show a block an all pages, but not the search page, use <^(?!search)>.

and urlgreyhot is not a beginners site, though you can do it. If I recall, urlgreyhot uses one of the multi-site setups to get the professional/personal stuff sectioned out.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Poolio’s picture

check out this forum topic. it's the best one I've seen on the subject.

Put your money where your mouth is!

AndrewE’s picture

Are there any links to guides that tell you how do do the multi setups?
Can anyone explain?

God working with Drupal I feel like I'm 10 years old again!! It's no walk in the park that's for sure! Gotta keep trying :)

Prometheus6’s picture

http://drupal.org/node/274

The first time, I tried it I ran into a problem. I was converting two domains set up on a single machine but they pointed to different directories, and I had images and archives I wanted to preserve access to. It was a mess and I wound up using seperate source trees for each.

When I decided I didn't need the old archives and such because I had imported all the entries into Drupal 4.5 AND I changed to a dedicated server it was more straightforward.

1- set up both domains (call them www1.example.com and www2.example.com) so they point to the same directory on the server(call it /drupal, for example).
2- install Drupal in that directory
3- locate conf.php in the /drupal/include directory
4- in /drupal/include make two copies of conf.php. name them www1.example.com.php and www2.example.com.php. These will be used when the site is accessed via http://www1.example.com and http://www1.example.com respectively.
5- edit the site-specific stuff in each of your configuration files. In the simplest case this would be the individual database host, name, user name and password. Another possibility would be sharing a single database between the two domain names, which involves editing the database setup script a bit.

Technically in step four you only need to make one copy of conf.php because it will be used as a "fall back" configuration.

More detail on this technique is at
http://drupal.org/node/278

And Drupal 4.6 will have a slightly different and far more powerful method that will let you have site specific modules availability.