EPrints Technical Mailing List Archive

Message: #08783


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] How to show list of item in summary_page


Hi Mohd Izwan Bin Salim,

You want to change the code/markup you are using to something like:

<epc:if test="type.one_of ('student_project','thesis','research_reports','entrepreneurship_project')">
  <h2 style="background-color:#20346b;color:white;">Fulltext</h2>
  <div>Fulltext is available at:</div>
  <epc:if test="thesisloc">
    <ul>
    <epc:foreach expr="thesisloc" iterator="tloc">
      <li><epc:print expr="$tloc"/></li>
    </epc:foreach>
    </ul>
  </epc:if>
</epc:if>

The <epc:if test="divisions"> and its closing </epc:if> are probably not necessary if the thesisloc field is compulsory but it removed the risk that the abstract/summary page will fail to generate or display an error in the even that the are no thesis locations set, as maybe this field has not always been complusory or an admin who can overrule compulsory fields has unset this field to have no thesis locations set.

Regards

David Newman

On 27/10/2021 09:55, MOHD.IZWAN SALIM wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Dear David

Currently, I'm using this code

  <epc:if test="type.one_of ('student_project','thesis','research_reports','entrepreneurship_project')">
  <h2 style="background-color:#20346b;color:white;">Fulltext</h2>
  <div>Fulltext is available at:</div>
 
  <li><epc:print expr="thesisloc" /></li>
  </epc:if>

Should I modify it to make it a listing view?

An example of the record is here - https://ir.uitm.edu.my/id/eprint/17603/

It should view
  • Library Terminal Workstation (Digital Format) - Accessible via UiTM Libraries
  • Koleksi Akses Terhad | PTAR Utama | Shah Alam
  • MyKM Portal

Regards

Mohd Izwan Bin Salim
UiTM Institutional Repository


On Wed, Oct 27, 2021 at 3:25 PM David R Newman <drn@ecs.soton.ac.uk> wrote:

Hi Mohd Izwan Bin Salim,

Without greater detail it is difficult to be certain why you are getting this issue.  However, my guess would be an issue with your CSS that hides additional (i.e. non-first) bullet points in unordered lists (<ul>).  If this issue appears on a publicly visible page on your repository, it would be useful to provide an example URL where this is happening and this may allow me or someone else on the list to figure out what is going wrong.  Otherwise, a full page screenshot may be sufficient if this example is on a restricted page.

Regards

David Newman

On 27/10/2021 05:29, MOHD.IZWAN SALIM via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Dear all...

I have added a new field (subject) for location information. The field has multiple lines.

How to show all in number or listing view.

I want it to show like this
  • Location 1
  • Location 2
  • Location 3
Currently, I get
  • Location 1
    Location 2
    Location 3
Regards

Mohd Izwan Bin Salim
UiTM Institutional Repositories

PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...


DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public,  proprietary,  privileged,  confidential  and  exempt  from  disclosure under applicable law including the Official Secrets Act 1972. READ MORE...

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

Virus-free. www.avg.com

PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...


DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public,  proprietary,  privileged,  confidential  and  exempt  from  disclosure under applicable law including the Official Secrets Act 1972. READ MORE...