Needs some help with View titles in a Panels page

laken's picture

I'm wrapping up a D5 Site using Panels 2, and I'm having 2 problems related to the titles of my views in Panel pages:

Problem 1:
I'm embedding a view which accepts arguments in a Panel page. This view also uses arguments in its title. The view title displays perfectly when accessing the raw view by its path, but when the view is embedded in the panel the title is displaying literal "%1" and "%2" for the arguments when they're not supplied. It's like Panels is messing up Views' intelligent handling of these titles.

I've filed a bug report here but no reponse so far: http://drupal.org/node/446396

Just wanted to see if anyone else had seen this and solved it.

Problem 2:
I want the title of this view to be the title of the panel page. But since the arguments I'm passing to the view are directly from the URL and aren't configured in the Context tab, I'm not sure how to tell the panel page that this view's title should be the page title.

So, how to get the view's title into the Panel page title, when the view arguments aren't in the Context?

(I found this related discussion: http://drupal.org/node/196603 but it seems that user's needs were more complex than mine, and it wasn't clear to me from that thread what the final solution was.)

I'm using Panels 5.x-2.x-dev (2009-Jan-27)

Many thanks for any help.

Groups:
Login to post comments

Still wondering...

laken's picture
laken - Sat, 2009-05-02 01:59

I haven't found any resolution for this yet. If there's any more information I need to provide please let me know.

Many thanks!


I have same problem but i use

vidals's picture
vidals - Thu, 2009-09-24 22:01

I have same problem but i use panels 6.x-3.0


Hi First: This is not a bug.

bennos - Fri, 2009-10-02 19:44

Hi

First:
This is not a bug. Arguments in Views and in panels are different things. If you use a view (legacy views or content pane), the arguments provided by panels must used. In views2 have a look at content panes and arguments. If panels is installed, you can apply arguments from panels(d6 version).

Second problem:
this is quite the same as above. Panels overrides all arguments in the view. You must use the arguments or context from panels.

Everytime you use Panels, panels is the general. Define contexts and arguments in panels and use it in blocks or views content panes.

hope this helps a little bit.