It would be very useful for me if you were able to place arguments (panel or url) into the overridden url using the same format as when you pass arguments in.

e.g. so you may use %0, %1, ..., %N to grab arguments from the URL. Or use @0, @1, @2, ..., @N to use arguments passed into the panel.

my url might be something like this:
press/%1/images

I have done this for one of my sites, so when i get a moment i'll prepare a patch, but I wondered if it would be considered to be added to panels?

Comments

sdboyer’s picture

I must be understanding your idea wrong, because your description has me locked in a chicken-or-the-egg loop. How could we pass arguments into the override URL...from the URL?

Roll the patch and I'll have a look, I imagine I'll get it then. There are some outstanding questions about how we handle URL aliases, so there is a chance this type of thing could make it in as part of that solution.

sdboyer’s picture

OH. Views panes. Just saw the component you'd highlighted. Makes a little more sense now.

Nevertheless, I'll wait for the patch.

smoothify’s picture

Sorry for not being clearer there - i did mean the views override url.

I've just looked at my code, and that was for the views_legacy rather than the new views pane system.

When i get a moment i will check to see how it works there and whether it will be suitable there too.

sun’s picture

subscribing

shiraz dindar’s picture

subscribing, could definitely use this too.

kulfi’s picture

subscribing

socialnicheguru’s picture

subscribing too.

I am using OG panels
I am displaying a view with a filter separated from the view using views filter block.
When i click on submit on the filter, I am taken to the original view

to overide I would need

node/%/mypanelpage

I was able to make a substitution from the url when I was choosing arguments as part of the content popup.

I would like to be able to do that again for the panel more or other panel override options.

esmerel’s picture

Status: Active » Closed (won't fix)

Panels 3 has significant changes from Panels 2. No features will be added to Panels 2.