Ishwar Chandramouliswaran at on
Alternate view of resources
Request to consider alternate resource layout requested by a certain group. Per our discussion please let me know options to consider enabling this as opposed to the standard resource/publication view.
Current view https://nciphub.org/resources/1026
Anonymous at on
Attaching a sample design
sample layout
494 KBClick to download
Reply Report abuse
Please login to comment.
Shawn Rice at on
The more I think about this, the more troublesome it becomes. A resource page is composed of multiple views: the overall layout and the individual layouts under each tab. That is, each tab/plugin has its own layout. To have an alternate view, there would need to be associated alternate views for all the plugins too.
resource / view
resource / view_b
resource / about / view
resource / about / view_b
resource / questions / view
resource / questions / view_b
It’s doable but … potentially messy. Since the layouts for reviews, questions, and a few others are fairly specific to their content, they may not need alternate layouts. That would allow us to keep the scope to a smaller number of plugins.
resource / view
resource / view_b
resource / about / view
resource / about / view_b
I’ll try working through some experiments (namely, try producing the example layout you posted).
Reply Report abuse
Please login to comment.
Ishwar Chandramouliswaran at on
The request was to in fact have a simple version without tabs - so that should make it easier.
Reply Report abuse
Please login to comment.
Ishwar Chandramouliswaran at on
maybe just a resource/view_b : user adds desired content/text to this.
Reply Report abuse
Please login to comment.
Shawn Rice at on
Screenshot 1.
In this example, I preserved the tabs for items that largely need their own interfaces (reviews, questions). Mother other items, including the tabs for “versions” and “supporting documents” can be merged in to the main display.
NOTE: Screenshot was taken by putting the NCIP template onto my dev machine. Example data is from a dump of nanohub’s resources.
Reply Report abuse
Please login to comment.
Shawn Rice at on
Screenshot 2.
In this example, I removed the tabs entirely and tried to streamline it even more.
NOTE: Screenshot was taken by putting the NCIP template onto my dev machine. Example data is from a dump of nanohub’s resources.
Reply Report abuse
Please login to comment.
Mervi Heiskanen at on
These screenshots look good, I like the screen shot 2 better as it is more simple. Although the look is good for the ITCR we would still like to have the same data fields as in the mock-up. Also, instead of an abstract we would like to have a short description linking to the abstract.
mock-up for the NCIP Hub ITCR Resource
494 KBClick to download
Reply Report abuse
Please login to comment.
Shawn Rice at on
"... we would still like to have the same data fields as in the mock-up."
Specific data fields can created. The choice of inputs can be set up per resource type by the site administrator. What I mean, is each resource type "Presentation", "Database", etc. can have a custom set of fields asking for user input when they go to build and submit a resource. All of that is to say "should not be a problem".
"... instead of an abstract we would like to have a short description linking to the abstract."
To where? That is, where would it be linking to? There needs to be a destination view. This is largely why I had left the tabs in the first screen I posted. The mock-up you sent had, for example, a link to write a review. But, without the tabs, there would be no way of seeing those reviews afterwards. Due to that and some limitations with the structure of the code, I had to go with a design closer to the first screen. I made a number of small tweaks and have staged the code on NCIP's development machine for further testing with NCIP's data. So far, it all looks and works fairly well.
Reply Report abuse
Please login to comment.
Ishwar Chandramouliswaran at on
Shawn - I tested it out on the dev site although I did not see a choice to select either display views - did I miss it? Attached is the result I got.
Reply Report abuse
Please login to comment.