Skip to main content
Participant
December 23, 2015
Question

Dynamic Content Filtering

  • December 23, 2015
  • 1 reply
  • 821 views

I am trying to meet a customer request to provide dynamic
filtered content that will be used in a specific way. The customer would like
four buttons representing information categories to be available on a cover page. By clicking on a button,
dynamic filtering would filter out topics that are not
conditionally tagged for that specific category. They do not want the user to use the filtering
tool. Instead, they would like to click on a button or image that invokes the
filter.

Is there a way to accomplish this, such as through the use
of creating a script?

Thanks.               

This topic has been closed for replies.

1 reply

Captiv8r
Legend
December 23, 2015

Interesting proposition

I think it should be possible but will require a bit of research. I know that it's possible to create a link that employs DCF as part of the hyperlink. So I could see where this could easily be used to create the links on that main page. What I'm unsure about is if DCF would be available if one elected to somehow remove the Filter button from the Skin.

Hopefully Willam will see this thread and choose to reply.

Cheers... Rick

Willam van Weelden
Inspiring
December 29, 2015

The easiest way to do this would be to use the CSH API where you control which filters are set. By simply refreshing to the correct URL, the filters will be applied (or reset). See: http://www.wvanweelden.eu/articles/context-sensitivity-responsive-and-multiscreen-html5

I haven't hooked into the tags after the fact yet. It is fairly easy to get a list of tags that are applied. But it's not as easy as to know which filters are available, what their ID's are and how to set them. Personally, I use the URL as well.

Participating Frequently
January 18, 2016

I am able to deploy with the user selecting the filter, but I need to deploy so our UI calls the filtered help via URL as you recommend. My URL doesn't change when make selections in the filter, so I don't know what URLs to provide our UI people. I've experimented with inserting the group name, separator, and selection, but I haven't been able to correctly guess at the placement. I'm hoping the page link you provided on your site will help me, but your site is down for maintenance. Could you possibly send me the content?