Posted by pmathur01 on August 19, 2010 at 12:25am
Hi,
I created a view as a block and I am using panels to display the view. Well what the panels displays is just the link to that view. Is there a way where I can add the view page directly in my panel. I am new to drupal so this must be silly but I am stuck..
Thanks,
Comments
Display View link?
There's an option on the pane configuration saying "Display link to View" or something like that. I haven't actually used that checkbox myself (yet), but it sounds like you have.
Could that be what's causing your problems?
Welcome to the Panels world!
//Johan Falk, NodeOne, Sweden
Need more detail, or a screenshot
"I created a view as a block and I am using panels to display the view. Well what the panels displays is just the link to that view"
OK so you are not getting the output you expect. I assume you DO get the correct output when you test the view by hand?
Is it POSSIBLE that under Panels, the View gets a different argument than what you tested by hand inside Views? This has happened to me.. if you do something to change contexts or arguments, then you might not be sending the argument you thought you were.. You can debug this by adding a dummy Field to your view, check "rewrite output' of that field, and use the View [placeholders] to print out what you just fed the view. Then view what happens under Panels.
Also - there are times where your content may look DIFFERENT under Panels' "Preview", than if you went to the page directly.
Last question is maybe silly, but you did a View Source on the HTML correct? Just in case a bad CSS style or broken tag caused your output to not render in the browser. That's happened to me also.
In general, Views output exactly the same thing when you test them by hand (in Views UI) as they'll show when under Panels. Any difference for me has always been an argument/context issue.
"Is there a way where I can add the view page directly in my panel."
Reading this, I wonder if maybe you are adding your View incorrectly. You should be doing it under ADD CONTENT (using the gear on the panel pane), then select Views, then your View. NOW I am starting to wonder - you might NOT have added the View at all, but somehow pasted into Panels a string of text which is a URL to the View...