Adding a store locator to your Drupal site? This guide covers using Custom Blocks and embedding in content for Drupal 10 and 11. 🎯
What is Storepoint?
Storepoint is a store locator widget that makes it easy to add a searchable location finder to your Drupal website. Use it as a store locator, dealer locator, or multi-location map.
Here's what makes it great:
- Easy to customize. Match your Drupal site's branding in minutes.
- Powerful search. Visitors can search by address, zip code, or use automatic geolocation.
- Filters and categories. Help visitors find exactly what they're looking for.
- Simple location management. Add locations via the dashboard, import from a spreadsheet, or sync from Google Sheets.
- Works beautifully on mobile. Fully responsive out of the box.
Start Your Free Trial See Examples
Ready to get started? ✨
Step 1: Get Your Embed Code
- Log in to your Storepoint dashboard
- Click Embed in the left sidebar
- Copy your embed code snippet
Before You Embed: Check Text Format Settings
Drupal filters HTML for security. Before embedding, make sure your text format allows script tags:
- Go to Configuration → Content authoring → Text formats and editors
- Edit the Full HTML format
- Under "Allowed HTML tags", ensure
<script>and<div>are allowed - Save the text format
Only grant Full HTML access to trusted users. Allowing script tags can be a security risk if given to untrusted users.
Step 2: Add It to Your Drupal Site
Option A: Using a Basic Page
- Go to Content → Add content → Basic page
- Enter a title like "Store Locator", "Find Us", or "Locations"
- In the Body field, switch to Source or HTML mode
- Paste your Storepoint embed code
- Set the Text format to Full HTML
- Save the page
Option B: Using a Custom Block
For more control over placement:
- Go to Structure → Block layout → Custom block library
- Click Add custom block
- Name it "Store Locator Widget"
- In the Body field, switch to Source/HTML mode
- Paste your Storepoint embed code
- Set the Text format to Full HTML
- Save the block
- Go to Structure → Block layout and place the block in your desired region
That's it! 🙌
Adding to Navigation
To add your locator page to your menu:
- Go to Structure → Menus → Main navigation
- Click Add link
- Enter a title like "Locations" or "Find Us"
- In the Link field, start typing your page title and select it
- Save the menu
Need Help?
Run into any issues? Contact us with a link to your page and we'll help get it sorted. We're happy to assist!
Make It Your Own
Now that your locator is live, explore what else you can do:
- Add filters and tags so visitors can find specific location types
- Customize the design to perfectly match your brand
- Set up multiple languages for international audiences
- Learn about embed options for filtered or multilingual locators