My website is about several different subjects so i want to publish each story i write about each subject on it's own front page. and there will be a main front page which is what we have now (what you write will be published on it.)
the users should get access to the front page of each subject by choosing it from the menu.
Is there anyway to do this?

Comments

WorldFallz’s picture

i would probably set up a vocabulary for "subject" with each of the different subjects as terms. Then you can use panels and views modules to design your subject "front pages" with a great deal of flexibility.

Alternatively (without panels, but less flexible) you could create a content type for "frontpages" then use viewfield to embed a view of that subjects nodes. Create one frontpage content type page for each subject.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

cog.rusty’s picture

If you tag your nodes with subjects (from a taxonomy vocabulary), then there are many ways to list them by subject.

The easiest (but not the prettiest) is to use taxonomy listings for your section pages.

taxonomy/term/15
taxonomy/term/28
taxonomy/term/4+16
...
(these ugly paths can be aliased to better subject names)

Or you can produce these subject listings using the views module (again based on their tags).

Or, as WF suggested, you can write introductory pages for each subject and embed a view in each, or use panels.

WorldFallz’s picture

i always forget the built-in taxonomy paths, lol. yep, that's definitely the easiest way!

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

lameei’s picture

thanks guys. I found the taxonomy trick useful. will you please tell me where and how can i define alias names for the paths?

cog.rusty’s picture

If you have enabled the path module (in core) you will have an Administer -> Site building -> URL aliases page (admin/build/path). You can assign aliases to paths there.

Or you can install additionally the pathauto + token modules and have it generate aliases automatically according to some rules.