[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2Fid%2Feprint%2F17603%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=snKH2yc2qpNU5%2FIiEG9oZUJ5Ma4Arh8EVTvPDxbrGNI%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2Fid%2Feprint%2F17603%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=snKH2yc2qpNU5%2FIiEG9oZUJ5Ma4Arh8EVTvPDxbrGNI%3D&amp;reserved=0>
>
> 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 at ecs.soton.ac.uk 
> <mailto:drn at 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...
>>     <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=C3k87YqYmeTGraEWCV9%2Fhi9cwF2%2BnE%2BRxQdi15G6vO8%3D&amp;reserved=0>
>>
>>     ------------------------------------------------------------------------
>>     *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...
>>     <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=C3k87YqYmeTGraEWCV9%2Fhi9cwF2%2BnE%2BRxQdi15G6vO8%3D&amp;reserved=0>
>>
>>     *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech  <http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech>
>>     *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fpwEI%2FFh%2FRTOJTZZ%2B6Fug8IE3j3hKuKj%2FKkezOXk8P4%3D&amp;reserved=0  <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521296886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fpwEI%2FFh%2FRTOJTZZ%2B6Fug8IE3j3hKuKj%2FKkezOXk8P4%3D&amp;reserved=0>
>>     *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=d6AxjMi6CEElAortAEF%2FAeviSkecqq%2F5VyMSmka5ZVk%3D&amp;reserved=0  <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=d6AxjMi6CEElAortAEF%2FAeviSkecqq%2F5VyMSmka5ZVk%3D&amp;reserved=0>
>
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8dSA%2FwxlWECkVu%2FfIA7xCRmeOqUH0AISkOCCIfs77s%3D&amp;reserved=0>
>     	Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vYp%2FJRkG1axpGdMYmtMzjuoUyX3hbrXlkC%2FDUn%2FWQi0%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8dSA%2FwxlWECkVu%2FfIA7xCRmeOqUH0AISkOCCIfs77s%3D&amp;reserved=0>
>
>
>
> *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... 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=xFLhMIEeVsjywyW%2B9ETzasdYt07Xhky4P%2Fz2%2BtWnA6k%3D&amp;reserved=0>
>
> ------------------------------------------------------------------------
> *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... 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=xFLhMIEeVsjywyW%2B9ETzasdYt07Xhky4P%2Fz2%2BtWnA6k%3D&amp;reserved=0>


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4a895fc2d46540edf5b808d9992ff5c3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709253521306851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=EygW%2FVrb80tV1CbbUiZrJ3YDLuA%2FORv%2BNRAMy0ws6DI%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211027/79cad7f5/attachment-0001.html