Re: [Dspace-tech] Front Page Build

2015-08-14 Thread Keith Jones
Thanks Helix84,

Thank did the trick. This exchange definitely helped me get a better
understanding. I really appreciate the help you've given me.

Thanks
Keith

On Thu, Aug 13, 2015 at 4:35 PM, helix84  wrote:

> On Thu, Aug 13, 2015 at 7:21 PM, Keith Jones  wrote:
>
>> Do you think it is causing your code some problems. When I leave you code
>> out this works, but when I have your code in it doesn't.
>>
>
> Most certainly. This is what builds your collection/community structure to
> be styled as collapsible. Replace
> 
> with your
> 
> ...
> 
> and it should work.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread helix84
On Thu, Aug 13, 2015 at 7:21 PM, Keith Jones  wrote:

> Do you think it is causing your code some problems. When I leave you code
> out this works, but when I have your code in it doesn't.
>

Most certainly. This is what builds your collection/community structure to
be styled as collapsible. Replace

with your

...

and it should work.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread Keith Jones
Helix,

After looking over my changes, I did have to add this to the utils.xsl file:


  



ds-artifact-item 


community 


collection 



even
odd






  
  

Do you think it is causing your code some problems. When I leave you code
out this works, but when I have your code in it doesn't.

Thanks
Keith


On Thu, Aug 13, 2015 at 11:01 AM, helix84  wrote:

> The code I sent you tries to be as non-invasive as possible. When you add
> the template, the only the DRI output of the homepage should change but not
> the DRI output of the community-list. Therefore, if your collapse/expand
> widgets are just css/js, they should continue to work. If, however, they do
> any modifications to XSLT, that may change how the community-list DRI is
> rendered and it's possible my snippet interferes with it somehow. Check
> whether there are any differences in community-list DRI between how Mirage
> renders it and your theme renders it.
>
> On Thu, Aug 13, 2015 at 4:25 PM, Keith Jones  wrote:
>
>> Helix,
>>
>> Thanks for the help, the code is working and will remove the list from
>> the home page.
>>
>> Here is my problem.
>> Currently in production we are using collapsible list for the community
>> browse page, which you can see here:
>> http://udspace.udel.edu/community-list. This is in version 3.1 using the
>> XMLUI. I was able to remove the community list from the main page but
>> commenting out the template call in the xslt, I did not use the overriding
>> template method.
>>
>> When I use the code provided, the collapsible list will partly work, but
>> the arrow icons do not appear, when viewing the community list.
>>
>> Thanks
>> Keith
>>
>> On Thu, Aug 13, 2015 at 9:07 AM, helix84  wrote:
>>
>>> Try this:
>>>
>>> >> match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']">
>>> >> test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()">
>>> 
>>> 
>>> 
>>>
>>> It hides the community browser unless the request URI is non-empty (like
>>> "/community-list").
>>>
>>>
>>> Regards,
>>> ~~helix84
>>>
>>> Compulsory reading: DSpace Mailing List Etiquette
>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>
>>>
>>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread helix84
The code I sent you tries to be as non-invasive as possible. When you add
the template, the only the DRI output of the homepage should change but not
the DRI output of the community-list. Therefore, if your collapse/expand
widgets are just css/js, they should continue to work. If, however, they do
any modifications to XSLT, that may change how the community-list DRI is
rendered and it's possible my snippet interferes with it somehow. Check
whether there are any differences in community-list DRI between how Mirage
renders it and your theme renders it.

On Thu, Aug 13, 2015 at 4:25 PM, Keith Jones  wrote:

> Helix,
>
> Thanks for the help, the code is working and will remove the list from the
> home page.
>
> Here is my problem.
> Currently in production we are using collapsible list for the community
> browse page, which you can see here:
> http://udspace.udel.edu/community-list. This is in version 3.1 using the
> XMLUI. I was able to remove the community list from the main page but
> commenting out the template call in the xslt, I did not use the overriding
> template method.
>
> When I use the code provided, the collapsible list will partly work, but
> the arrow icons do not appear, when viewing the community list.
>
> Thanks
> Keith
>
> On Thu, Aug 13, 2015 at 9:07 AM, helix84  wrote:
>
>> Try this:
>>
>> > match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']">
>> > test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()">
>> 
>> 
>> 
>>
>> It hides the community browser unless the request URI is non-empty (like
>> "/community-list").
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread Keith Jones
Helix,

Thanks for the help, the code is working and will remove the list from the
home page.

Here is my problem.
Currently in production we are using collapsible list for the community
browse page, which you can see here:
http://udspace.udel.edu/community-list. This is in version 3.1 using the
XMLUI. I was able to remove the community list from the main page but
commenting out the template call in the xslt, I did not use the overriding
template method.

When I use the code provided, the collapsible list will partly work, but
the arrow icons do not appear, when viewing the community list.

Thanks
Keith

On Thu, Aug 13, 2015 at 9:07 AM, helix84  wrote:

> Try this:
>
>  match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']">
>  test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()">
> 
> 
> 
>
> It hides the community browser unless the request URI is non-empty (like
> "/community-list").
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread helix84
Try this:







It hides the community browser unless the request URI is non-empty (like
"/community-list").


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread Keith Jones
Hi Helix84,

I've actually implemented the over-ride suggestion you gave a few years
ago. It works in removing the community list from the front page, but in
doing so, it breaks my changes to the community list page. On the community
list page I'm using CollapsibleList.js to manage the community list. When I
put in the following:



xmlui.dri2xhtml.structural.search-advanced


It works, but now my ColapsibleList no longer works.



On Thu, Aug 13, 2015 at 8:25 AM, helix84  wrote:

> Hi Keith,
>
> XMLUI isn't organized around files but rather around templates, some of
> which are shared among different pages.
>
> You probably already figured out [1]. Now you just need [2] to distinguish
> between the homepage and /community-list (@target).
>
> [1]
> https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowdoIremovethesearchboxfromthefrontpageinXMLUI
> ?
> [2]
> https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowcanIchangewhatisdisplayedinXMLUIforaparticularcollection
> ?
>
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Front Page Build

2015-08-13 Thread helix84
Hi Keith,

XMLUI isn't organized around files but rather around templates, some of
which are shared among different pages.

You probably already figured out [1]. Now you just need [2] to distinguish
between the homepage and /community-list (@target).

[1]
https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowdoIremovethesearchboxfromthefrontpageinXMLUI
?
[2]
https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowcanIchangewhatisdisplayedinXMLUIforaparticularcollection
?



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette