Developer forum

Forum » Swift » Article Tag Filter not working properly/at all

Article Tag Filter not working properly/at all

Joakim
Reply

Hi,

I'm running a fresh swift(1.26.8) on DW(10.15.4). I've created a page to list articles where I'm using Swift_ArticleTagFilter and Swift_Article List. Im assuming the tag filter should filter the actual list, but looking at the standard template its using no functionality to achieve this, also tested pressing a tag button but no action is fired. 

Looking at the docs there's not alot of information regarding articles. Am I going about this the wrong way?

Thanks in advance

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi

Can you share a link?

BR Nicolai

   
Joakim
Reply

Fixed the previous template errors, should now display the incorrect filtered list properly

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Joakim

As far as I can see the tag filter here, is your own custom implementation:



The error may be that your request is wrong. It looks like this:

https://unisportsite-hef8gcgag9bnasdj.westeurope-01.azurewebsites.net/sv-se/referensprojekt?q=Sporthallar

And it should be:

https://unisportsite-hef8gcgag9bnasdj.westeurope-01.azurewebsites.net/sv-se/referensprojekt?Tags=62


Best regards
Karsten Thuen

 
Joakim
Reply

Yes the onclick js function is an attempt at custom functionality.
However the template itself is standard swift as far as I know. So disregarding my function there is no standard functionality for filtering the actual list.

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

I see. Let me know it you got it working.

 

 

You must be logged in to post in the forum