开发者

Submit form in Drupal 6 without going to home page

I have embedded a custom search view with views_embed_view. The problem is that when the user submits the form, Drupal goes to the site home page.

How c开发者_如何学编程an I avoid this?


There is a thread in the Views issue queue that I think may help. The thread talks about exposed filter forms rather than search, but I think it's the underlying issue. The suggested fix is to set $view->override_path.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜