Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49225

Overwritting Search Form

$
0
0

Hello, I am trying to replace the Drupal search page using Panels/Pages,

The site is at undecumpar.com, although the latest iteration is local.

long story short, one of my content type has location, when I use the search form, the result should be ... shoes -> found at XXX company, and a marker on the map shows the location of the XXX company. I managed to parse the arguments to gmap when viewing categories/taxonomy with depth, but I can't seem to make it work with the search page.

I used the existing template in Pages/, http://screencast.com/t/cXWLlBl8Xbl3

For the content part I put my view with a exposed search form and my view with gmaps.

The problem is when I create a new Page in my view and give it the path /search/node/% I get permission denied on my search page (http://screencast.com/t/E2mAjCBxQR), something else that seems odd, it doesn't matter what view or block I insert in my panel, nothing but static content is present ...

MY BIG question is, seing that I can't wrap my head around this issue, how can I bring my GMAPs view on the search results page and pass it the nid's that I need to create the markers on the map....
views_embedd_view isn't working, there is no output, I see in krumo that absolutely no content is being generated.

I hope this not to confusing, because I feel really confused right now.

Arthur


Viewing all articles
Browse latest Browse all 49225

Trending Articles