I like the improvements to search in 4.7 and the hooks for adding the ability to search items from different modules.
What I'd like to do is incorporate location into the search (instead of being a separate tab as it is at present using the location.module), allowing people to type their search text, choose which node types they'd like to search and then type in the name of a place (eg a city) they'd like to search near to. To simplify the input, the new AJAX autocomplete functionality could be used to suggest places based on the name you're typing in. The co-ordinates of this place could then be used to filter the nodes that were returned from the search and allow for the ordering of search results by distance if desired.
What I'd like to find out is what do people think of the idea of adding a hook that allows for form items to be added to the search? Perhaps a $op = 'field'? The data entered would then be available to hook_search to do its work.
I would like to insert a custom content (text) under the view of a node. I know that it is possible putting something in theme file (node.tpl or so). But my question is:
It is possible to extend the hook view of a node witouth hacking it or touching theme files?
I would like to do something like this:
I am a new user to Drupal as WP was not powerfull enough to do what I needed, now I think I'm over my head.
Anyways here Goes:
Using the Category Module
I want to create a menu that is similar to:
Topic 1
Sub Topic 1 - A (All Sub Topics Are Blogs and link to the blog)
Sub Topic 1 - B
Sub Topic 1 - C
Topic 2
Sub Topic 2 - A
Sub Topic 2 - B
Sub Topic 2 - C
Topic 3
Sub Topic 3 - A
Sub Topic 3 - B
Sub Topic 3 - C
After working with Drupal for about a month, I've made the commitment to implement it for my sites. Drupal is a terrific community effort. One of my struggles, however, is with how to maintain my Drupal code. I would appreciate guidance on addressing these challenges:
How to know when Drupal core or a module has been updated?
How to upgrade to new code while preserving the ability to rollback?
Has there ever been consideration of using some kind of install technology with Drupal and modules (e.g., rpm)?
from this doc page: http://drupaldocs.org/api/head/function/hook_nodeapi
I am trying to find out when the node actually gets written into the db. ( i need the value of 'nid' ) Is it saved during the 'fields' operation, or during the 'insert' operation? when can i find out the value of the freshly inserted node id, to use as a key in my auxillary node data table?