Community > Ideas
47 views
Community Review

Remove/Add Item from Visualizer Instance

Hi,

Is it possible to remove an item from the current Visualizer? Say I'm working on an image gallery and I add an image but realize I don't want it to display in this gallery but another gallery that I might want to put somewhere else on the site. It seems right now the only option I have is to click Manage, and change to a custom filter, add all the items I want, and exclude the one(s) I don't want. What would be nice, if there was a way to add a Visualizer and then add some content to that Visualizer and have it set to a custom filter by default so that is shows the items I've added to that instance by default. Where this could be helpful is if you're building a site for a client and you want to use, say a Visualizer for shortcodes, from the Porto Theme, for example. I think building content could be a quicker if the Visualizer by default showed the items that have been created in that instance (or if there was a way to set that), and if you need to pull in some other content items from that same structure, you could do so by using the existing filtering options. 

Josh Slaughter Josh Slaughter
published 08/19/2019 20:03
Add Comment
Mandeep Singh
replied 08/19/2019 22:51

Josh,
I'm not sure if I understand this. 

If you want to remove an item from a visualizer but still use it somewhere else then the only option is to use Custom Filtering. Once you delete an item, it's deleted across all channels (all visualizers and API).

Items are created in a central library; there's no concept of "items that have been created in that instance" 

Josh Slaughter
replied 08/19/2019 23:55

Sorry, I didn't explain it well. I created a short video to better illustrate what I'm talking about. 

https://www.screencast.com/t/o0l6frZKn

I've created a visualizer for an Accordion of a theme. I have 2 accordions side by side. They are each set to custom filter and only show 1 item.  In the template, I added code to be able to add a new item to the content library for the accordion. What would be nice is if, the newly added item was automatically added to the custom filter so that the new item showed in the list. Similarly it would be nice to have a "remove" button that would just change the custom filter on the visualizer so that the item is removed from the visualizer but not from the content library. So that way you could provide a user with a faster way to manage the content in fewer clicks if you're building custom visualizer templates to manage content. 

 As you can see from the screenshot below, the item was added to the content library successfully.
https://www.screencast.com/t/hyAsp5VTZ

Mandeep Singh
replied 08/21/2019 23:14

Okay that makes sense. 

Perhaps, a settings such as "Automatically add any new items to filter" 

However, we still have to find a way to make sure that there's absolutely no confusion regarding "removing an item from fitler" vs. "removing the item from library"

Also, we need to work on permissions. Who can remove an item from filter? Right now, it's only those that have edit rights to the visualizer.  

Josh Slaughter
replied 08/22/2019 01:33

I like the idea of that setting, "Automatically add any new items to filter"

Maybe when the "remove item from filter" method is called, there's a JS alert dialog that says something along the lines of "This item will be removed from the current filter but will not be deleted (it can be added again later)". 

For Permissions, maybe if a Role has the ability to Add and Delete Content, maybe they can also have the ability to Remove items from a filter? Seeing how removing an item from a filter, might be more of a content management role? Or maybe it's its own permission? Just putting some ideas out there, not sure what makes the most sense. 

Last Activity 08/22/2019 01:33