Hi, I have a view with a page display in a url, let's say "section1". This view has no arguments. Then I have another pages in urls like "section1/page1" and "section1/page2". The problem I'm seeing is that if I write a wrong url like "section1/sdfsdfd" I'm not getting a page not found page because the view is taking it as an argument and display the default result. How can I dissallow arguments from a view?
Thanks,
Matias.
Comments
Comment #1
dawehneryou can use php argument validation and return FALSE when it should not be possible.
It is better to write a argument validation plugin.
Comment #2
figover commentedAn example is here http://drupal.org/node/576378
Comment #3
merlinofchaos commentedActually it's easier than that. Add the Global: NULL argument. It can automatically validate that only NULL (no argument) is acceptable without writing any code.
Comment #4
mburak commentedRight, I did that. Thanks!