Cog Icon signifying link to Admin page

Built on Spanglefish 3

@Spanglefish Youtube

Spanglefish 3 Manual

Directory Block

The Directory block allows you to create a collection of things each with their own information and (optionally) web page. For example, if you're a local council you might use this to create a directory of local businesses. Each entry can have a picture, contact information, its own webpage and map associated with it.

Local Businesses

Artworks

A directory doesn't have to be about geographical data - it could be a list of a band's albums, teams in your darts league. Pretty much anything.

Example Spanglefish 3 Websites

A directory can also be shown in compressed, tabular form, and can be shown alphabetically, in an order you set or randomly on every page load as the one below is.

In tabular form you can also choose which columns are shown - for instance telephone number or address. Click on Edit Directory then Settings.

TitleWebsite
Beauty by Louisewebsite
Falkirk Airport Shuttlewebsite
Climb GBwebsite
Heather Afrin Artwebsite

Page Addresses

Each of the items in the 3 Directory blocks above automatically get their own page - you can click on the item title to go to the page. For example go to the Artworks section and click the title Van Gogh Self Portrait.

These item pages each have their own URLs. You can control what those urls are to some extent. So for example the URL of the Van Gogh page is

https://manual.spanglefish.org/artworks/van-gogh-self-portrait

By default a directory item is given an address like

https://manual.spanglefish.org/directory/van-gogh-self-portrait

but by clicking Edit Directory and then Settings you can choose whether the items inherit an address based on the page address or the name of the block. In this case we've chosen the name of the block, 'Artworks'.

Doing so helps prevent clashes caused by directory items with the same names, and may also assist with search engine optimisation.

Site Search
^