How do I add custom search queries to a URL?

Hi.

I am using a third party search engine. Similar to google CSE.

The search engine looks for ?q=[term] in the url. Where [term] ia equal to a search.

If I append ?q=[term] to a url it displays page not found.

I have tried creating a view with a path of search?q=% hoping I could pass the search term as an argument. but this also gives page not found.

it doesnt have to be q it could be /?search=[term] or search?result=[term].

How can I have a url structured like this which does not give page not found?

Thanks

https://example.com/taxonomy/term/35 Stopped working after host migration

Hi all,

I am using drupal 7.72. I just migrated my forum to a new host. It all works great, except for one thing.

From what I saw searching this forum, creating a view in this way should work OK:

https://example.com/taxonomy/term/35

I tried many other numbers, below 35, instead of 35, and none of them work.

But it stopped working when I migrated to the new host. 

Popups & colorbox issues in Chrome

Hoping for some guidance here. Sometime in the past few weeks, my inline modal popups stopped working in Chrome. I had Colorbox set up at the time, both hand coded inline links and views colorbox triggers. With views, the links now force a page refresh to the home page with the colorbox query appended:

  • i.e. [url]?width=500&height=500&inline=true#content

With hard links, the page refreshed on the existing page, with the same query string added.

Click to expand a text area on front page

I am looking for a module that will help me display a few lines on the front page of a site and when you click on a button, it will expand to full text or article. Probably using AJAX or jQuery.

Currently we can make a break point which will display a read more option but that will take us to a full node. I want to stay on the same page and same URL but expand a text area, that's all.

Anyone know of such a module or code?

Getting error as Call to undefined function field_attach_presave() while doing initial setup of drupal website

Fatal error: Call to undefined function field_attach_presave() in /opt/lampp/htdocs/devportal/modules/user/user.module on line 468

How to display panels in the user profile?

Hi, i have installed correctly the panels module in Drupal 7,  i have created pages, landing page etc...

But i don't have understand how to display panels in the user profile

Any suggestions?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x