Hello,
Thank you for opening this thread. I have the same problem as Mariusz
originally did, and was wondering if anyone could offer some more specific
recommendations regarding Mark Wood's solution.
On our repository, we added an additional link to the navbar menu like so:
<li ngbDropdown class="nav-item d-flex align-items-center">
<a class="nav-link " role="button" data-toggle="dropdown"
aria-expanded="false" ngbDropdownToggle> About </a>
<div ngbDropdownMenu class="m-0 border-top-0 ng-trigger
ng-trigger-slide shadow-none" id="customDrop">
<a ngbDropdownItem style="color: #207698"
href="assets/about/uo-research.html">UO-Research</a>
<a ngbDropdownItem style="color: #207698"
href="assets/about/policies.html">Policies</a>
<a ngbDropdownItem style="color: #207698"
href="assets/about/faq.html">FAQ</a>
</div>
</li>
To use this structure but have it link to a view with the DSpace
header/footer and text content sandwiched between, would we then create a
component in our custom/app folder, and then use a routing
module/routerlink to get to that component view instead of using the static
link here (https://angular.io/tutorial/tour-of-heroes/toh-pt5)? Is that
the simplest way of doing it?
Thanks,
Carolyn.
On Friday, June 10, 2022 at 8:39:52 AM UTC-4 Mariusz wrote:
> It enlightened me and I have done it in the meantime. I just doubled the
> privacy component accordingly. Managed to. It works. But thanks for any
> suggestions.
>
> Regards
> Mariusz
>
> piątek, 10 czerwca 2022 o 14:25:27 UTC+2 [email protected] napisał(a):
>
>> On Fri, Jun 10, 2022 at 02:35:00AM -0700, Mariusz wrote:
>> > It works, but how can I make static pages look like the rest. I would
>> like
>> > a page with static content that looks like other pages in my
>> repository. I
>> > have already created my own theme. I would like to have additional
>> (themed)
>> > pages with my permanent content, as now they have info/privacy (Privacy
>> > Statement) or info/end-user-agreement (End User Agreement) . Pages with
>> my
>> > own info. I don't know if I'm explaining well. ;)
>>
>> So, I think you are saying that you want a page with all of the common
>> DSpace decorations, behaviors and styling, but with static content in
>> the middle. That does not sound like a static page, but a dynamic
>> page with fixed main content. I think that, to do this, you would
>> just write a component whose HTML template file contains no
>> placeholders and whose Typescript file contains no behaviors. Use the
>> theme's styling classes so that the rendering of your component tracks
>> changes to the theme.
>>
>> The "page" is assembled by Angular in the browser, and the stuff in
>> the middle that changes as you navigate is just one part of the
>> assembly. https://en.wikipedia.org/wiki/Single-page_application
>>
>> --
>> Mark H. Wood
>> Lead Technology Analyst
>>
>> University Library
>> Indiana University - Purdue University Indianapolis
>> 755 W. Michigan Street
>> Indianapolis, IN 46202
>> 317-274-0749 <(317)%20274-0749>
>> www.ulib.iupui.edu
>>
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-community/aedf214b-6e06-4eb1-afea-3c49cbb7a279n%40googlegroups.com.