One content type but can display as public or private

I have roles accounting, purchasing and hrd. And a content type news, all roles can add/edit news.

My want is user with roles accounting can post a news with 2 options private or public, if set private only roles accounting can see a post, if set public all of roles can see a post (this effected for all roles not only accounting).

If possible i want show radio button ("private" and "public") field in add/edit news.

Please teach me, or all suggest will be accept.

Thanks.

[SOLVED] How to show in a View all the nodes of a Content Type Flagged and NOT flagged?

I'm using the Flags module and I want a View that lists all the nodes of a Content Type Flagged and NOT flagged (NOT just the Flagged ones).

In one of the fields of the table I also show the "Flag link" button which must be changed to "Flag link" and/or "UnFlag Link") but, if several users have flagged the same node, I need to know how many users I am, maybe showing the number of users next to the Flag link eg. Flag link (10)

Finally I must have the possibility to view all the users who have Flagged the Node.

Any suggestion?

Best Regards

Multi Site beyond the average

I want to have four sites (for domains, each with there own IP address) on one site, with one database and one shopping cart. I know this is possible in general, but can I do this with Drupal? Any examples out there?

Also, can we then use Shopify with this senario?

We're on Drupal 7 now, and will move to 8 in 2020.

Show a view block to other two uid users besides the author

I've several view blocks filtered by logged in, active, content's author.
Some of these should be simply displayed also to other two specific (uid) registered users.

I must create a new role or there is a more quickly way by the view block itself?

I found several possible solutions (some for more complex use cases than mine) including the 'Rules block visibility"
Rules module, but I'm very undecided as to which one might be the best.

What approach would you recommend?

Many thanks

Not all tokens seem to be available...

I already posted a problem that my articles were not saved because of a problem with tokens in metatags.

But now I see that when editing the core user email templates (the ones found at ... /admin/user/settings), the same problem occurs.

When I click the list of available tokens, I do not get tokens considering site, user, ...

When looking at the reports, I see (considering tokens):

Info

RFP Yukon government is looking for vendors to support our platform and service delivery vision

The Government of Yukon's eServices for Citizens unit leads the government's digital transformation in public service delivery. We build, maintain and support digital platforms, standards, design systems and more. We partner with departments to deliver faster, simpler and better digital services for citizens.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x