Problem

First i'm using the latest Drupal 9 version.
Hi, i've started using the flag module recently. Fir my project i need to be able to flag view and pages.
I've looked on the net but cannot seems to find a solution.

Question?

Is it possible for the flag module to flag views and pages?
If so, how can i do it?

Thanks everyone for the help

If my request is not good or if i can improve it do not hesitate to tell me what to change.
This is my first post on Drupal community.

Thanks again.

Comments

Jsaispas created an issue. See original summary.

ptmkenny’s picture

Welcome to the Drupal community!

Each flag can target only one type of entity.

Pages (nodes/content) and views are two different entity types.

So, you could create a flag that targets content, but not a single flag that targets content + views.

Also, there is currently no way to flag views with this module.

What you could do is embed some content into the view-- you can either embed a page in the view, or, if the view is already showing content that has flagging enabled, try adding a "link to flag" field in the view.

branden.bell’s picture

Is this ever going to be a feature?

Why is this not already a feature when every other Entity on my site including strange 3rd party modules like radioactivity, aliases, redirects and payment methods all are integrated?

fanton’s picture

The Bookmarks module allows you to save any page, including views.
See https://www.drupal.org/project/bookmarks

ivnish’s picture

Status: Active » Closed (works as designed)
ivnish’s picture

Assigned: Jsaispas » Unassigned