Closed (fixed)
Project:
Panels
Version:
6.x-3.0-alpha4
Component:
Mini panels
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 12:21 UTC
Updated:
15 Mar 2011 at 19:51 UTC
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
Comment #1
pawi81 commentedComment #2
merlinofchaos commentedEnable 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.
Comment #3
pawi81 commentedSorry, i'm not a pro in this ;-)
Enable the views content panes module.? http://drupal.org/project/viewsYou said about the 'views' module yeah?
Comment #4
pawi81 commentedAnd 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 :)
Comment #5
pawi81 commentedI can't go on if I won't solve this problem :(
Comment #6
esmerel commentedBumping 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.
Comment #7
pawi81 commented@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/
Comment #8
merlinofchaos commentedActually, 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.