- Q The minimum paid up capital required for both small and payment banks is
- Q Malden Serkiovitch famous as which actor
- Q Which state is called the Tiger state?
- Q Explain the purpose of a vision statement for the project during the envisioning phase?
- Q Eva Shain was the first woman to do what
- Q Justice KG Balakrislman was the _____ th Chief Justice of India;
- Q Convert the expression ((a + b) * c - (d - e) ^ (f + g)) to equivalent prefix and postfix notations?
- Q Can you explain the between clause in dbms?
- Q What are the two main types of law? (A)Public and Private (B)Guilty and Innocent (C)Administrative and Constitutional (D)Civil and Criminal (E)Summary and Indictable
- Q What are the sources of conflict?
- Q Who founded the Forward Bloc?
Question
How to interact with drupal search system ?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
Answers
There are three ways to interact with the search system: Specifically for searching nodes, you can implement nodeapi(‘update index’) and nodeapi(‘search result’). However, note that the search system already indexes all visible output of a node, i.e. everything displayed normally by hook_view() and hook_nodeapi(‘view’). This is usually sufficient. You should only use this mechanism if you want additional, non-visible data to be indexed.
Implement hook_search(). This will create a search tab for your module on the /search page with a simple keyword search form. You may optionally implement hook_search_item() to customize the display of your results.
Implement hook_update_index(). This allows your module to use Drupal’s HTML indexing mechanism for searching full text efficiently.
If your module needs to provide a more complicated search form, then you need to implement it yourself without hook_search(). In that case, you should define it as a local task (tab) under the /search page so that users can easily find it. Your Comment
Implement hook_search(). This will create a search tab for your module on the /search page with a simple keyword search form. You may optionally implement hook_search_item() to customize the display of your results.
Implement hook_update_index(). This allows your module to use Drupal’s HTML indexing mechanism for searching full text efficiently.
If your module needs to provide a more complicated search form, then you need to implement it yourself without hook_search(). In that case, you should define it as a local task (tab) under the /search page so that users can easily find it. Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Management Questions..
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What is the difference between cost accounting, management accounting and financial accounting?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What is channel management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
Explain importance of Brand Management
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Management,
What is Ediint ?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What are the different types of security services involved in infrastructure management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Management,
Which oracle package is used to manage the oracle lock management services?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What do you mean by drill mode?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
what is master data harmonization ?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
what is the formula to get to 'labour efficiency variance'?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
How would your co-workers describe you?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Management,
Explain "Obtain Message First, Then Process Data" ?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
Name the tasks of universe designer.
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
How have you improved the capabilities of people in a team you have managed?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Management,
what is discount cash flow management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
Have you ever conducted staff training or done presentations?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
Tell me about the password management in miis (microsoft identity integration server)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What is the role of channel manager?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
What do you mean by committee organization?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Management,
If the end user’s travel location is not in the system. What do we often recommend?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Management,