Hi, I'm a newbie and I'm building my first website in drupal. So far it's been one hell of a ride... I'm loving the simplicity and eager to learn more... I've been going of from tutorials and themes to get to know how drupal works... and been doing pretty good so far... but I'm at a dead end and would appreciate some help.

Here's my question: can the primary links be assigned to specific nodes/pages?

Any tips, or if you could point me in the right direction, I'd appreciate it. Thanks!

Comments

nevets’s picture

Yes, you just need to know the path, for example nodes have paths like node/{nid} where {nid} is a node id (number), ex: node/123. In general if you visit a page the part after the domain name will be the path. Ex: http://www.example,com/taxonomy/term/1, taxonomy/term/1 will be the path. If not using clean urls the part after q= will be the path.

gustavo_e’s picture

I think I didn't make my self clear... sorry about that... I'm so new at this that I don't even know how to explain it. But here goes again:

Lets say I have 5 pages: HOME - FOOD - MUSIC - MOVIES - BOOKS ... and each one of these pages is a blog about that Subject, and on the top of each page I need to have the days of the current month, aligned left to right (like primary links are)
under de header, so when I'm inside FOOD section I will have APRIL 1, 2, 3, 4, 5... 30 on the top.. and the current day (Apr 4) is bold, and the past days ( 1, 2, 3 ) are links to the past pages... but you are still in FOOD... it's like going back to check out FOOD section on Apr 3.

So the same thing is for all the other Sections...

- my initial logic told me that I should make one Navigation per Page and assign it to that page (page:FOOD, menu:foodnavapr) but these navigation are being made as lists going down... and it's messing up my layout because I need it to go left to right, not top to botton.

- my second attempt was creating the primary links as the days.. but that works as one navigation for the entire site.

So I guess my questions are:

1. Can I make a menu and place it under the header, but have the buttons go left to right across my page?
2. Can I make the primary links work differently for each of my sections?

I hope this is a bit more clearer.

Thanks in advance!

nevets’s picture

You have two things here navigation and listing content by taxonomy term (subject, at least I hope thats what you mean by subject). With Drupal 5.x I would use the views module to make the listing passing the date and taxonomy term as arguments to the view. With Drupal 6 you may need a custom module at this point unless the alpha version is far enough along to meet your needs.

For the navigation you are going to need something custom. Since it sounds like it always showing the current month it is really more dynamic than a static menu.

Given you have the navigation as an unorder list you can use css to style it. To place them all on the same line you can display the li elements as blocks and float them left.

gustavo_e’s picture

is you go to this website and scroll all the way down, you'll see that you are in page 1 of 5 and you can click NEXT, or go to any page you want... I wanna do the same... but instead of having only 5 buttons, I'd like to have all 30 or 31 days of the month and have highlighted in RED the current day...

Hope this help you to help me! thanks

http://www.apartmenttherapy.com/

nevets’s picture

I am not aware of an module that provides a 'Date Pager'. You could write one that works with views though.