Hello

I have divided minipanel to left and right side. How can i put into:
- left minipanel: first topic from: /forum/12/
- right minipanel: second topic from /forum/12/

This is one of my subforum link (everyday I'm adding new topics) and I want to do it that in left panel is first topic from this subforum, and in right there is a second topic from this subforum :-)

I hope you will understand what I want to do:)

Anyone could help me with this? Thank you so much

Regards
Pawi

Comments

pawi81’s picture

Title: How can i put into mini panel » Newest post from subforum in minipanel?
merlinofchaos’s picture

Status: Active » Fixed

Enable the views content panes module.

Create a view that will both topics.

Add the 'context' display to the view. Save the view.

Go to edit your panel. Go to the Context section. Add a 'view' context and select the view you just created the context for.

Then go to content and add the View result row (I think it's called something similar to that, anyway) pane to each side, and set each one to display the row you want.

pawi81’s picture

Sorry, i'm not a pro in this ;-)
Enable the views content panes module.? http://drupal.org/project/views
You said about the 'views' module yeah?

pawi81’s picture

And if we are good understand -
- I want to see in colums content of 2 newsest post (it can be a short version with "read more" link), not a topic name of newest post.

Question from first post should be axact:

I have divided minipanel to left and right side. How can i put into:
- left minipanel: content from 1 last added topic from subforum: /forum/12/
- right minipanel: content from 2 last added topic from subforum /forum/12/

i have no clue how to do that :)

pawi81’s picture

I can't go on if I won't solve this problem :(

esmerel’s picture

Bumping your issue with a complaint is not going to get your issue solved any faster, I'm sorry to say. There are two primary maintainers, and they are both incredibly busy.

The views content panes module is part of CTools. Enable it.

Create a view of your topics. Create a display for your topic, and then clone it. In the second one, set up the view with an "offset" of 1.

pawi81’s picture

@esmerel sorry for bumping, i'm not complaying:)

I have latest CTools enabled:
- Views content panes (enabled)
- Custom content panes (disabled)

I know how to create a view with exact one topic at left and second at right (i can link it). But i don't know how to do it, that in left column will be newest thread from sky-watcher.pl/forum/12/ and at right second last added thread from sky-watcher.pl/forum/12/

merlinofchaos’s picture

Actually, now that I think on it, you probably don't want the context stuff at all; I thought at first that was two different rows from the same view. You probably just want two separate views. Then you just place them in your panel.

Getting a view to give you the first or last topic from a forum isn't too hard, and it's not the sort of support question that I'm prepared to answer here. You can probably get answers to that in the general support forums.

Also: The status is 'fixed'; we don't generally come back to fixed issues to answer further questions. You have to re-open them. I don't advise re-opening this one, though, as if you are having trouble creating a view to get the information you want, I recommend the general support.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.