Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 529457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:05:38+00:00 2026-05-13T09:05:38+00:00

A client request: Create a block that will always display the titles of content

  • 0

A client request:

Create a block that will always display the titles of content items that are the result of a site-search for a specific predetermined term, such as “health”.

So in that particular case, the block will generate and display a listing of nodes that contain the word “health” within either the title or body.

Ideally, the predetermined term could be configured either within the block configuration or the view, if generated that way.

I’ve tried to do this in views, but no luck so far. Ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:05:38+00:00Added an answer on May 13, 2026 at 9:05 am

    Unfortunately, at the moment the search filter only works as an exposed filter, not as a static filter; see http://drupal.org/node/333606. Meanwhile, I can think of two workarounds:

    1) You can probably achieve what you need with a couple of lines of code in a custom module, implementing hook_views_query_alter. See http://www.nicklewis.org/hook-views-query-alter-how-programatically-alter-views-queries for more info about this hook.

    2) There is a module called Views Modify Query (http://drupal.org/project/views_modify_query) which I have never used myself, but is also meant for custom modifications of the views query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two requests in tomcat. One HTTP request will create a thread. Client
I have a client request that all times be displayed in Pacific Time Zone,
Per a client's request I have written a communication class that inherits from webclient.
I'm building a python app where a client side will request xml pages from
when using http post with flash that send ip address request from client computer
I'm using VSTO (on Visual Studio 2008 due to a client request) to create
In socket programming, you create a listening socket and then for each client that
I want to tell a java client request not to care about the remote
Should I provide these things by default or only on client request (if they
Our client's request is to have tables in PDF with rounded corner. I only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.