Go to the Tags vocabulary administration page and add some terms. Scroll to the bottom and click on “Save settings”. This will allow a user to create new terms directly from the node edit page, but make sure you have setup the vocabulary permissions properly. In this field-set, you can configure the SHS widget.Ĭheck the “Allow creating new terms” and “Allow creating new levels” checkboxes. Scroll down the page, and you should see a “Simple hierarchical select settings” field-set. Now, go back to the edit page for the Tags field.Ħ. Once you click on the Continue button, you’ll be redirected back to the “Manage fields” page. Select “Simple hierarchical select” from the “Widget type” drop-down and click on the Continue button.ĥ. From the Tags edit page, click on the “Widget type” tab in the top right corner.Ĥ. Click on the “edit” link for the Tags field.ģ. Go to Structure -> Content types (admin/structure/types) and click on the “Manage fields” link within the Article row.Ģ. Let’s now setup the custom widget on the Article content type.ġ. The first piece of functionality we’ll look at is the widget. Configure Simple Hierarchical Select Widget Throughout this tutorial, we’ll use the Tags vocabulary and Article content type that comes with the standard installation profile. If you installed Drupal using the standard installation profile, then Taxonomy would be enabled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |