Ticket #140 (closed task: fixed)

Opened 2 years ago

Last modified 1 year ago

generic "plos journals" template for login/profile pages

Reported by: russ Assigned to: russ
Priority: medium Milestone:
Component: user-interface Version:
Keywords: email alert profile preference Cc:
Blocking: Blocked By:

Description

it would be ideal to have a separate "generic plos" view for the login/profile pages for people who are only accessing the system to set their email alerts preferences (and perhaps have no interest in plosone).

if we have to have a single view/template on launch, it might be preferable for it to be the generic view rather than the plosone view.

once we have multiple journals running on topaz, sharing a userbase, we'll want journal template specific login/profile pages for each journal...

Dependency Graph

Change History

03/07/07 11:45:29 changed by stevec

  • status changed from new to assigned.

russ is working on the actual implementation of the pages, but a separate template file for the profile/preferences pages have been checked in in [2396]

03/07/07 11:59:06 changed by stevec

  • owner changed from stevec to russ.
  • status changed from assigned to new.

Changes can be made to files in head/plosone/webapp/src/main/webapp/plosJournals/ for the profile pages. Be careful you dont just push out xwork.xml as is. It has changes that shouldn't go out right now. Either wait for the next release (preferable) or apply the changes in the diff carefully. xwork.xml is an important file which can cause a whole slew of problems if there are issues with it.

03/07/07 15:10:41 changed by russ

  • status changed from new to assigned.

sounds good. i can wait until the next release to do the profile page changes.

i'll to plos-registration and cas for now, which should oil the squeaky wheel.

04/06/07 12:31:21 changed by russ

  • priority changed from unassigned to medium.
  • version deleted.

i took a stab at this and it looks like i'll probably need some help from steve to get everything hooked up right with the plosJournals template. i'm putting this off until after the 0.6 release.

issues with the naive approach (copying the template files from cas)

1. preferences/alerts tabs are not being generated. 2. edit alerts page is using the plosOneFreemarker template instead of the plosJournals template, and xwork.xml is a little too complex for me to want to mess with. 3. edit alerts page throws a site error 4. the green "clock" animation runs endlessly at the bottom of the edit prefs page. 5. the submit input on the edit prefs and create new user pages does not work.

steve, you can see this behavior on http://webhead-dev.plos.org if your curious. otherwise i'll bug you next week about it...

04/06/07 13:15:43 changed by stevec

yeah, you won't be able to do a straight copy as the current headers set some things up which the pages need. Best approach is to leave the existing code in the headers and merely replace the html. I probably missed the edit alerts page in migrating to the alerts page. I can fix that later. Are errors 3-5 only after you changed the templates? Those all work on the current build, right?

04/06/07 13:21:30 changed by russ

yes, all these errors are after changing the templates. everything was tested and working before that :)

if you can fix up alerts.ftl post upgrade, i'll take another, less destructive, stab at updating the templates in the plosJournals folder.

04/11/07 13:48:51 changed by stevec

[2529] contains the changes to move editAlerts and saveAlerts to the new template

04/16/07 12:52:29 changed by russ

  • status changed from assigned to closed.
  • resolution set to fixed.

yah, i saw the new xwork.xml. things seem to be moving along fine here on our end - just waiting for approval from rich and susanne. so i'm closing the ticket.

08/07/07 16:25:51 changed by

  • milestone deleted.

Milestone Bugs deleted