Ticket #422 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Changes to Social Reporting homepage

Reported by: ed Owned by: ed
Priority: critical Milestone: PSE
Component: Drupal modules & settings Keywords:
Cc: Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0

Description (last modified by jim) (diff)

  1. Put WYSIWYG editor into text input elements of panels in SR homepage (intro section)
  1. Rights changes for Social Reporter role: Make it possible for SR to:

2a. Update the SR homepage (in a panel) introduction area with a WYSIWYG editor
2b. Update the topic list in the SR sidebar (in a panel)
2c. Set 'Featured Story' using Contexts in SR panels admin

Other changes required for Social Reporters:
2d. Social Reporters need to see the 'do not send updates' option check box for their own posts
2e. Social Reporters need to use the function to change date of their own posts

Change History

comment:1 Changed 4 years ago by jim

  • Description modified (diff)

1 Done, converted the panel at the top from a standard panels editable area to a 'custom content pane' so the edit hover link now says "Configure content pane" and WYSIWYG works.

Not 100% sure about 2 --- isn't 2a the same as 1?

comment:2 Changed 4 years ago by ed

1: great: for site editors or social reporters?

2: isn't this all for an admin/site editor *only* - ie NOT a social reporter? We need them to be able to edit these things without becoming admin/editor - solely remaining Social Reporters rights

comment:3 Changed 4 years ago by jim

  • Owner changed from jim to ed
  • Status changed from new to assigned

OK so users with the 'social reporter blogger' can now:

  • Edit ALL panels -- danger! -- though they can't access all options.
  • Therefore edit the one at /stories, go to 'Contexts' (under Variants -> Home: Social Reporting) and change the 'Featured story' by clicking the cog and choosing a new node by typing the title and selecting from the list.
  • Edit any 'custom content pane' by hovering over it and choosing the faint 'Configure content pane', then can edit using the WYSIWYG editor as normal.

I have also converted the remaining panes to custom content panes, and tagged all these 'Social Reporters' -- visible here: https://www.transitionnetwork.org/admin/build/ctools-content

So I think the high prioiry things are now done. Ed?

Finally, 2d and 2e are bending Drupal away from its normal behaviour -- can't SRs just leave those options alone?!? Otherwise this is some coding to go in the Transition Extras module, and probably 0.5-1 hour's work by the time it gets to LIVE.

Last edited 4 years ago by jim (previous) (diff)

comment:4 Changed 4 years ago by ed

  • Owner changed from ed to jim

It's working good - thanks - we are still needing the ability for Social Reporter users to set the 'featured story' in panels admin:

2c. Set 'Featured Story' using Contexts in SR panels admin

comment:5 Changed 4 years ago by jim

  • Owner changed from jim to ed

This should be done ... Did you see my 2nd bullet?

"the 'social reporter blogger' can now... edit the one at /stories, go to 'Contexts' (under Variants -> Home: Social Reporting) and change the 'Featured story' by clicking the cog and choosing a new node by typing the title and selecting from the list."

This should be in place mate, I could when I tried but please retest...

comment:6 Changed 4 years ago by ed

  • Owner changed from ed to jim

Sorry Jim, as a social reporter test user1, I cannot see what it is you are referring to. I can edit the pane but can't find 'contexts' or 'variants'. Where on which page am I looking for these links?

comment:7 Changed 4 years ago by jim

You don't edit the pane, you edit the Panel....

Steps:

  1. Log in
  2. Got to /stories
  3. 'Edit panel' tab at top
  4. Go to 'Contexts' (below Variants -> Home: Social Reporting)
  5. Change the 'Featured story' by clicking the cog and choosing a new node by typing the title and selecting from the list."
  6. Save and update

All done... If you can't see any ot these bits let me know as it's just a perms tweak.

comment:8 Changed 4 years ago by ed

edit panel does not show up for social reporters. log in as test user to see:

U: Test User1
P: edtestpassword

comment:9 Changed 4 years ago by jim

  • Owner changed from jim to ed

Sorry Ed, I took of a permission I thought SRs didn't need... They did.

It's back. Steps above will now work.

Ticket completed?

comment:10 Changed 4 years ago by ed

  • Status changed from assigned to closed
  • Resolution set to fixed

closed - thanks

Note: See TracTickets for help on using tickets.