This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
Save Time with SEBLOD 3.8
Exploring SEBLOD 3.8.x - Part 2
Continuing on from our previous post on features of SEBLOD 3.8 where we looked at the newly included Search Ordering, Search Generic, Button Free and Drag and Drop, in this article we’re exploring some of the time-saving new features of SEBLOD 3.8. We’ll take a look at Inherited Lists, take the opportunity to look at a useful way to utilize your Content Type Intro View, and show you a handy tip in the new interface.

Inherited SEBLOD Search Forms

SEBLOD 3.8 has included a great new feature to use the same Search Form (and thus, the same resulting SQL query) across multiple different Search & List Types. This gives you only one place to edit your search form while having the flexibility of displaying your content in multiple different ways. Take the below for example, we have our “parent” Search & List type with 21 fields in the Search Form view, but no fields in the Search Form view of any other Search & List type.

Here’s how you make it work

The magic happens on the module or menu item level.
In a module:
  • Set up your List module to use the Search & List type which has your Search Form set up. So, for example, in our case we would use “Publications”.
  • Then, in the “Advanced” tab, you’ll see a new option called “Alternative Search Type”. This is where you select the Search & List type with the List or Item view you want to use to display your content.
In a menu item:
Menu items work in exactly the same way as modules.
  • Set up your List menu item to use the Search & List type which has your Search Form set up. So, for example, in our case we would use “Publications”.
  • Then, in the “Advanced” tab, you’ll see a new option called “Alternative Search Type”. This is where you select the Search & List type with the List or Item view you want to use to display your content.
Now you can enjoy the consolidated approach of editing only 1 Search Form while maintaining flexibility of multiple List & Search types to display your content.

Inherited List View

While this isn’t new in SEBLOD 3.8 – it seemed like a good time to bring this up. SEBLOD enables you to use the same view to manage your List View across multiple Search & List types by using the Intro View of your Content Type, and using a “Group” field in the List View of your Search & List types. This is useful when you want to display your content in the same way throughout your site, but want to use different queries (i.e. define different Search Form Views).
Here’s how you make it work

  • Define your layout in your content type’s Intro View.
  • Create your List & Search Types as you wish, altering your Search Form View between each as you need to.
  • Create a new field of the type “Group” and select your Content Type from the select box. When added to a List View, this field will show whatever fields are placed in your Content Type’s Intro View.
  • In your List View for each List & Search Type, add the Article ID field as the first field in your view, and set the Typo setting [2] to “clear”. Then, directly after the field, add your Group field.
  • Now, wherever your List & Search type is displayed, you’ll see the contents as defined in your Content Type’s Intro view!
This approach gives you a way to ensure you don’t have to duplicate your own work when you want to display things in the same way using Search & List types.

Quick Tip for the New SEBLOD 3.8 Interface

As on SEBLOD 3.8.0, the interface for SEBLOD now displays your options in each of the [1], [2], [3], [4], [5], [6] option buttons as links, which, when clicked, give you the usual select dropdown box to change settings. This brings huge performance improvements in the time it takes to load views with many fields. Think of websites with lots of access levels, for example. For each field in your view, SEBLOD use to have an option to restrict the field based on access level. If you had 100 access levels, then each select box would have 100 options, and this was then duplicated for every field in your view… needless to say that’s a lot to render each time you load your view.

SEBLOD now renders these options initially as links that show your current settings for each field. When you click the link, it creates the select dropdown on the fly and enables you to change it.

Now here’s the tip: to save time even more time, you can just right click on this link to toggle through all of the available options!
Display interactive charts

Comments

Thanks

9 months ago
Very usefull article!

Mighty Interesting

9 months ago
As always, James, you lift the lid on many Seblod secrets... almost like a whistleblower :)