First of all, I want to apologize TO ALL 'cause this post will for sure offend someone, but I've been keeping myself from posting on forum for as long as I could... I would like You to try to understand that this is not some spit-post (after one minute trying to solve problem), because I've spent days and days reading f#kin books and trying to find ANY logical answer on the drupal.org forum...

I've been trying to solve this simple and ESSENTIAL problem in this drupal and couldn't help asking more and more what the fuck!?!?! Is there no single post or book page on which I could find explanation?!!?

Here is annoying thing (I would post an image but couldn't find upload button?!?):
HOW FOR HEAVENS SAKE I can make a simple (not to say IDIOT) menu in one block (say in left or right sidebar) that would contain five "names" which are links (no bullshit!) to sections of site where few authorized users could write on those five topics and their articles would appear in simple order like sorted by publish date (EITHER FROM UP TO DOWN OR OPPOSITE)?!?!?!

For imbecile-type simplicity, I would try to explain this f#kin problem like normal human being, and not like drunk morons who write books, puke nonsense terms and raise their ego over that same terms!

So...

A, B, C, D are parts of my imaginary web site.
A is index page (main page or a page that you get when type www.something.com, not so tough to understand, huh?)
on the A page I would like to have SIMPLE menu with five links either in left or right side (doesn't matter)
B is a page that applies to some topic, let's say "Topic 1"
C is a page that applies to some topic, let's say "Topic 2"
D is a page that... (bla,bla)
also, on the page A in main part of screen I would like to have listed latest written articles from all authors no matter what the topic is...

Now,
When authors write articles and want to write on "Topic 1", I want that article to be listed on B page.
When authors write articles and want to write on "Topic 2", I want that article to be listed on C page.
(hope so far, nobody has quit, though it may be difficult for all those book authors to understand this kind of simplicity)

When they write articles (either for Topic 1 or Topic 2), those articles are stored, and then their "teaser" is displayed on adequate page (B or C) with some kind of "read more..." or "full article..." at the end (OF THE "TEASER")...
So, (impossible to guess) -> when I click on ONE link from that menu on A page (one with five links), that is associated with Topic 1, I would REALLY like to get to page B on which all articles from Topic 1 are listed in mentioned manner.
Now the tricky part!
If I click on link from mentioned menu (on the A page, and with five links) that is associated with Topic 2, I would REALLY like to get to page C on which all articles from Topic 2 are listed in mentioned manner...

By this part, I suppose all people able to give answer have quit because of the length of explanation... Well, guess what, I want to
beat those retarded authors in number of words that are not bullshit! If even one of you out there understand this question, than I'm not like those retards!

Besides that (not asking for answer, I'm just getting to point of real frustration), I would like to say that persons who developed words like "taxonomy", "node", "vocabulary" or full bag of others instead of using simple like "category", "page", "content" or "topic", should be kept locked in a barn!

Anyone who has above mentioned abilities and THE will to help, PLEASE - consider me as total idiot and try to explain solution as SIMPLE AS POSSIBLE!
No matter if you insult me, or my writing, or my opinions of drupal functionality AND ESPECIALLY my opinion of "book-writers", just give me this answer, because I can't find any purpose for Drupal if it can't do simple shit like this...

Guess what - THANKS!

Comments

Rafterman82’s picture

Although this isn't a direct solution... what your asking for is very much on the blog side of things, that's where I'd begin. To be honest for what you describe I would use Wordpress. No doubt that won't fit your needs, so I will offer some input of how I would begin going about this. Firstly you want the main page showing all the posts, chronologically ideally I assume. I would use a big block for that; setup from within your template, the reason for this...you can get some handy off the shelf RSS publishing code/modules, this can look at the RSS feed for all the articles and display automatically.
With that to one side, now to consider your left/right block containing autoupadated links that go to certain topics, I think a combination of CCK node reference and node in a block http://drupal.org/project/nodeasblock, so another content type called topics would allow you to achieve that, although referencing requires no coding just modules it can still be a pain to get working. Sorry if this is all useless to you!

Cheers

bwv’s picture

Your topics need to be categorized. Go to taxonomy, and create 4 or 5 different vocabularies, one for each topic. Each vocabulary has an ID number. Make sure you write down that that number on a piece of paper. Assign each vocabulary to a page content type.

When your writer creates a page, he/she will be able to select the topic from a drop down list.

Now, copy and paste this code into a block, set the input format to php code, and save.

<?php
$vid = 1;  // Set the vid to the vocabulary id of the vocabulary you wish to list the terms from
$items = array();

$terms = taxonomy_get_tree($vid);
foreach ( $terms as $term ) {
  $count = db_result(db_query("SELECT COUNT(nid) FROM {term_node} WHERE tid = %d", $term->tid));
  $items[] = l($term->name, "taxonomy/term/$term->tid") . " ($count)";
}

if ( count($items) ) {
  print theme('item_list', $items);
}
?>

You will see that it says in the first line:

<?php
$vid = 1;  // Set the vid to the vocabulary id of the vocabulary you wish to list the terms from

That is where you will put the ID number of the vocabulary whose pages you want to display in a block. You will need to create a block for each ID number you have written down.

Upload the pathauto module; you will need an hour or so to learn how to use it. Basically, you will be able to have your URL look like this:

http://mysite.com/topic-a/page-title
http://mysite.com/topic-b/page-title
http://mysite.com/topic-c/page-title
and so on

Then what you will do is limit the block visibility of the blocks you created above to those specific pages which have the matching vocabulary ID (topic-a, topic-b, etc) in their paths.

For example, a block which displays the titles of pages from topic b will appear only on those pages that are created with the path that looks like this:

http://mysite.com/topic-b/

Try this out and see what happens. Then we can talk about your front page.

I had to laugh when I read your post. I think that using foul language is not a good idea, and I particularly do not like name calling ("retard"), but I understand and sympathize with your frustration.

Others will have other ideas about how to achieve what I have described above. You will need to use whatever method works best for you.

Leziljebovic’s picture

Thank you for quick reply!
I've tried to do so, but first of all - when finished creating 5 vocabularies and then tried to create new page, it gave me options (five of them) with names of vocabularies and sort of drop-down list below them with no option to select...???
Even after that, when I tried to input your PHP code into a block - nothing happened, although I've selected "PHP input type"...
It only gave me view of typed code like it was a simple text.

What went wrong?

bwv’s picture

Nothing has gone wrong (yet).

For the drop down list, you don't need to select; just click on the term and it will be highlighted.

And the block will not work until you have started to create pages, categorized them, and use pathauto, and configure the blocks to appear on pages with the specific paths that related to the content.

Drupal is not real easy to use until you have worked with it for a little while. ;-)

AdrianC-1’s picture

The first thing you need to do is to understand the basic concepts, and _why_ those basic concepts are there.

Your topics are entries in a "topic list". They're the vocabulary within a taxonomy entry.

A "node" might be a page on a site. Or it might not. It's a much looser term, describing a "thing" on your site. That might be a single page. It might be an image. It might be a calendar entry. It might be a classified ad.

So - your first step is to understand how _your_ "simple shit" actually works. Because, sure as eggs is eggs, it's different to _my_ "simple shit". Or to any other Drupal user's. If you want a CMS that fits _exactly_ your requirement, don't let us stop you writing one.

Or - perhaps a bit easier - tailoring a generic framework to fit your particular requirement. All the tools are there. You just need to figure out how to apply 'em to your particular requirement.

Leziljebovic’s picture

Could this be solution?

Have created vocabulary called "categories", and under it - five terms that match my topics
Next, I linked every one of my five links to that "taxonomy" page so it would look like this: taxonomy/term/"number"

Well, when I go to create page link, it gives me a drop-down list named "Categories" from which I can choose one of my five topics... When I enter some test article and save it, I get that article on the relevant page after clicking the link....

That couldn't be so simple, so where is catch?

bwv’s picture

Yes, you did the categories correctly; I gave you bad instructions above, for which I apologize (I have not yet had any coffee this morning).

For the blocks, you can still use my method above if you wish.

Leziljebovic’s picture

Sorry, but I still can't get idea (or do it right) with blocks you mentioned... I've tried to get PHP code entered in body section of page, but I think it didn't recognize it... I've checked PHP input box as you said.

bwv’s picture

Have you uploaded the pathauto module? The blocks will really only work dynamically if there is a properly configured path in the URL, which pathauto will help provide.

Leziljebovic’s picture

but blocks and php code are still not working...
Nevermind, is there a way to display those articles (last ones) on the front page (A page, index page, whatever)?

bwv’s picture

To do that you will need to investigate the Views module.

I'd like to understand why the blocks are not working, however.

Are you getting any error messages in your log files (admin/reports/dblog)?