Hi,

I have made a patch that renders an extra link in edit pane links, which makes it possible to, from a pane, directly go to the view that have been chosen for that pane. This is very helpful when you have a lot of views and do not really know exactly which one you use in your pane. It does only show if the pane is of the views display type "content pane". The link opens the view page in another window to make it easier to go back to your panel edit pane page later.

Maybe this is the wrong way of doing it but it works really well and it helps me in my job every day.

/ Bobodrone

Comments

pontus_nilsson’s picture

Nice functionality!

bobodrone’s picture

I have now also added support for editing a mini panel directly from pane links and in addition also gave the views and mini panels it´s own "dropdown-header" to make it a bit more pretty.

I still think that it maybe should be some kind of a hook function instead where other modules could hook into and create these links here instead but my knowledge about panels code is very basic so...

Happy 2011!

/ BoboDrone
(aka. Fredric Bergström, NodeOne Sweden/Göteborg)

merlinofchaos’s picture

There's a panels_pane_alter that people can use to add these.

bobodrone’s picture

Ok. thanx for quick reply!
I look into that right away.

/ BoboDrone

merlinofchaos’s picture

Oh wait. You're talking about a different set of links than I was thinking. Nevermind. Yes, there needs to be an alter for these, though it's not quite that simple -- and there's a patch for that because skinr is going to need it too.

bobodrone’s picture

Yes, you are right, there should be a common alter function for all these.
And after getting used to work with these fancy shortcut links for a couple of weeks now, I will have a hard time imagine a life without them... :)
They bring more joy to master panels configuration with other modules.

B.R.
/ Bobodrone

bobodrone’s picture

StatusFileSize
new656 bytes

So I have now added a hook to panels_renderer_editor "panels_renderer_editor_pane_links" that makes it possible for other modules to add links to the list of links in the pane-dropdown.

I have also created a module "pal" (panels awesome links) which adds the most common links for:
* views
* view panes
* blocks
* menus
* site information
* fields

In the future the other modules should have these links in their own implementation of this new hook but for now for testing you can use this module.
http://drupal.org/sandbox/bobodrone/1497388

/ Bobodrone (NodeOne Sweden)

bobodrone’s picture

StatusFileSize
new169.42 KB

Here is an image showing how it looks.

/ bobodrone

damienmckenna’s picture

vijaycs85’s picture

Title: Add link to a view pane from panels pane edit page » Add option to provide links to a view pane from panels pane edit page
Version: 6.x-3.8 » 6.x-3.x-dev
StatusFileSize
new700 bytes
new20.58 KB

patch doesn't apply anymore. Rerolling and tested with PAL module (http://drupal.org/sandbox/bobodrone/1497388) and can see the link appearing (though it goes to wrong path as pal is D7 module) in dropdown (attached screenshot). +1 to RTBC.

vijaycs85’s picture

gmclelland’s picture

FYI... we already have a hook_get_pane_links_alter() function for this in the panels module. See #1400884: Custom menu items in pane dropdown links

Right now with the dev releases we have edit links for the following:

Though it seems that https://www.drupal.org/sandbox/bobodrone/1497388 provides more implementations. It provides edit field links and links to jump to individual portions of the mini panel.

I'm not sure what is the best way to proceed? Any thoughts? Hope that helps

japerry’s picture

Yah I'm not quite sure what we need to do here.. looks more like a views issue now.

japerry’s picture

Status: Needs review » Closed (won't fix)

Not fixing in D6.