Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
is it possible to embed an autocomplete textfield in a node or something like this? I tried hard to find a way to put the search form on the top of a view or node but nothing worked well. Or is there any option I missed?
Sorry for my bad english... =/
Regards
Sebastian
Germany
Comments
Comment #1
danielb CreditAttribution: danielb commentedTo insert a finder into the content of a node:
1) Create a finder in a block - but do not put the block into any regions.
2) Install Block Reference
3) Create a CCK field in your content type using the Block Reference widget - configure allowable blocks.
4) Optional; use the 'content permissions' module that comes with CCK to choose which role can edit the field.
5) Edit/create the node and choose the finder in the block reference field.
You may then need to do some node templating to get the perfect look you want, or just use 'display fields' tab in the content type to change the display and position.
If you would just like it to appear on node pages you can create a block, put it in a region, and use the visibility options to make it display on pages like node/* and your view paths.
Comment #2
danielb CreditAttribution: danielb commentedComment #3
Kalle153 CreditAttribution: Kalle153 commentedWonderful... thanks 4 reply =)