Hi, I'm new to Drupal, and it looks great, but ...
I want a simple site with articles under 5 different categories, all visible in a block called "Articles". each category name in that block should be a link to a list of articles stores under this category.
I don't seem to get it :
- if I want my 5 categories, should I create 5 vocabularies ? Or should I create a vocabulary names "Articles" and then 5 subcategories ?
- how can I have my 5 categories visible on my pages, in a block ? how do I link these categories each to a menu, or to a menu item ? Noting I have tried yet seems to do what I want.
As you can see, I've been reading the handbooks for some hours now, but I just don't get it. Can you help ? I think Drupal is the tool I needed, but its philisophy is out of my reach for the time being.
thanks
Corinne
Comments
Good question that stumped me too when I was a newbie
Create one Vocabulary (Named "Articles") with your 5 subcategories (we call them terms)
This will automatically create a block that can be enabled in admin/blocks. You can then specify which pages it is shown on.
Drupal Path (which can be used in menus and links) to any of your terms are like this
taxonomy/term/2 (where 2 is your term ID number which can be found by hovering over "edit term" on admin/categories page) for more on paths see http://drupal.org/node/31644
gpdinoz
"If we can see further it is because we stand on the shoulders of giants"
Regards
Geoff
well thanks for your help.
well thanks for your help.
I created my "Article" vocabulary and 5 terms, but no block was created therafter : is it normal ? what did I miss ?
Thanks in advance
Corinne
Doh! (Slaps forehead)
Oh Yeh. You need to download and install Taxonomy Block for a block to be automatically created.
Sorry, forgot about that.
gpdinoz
"If we can see further it is because we stand on the shoulders of giants"
Regards
Geoff
Ok it works but ...
Thanks gpdinoz, I managed to have a brand new menu with all my categories listed.
... now, How can I link the articles I write to menu item ?
I looked at the "node" table in the mysql database, but could not find a field where the menu item ID can be stored.
When I add content, how can I say I want this article to be stored under one of my category terms ?
Thanks in advance,
Corinne
The menu_otf module, which
The menu_otf module, which helps you link to menus at node creation time would help you, I think.
Thank you ! The menu-otf
Thank you ! The menu-otf module is what I needed !
Corinne
You're welcome. Glad to be
You're welcome. Glad to be of some help.
Also use menu module
Make sure you have the "menu" module enabled and you can create a link by adding a menu item to any menu using the path to the article. see http://drupal.org/node/31644.
gpdinoz
"If we can see further it is because we stand on the shoulders of giants"
Regards
Geoff