0

This is probably a very noob question but here it is none the less. I want to create a select list that contains the names of places around the world. When the user clicks on a name, it uses a hidden url to go to that place. So what the user sees is a normal select list of place names (not links), when they select an item then they are taken to that page.

On the manage field tab of the node that this is implemented on, I tried creating a select element with the following options:

 http://www.australia.com|Australia
 http://www.germany.com|Germany

But this doesn't work. What do I need to do to accomplish what I want?

closed as unclear what you're asking by kiamlaluno Apr 20 '15 at 11:05

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

With views you van create jump menu's: http://nodeone.se/en/learn-views-with-nodeone-part-18-jump-menu

You can use that view as a block on your page.

If you want to use it between your other fields, you can use the module https://www.drupal.org/project/viewfield. Add a field of type viewfield on your content type, choose the view you created earlier and pass the nid as parameter.

  • Thanks for the suggestions. I tried implementing the jump-menu view but that isn't working. When I set the title as link, it thinks that it is an internal link. The url generated is mywebsite.com/australia instead of australia.com. Do you know how to fix this so it works properly? – user5013 Feb 22 '15 at 20:50
  • When inputting the links, add http:// in front. Then it will be recognized as external. – Maarten De Block Feb 22 '15 at 21:06
  • I found my error. I missed the step of selecting the url and have not being displayed. It all works now. Thanks! – user5013 Feb 22 '15 at 21:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.