I want to create a blog, and that blog to be displayed only in certain pages (for ex. in "About us" and "my company" pages).

How can I do that ? There is a module or something which allows a content to be displayed only in certain pages from the main menu ?

Comments

nevets’s picture

Do you mean a particular blog entry or the whole blog? And when you say "displayed only in certain pages" do you mean in addition to other content on the page? Are the pages in question a listing of various content or a single piece of content? And do you want to same thing (same blog entry?) to show on different pages or different blog entries to show on different pages?

Laurenzio’s picture

I'am talking about a particulary Blog entry.
And yes, I want the same thing (same blog entry) to show on different pages.

For example:
In the page "About us" to have all blogs comments which are related to company history and activity.
In the page "Clients" to have all blogs which are testimonials related.

I think one solution (and the only one ?) will be to create categories.
So I will have category "about us" and when I create a blog, I will assign the Blog to the taxonomy term "about us' and also all testimonials blogs will be assigned to the taxonomy term "clients".

Is ok this ideea ? because I see that when I create a content, I have the "Menu settings"
option in the bottom, may I use that so that my content to be displayed only in that selected menu from the drop down list ?

With my categories idea, the only problem is that I want that those taxonomy terms to not be displayed in the page because it looks ugly. how can I do that ?

nevets’s picture

Yes you could use categories and yes you can disable the printing of them. If you never want them to print edit node.tpl.php for your theme and remove the print $terms. There may also be surround PHP code and HTML associated with that you will want to remove.

Regarding the "Menu settings" that is used to create a menu item for that specific piece of content. You can use the views module to make a page showing all content of a given type and further limit the list to content with a particular term.

I do have to wonder why you are using a blog for this a putting it all into a blog. It sounds kind of strange and I wonder if you are aware that you can create custom content type with Drupal (all using the admin interface). There is also the book module that would allow you to structure the information and I find useful for "about us" sections of web sites that need more than a single page.

Laurenzio’s picture

Thanks !

Create a custom type ? Why, I just wanna have blogs into certain pages depending of their content.
I didnt play too much with View module, I will look

thanks !