I cant find on the views admin interface how to set the URL.

I try to manually add it thru export

$display->display_options = array (
//...
'path' => 'user/list',
);

but when I import it, nothing heppend.

What am I doing wrong?

thanks

Comments

merlinofchaos’s picture

Status: Active » Fixed

Be sure to add a 'page' display to the view. The default display has no path. Once you've added a page display, you can click on the 'page' tab and you should see the option.

afeijo’s picture

thanks merlin
How can I be so blind
I add a page display, and set my path (something like mysite.com/new_users)

But when I access that path, drupal shows me the main page with my only node!

I've been strugling with that since 2 days ago, what am I doing wrong?

I even test the block display option, and the block ether dont show up, I set him to right position, but no sign of the content

merlinofchaos’s picture

Status: Fixed » Closed (duplicate)
hanief84’s picture

dianecooley’s picture

After fighting with this issue on my own for hours, I found your simple solution. Fixed in two seconds. Thank you!

spade’s picture

Thanks, now I know too ;-)

marco.machado.santos’s picture

merlin, even today 6 years after your information is preciosous.
after i had new page display, pling..... "the page path" has by magic appear

roshane’s picture

Issue summary: View changes

I am not able to view this blog. Can you grant me permission please.