Link for the “Read More” continuation content

Request Type: 
General Assistance
Author: 
Paul Sabin
Issue/Request: 

How do I link the “Read More” button/link at the end of a graduate student bio to their individual bios?

The default link right now is to the home page of the website.

I think that I need to put some code into the “More link path”  but I’m not sure what is the right code for the individual user bio page.

Hi Paul,

I’m looking into this now. I’ll let you know as soon as I’ve discovered a solution.

Best,

-Zach

Hi Paul,

I was able to get the read-more links working properly. I’m not sure why the links were leading to the homepage, but here’s what I did to fix it:

  1. On the graduate students page, click the “gear” symbol in the upper right hand corner of the people listing to enter the configuration menu for the “dynamic people type listing” view. 
  2. In the view configuration menu, in the fields section, click the “add” button to add a new field. Select “User: CAS username” from the list. Check the “exclude from display” box and save the settings for this new field.
  3. Staying in the fields section, Click the arrow on the “add” button and select “rearrange”. Move “User: CAS username” so it is positioned before the “User: Bio” field.
  4. Click the “User: Bio” field and expand the menu section “Rewrite results”. Most of the settings necessary for a read-more break were already in place, here, but in the “More Link Path” field, paste “people/[cas_name]”. The text [cas_name] is a token that automatically substitutes the cas username for that individual. Each person’s page has a redirect in place by default that leads from people/[cas_name] to people/[name]. This will lead to the person’s full page, where their bio can be read in its entirety.

I hope these instructions are clear, but I’d be happy to clarify anything that requires it. Let me know if you consider this issue satisfactorily solved.

-Zach

Dear Zachary, 

Thank you very much for your work on this.  

I just checked it out and I see how you set it up.  

It seems to work when I am logged in as a CAS user.  But when I logout and just click on the links– for example, for Burow or Cole, then it takes me to the main page.

Thoughts on how to make this work for the non-registered/non logged in public?

Thanks!

Paul

Hi Paul,

A Colleague taught me the proper way to configure the “read-more” link path to direct to the individual’s profile. He already implemented it, but I’ll explain it here:

Similarly to what I explained above, in the “dynamic people type listing” view, you would click the “add” button under “fields”.

you would then add the field “User: Uid”, check the box that says “exclude field from display” and rearrange the fields so it appears above “User: Bio” in the listing. Then, click the “User: bio” field and open the tab “rewrite results”. In the “more link path” field, use the token “user/[uid]”. This will direct the link to the full page for each individual user.

Let me know if this solved your problem completely!

best,

-Zach

Dear Zachary, 

This was working a few days ago, but whatever was done to it today now seems to have stopped it from working.  The links on “read more” go to dead pages.  Thoughts?

Previously it seemed to use the netids, which appeared to work.  But now it links to a number that doesn’t go anywhere.

I did wonder about whether there are any privacy concerns related to using the netids as the page identifiers– are there?

Paul

Hi Paul,

I was just as confused as you were that it wasn’t working. I asked a colleague for assistance and he informed me that this was a caching issue, not any issue with the view settings; He flushed the cache and fixed that. I logged out of the site to check it out and everything seems to be functioning as intended now.

-Zach