I'm working with an Ektron 8.6 installation with a phenomenal amount of content (i.e. tens of thousands of pages), and trying to identify which pages have included a certain widget, where that widget is misconfigured. Unfortunately, I have a low amount of hands-on experience with Ektron, and I am struggling to work out how to find these pages.
A large number of pages have this widget. So far, out of manually checking a couple of hundred, I've identified two offending pages where it's miconfigured. I must find the rest of the pages, if there are any, which there probably are.
What I have access to
I have a local copy of this installation, can connect to its database to run queries via SQL Server Management Studio 2008, and I can enter the CMS work area.
What I know so far
The widget itself is named Taxonomy widget. It has a display type of tertiary menu. The misconfigured widgets have a checkbox named "include summary" ticked.
From the Internet Archive Wayback Machine, I can see the offending pages only entered a misconfigured state in October and December of 2013.
I know the full URLs for the pages. (I found them by clicking around links on the website, after all.)
I've hunted through the database and found the following:
- From our content table, I've found the rows that store the main content for the two offending pages. I know their content IDs.
- From our page_to_object table: I've found the page IDs corresponding to these content IDs.
- Since I already know the pages' aliases, I've identified their rows in our UrlAliasMapping table.
- There's a widget_types table which contains a row where the title is FOO_Taxonomy (where FOO is the organisation's name), and another row where the title is TaxonomySummary. These may or may not be relevant.
... but from here I'm stuck.
What I think I need to do (but I might be going about this wrong)
I think the most efficient way to do this would be through the database, with a query to find:
- Any instances of the Taxonomy Widget,
- Where their configuration is such and such,
- Joined to whatever pages have these widgets,
- Joined to whatever the URL aliases are for these pages.
But whilst I can write a SQL query to join a URL alias to its page_to_object mapping to the actual content object, I have no idea how to link any of this stuff to instances of the widget I'm looking for.
I'm open to methods that don't involve the database.
So in summary.
I need all the pages where there's a Taxonomy widget, and it has the "include summary" checkbox ticked.
What can I do to find these pages?