Hi Community,
I'm despairing with a drupal problem. I've got a client who was Typo3-user before and already hat experiences with that system. He wants to add different and individual sidebar content from page to page like he did in Typo3.
I don't have an idea how to realise that. Does anyone have an idea?

activedesigner

Comments

dipali.goel25’s picture

Hello

You need to implement reference module
https://drupal.org/project/references

Once this module get installed .
You can create a content type example sidebar_content

1) Add field node reference to this above content_type
2) So now when you add new content to this you can see that all pages you created comes in select box and you can choose .
3) Create a view with argument of node reference , so that particular content for that node reference get displayed
4) Assign this view to block and that block to any region .
5) Hence you can get the desired output .

activedesigner’s picture

Thank you for your idea but it is not really what I am looking for. I try to find a way where the user can add sidebar content in the editing form of the main node. So I want the user to have the sidebar- and the main content on the same editing page like in typo3.

chaz1975’s picture

Hi,

I just came across your question and thought that the following solution might be of use to you.

You can create extra fields in your node content type which are not shown when the page is displayed (use the Manage Display tab in the content type edit area to do this).

You then need to create a view block which pulls in that content and displays it using a contextual filter to ensure that only that node's extra content appears in the block.

There's a full write up about it here: http://stackoverflow.com/questions/11433405/drupal-7-show-current-displa....

Hope that helps,

chaz1975