It's probably better to have a localtheme.xsl; but what is the difference between dri2xhtml.xml (which is referenced in the sitemap.xmap file by default) and dri2xhtml/structural.xsl? If you use a local xsl based on structural.xsl, do you config the sitemap.xmap as: <map:transform src="./localtheme.xsl"/>?
Still a bit confused. Sorry and thanks very much! Sophie -----Original Message----- From: Pottinger, Hardy J. [mailto:[email protected]] Sent: Friday, July 30, 2010 4:04 PM To: Deng, Sai; [email protected] Subject: RE: Manakin customization for 1.4.2 to 1.6.2 I actually just copy pieces of the structural.xsl that I want to customize, to my theme's main xsl file (<name of theme>.xsl). That way I've got a record of exactly what I'm changing, and I don't have to keep maintaining the entire structural.xsl file. Here's a good example: I copied the template for producing the styles for headers, and took out all the variable sizing code, so I could tame the CSS for headers. I instead just use the humble H tag and CSS. <xsl:template match="dri:div/dri:head" priority="3"> <xsl:variable name="head_count" select="count(ancestor::dri:div)"/> <xsl:element name="h{$head_count}"> <xsl:call-template name="standardAttributes"> <xsl:with-param name="class">ds-div-head</xsl:with-param> </xsl:call-template> <xsl:apply-templates /> </xsl:element> </xsl:template> --Hardy > -----Original Message----- > From: Deng, Sai [mailto:[email protected]] > Sent: Friday, July 30, 2010 3:27 PM > To: Pottinger, Hardy J.; [email protected] > Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > Thanks, Hardy! It works. > Another question: I followed some documentation to add a dri2xhtml > folder under my local theme folder and copied /dri2xhtml/structual.xsl > to this folder. Then I modified sitemap.xmap (under my local theme > folder) from: > <map:transform src="../dri2xhtml.xsl"/> > To > <map:transform src="./dri2xhtml/structural.xsl"/> > But the structural change is not showing up. How do you normally do > this? > > Thanks very much, > > Sophie > (Metadata Librarian) > > > -----Original Message----- > From: Pottinger, Hardy J. [mailto:[email protected]] > Sent: Friday, July 30, 2010 2:54 PM > To: Deng, Sai; [email protected] > Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > Hi, Sophie, you need to either manually copy (shh, you didn't hear that > from me) the news-xmlui.xml file from your working folder to the live > folder (under /dspace/config, typically), or you need to rebuild using > mvn and then change to the target folder for that build and run "ant > init_configs". > > --Hardy > > > -----Original Message----- > > From: Deng, Sai [mailto:[email protected]] > > Sent: Friday, July 30, 2010 11:30 AM > > To: [email protected] > > Subject: Re: [Dspace-tech] Manakin customization for 1.4.2 to 1.6.2 > > > > Hi Hilton, > > Thanks for the link > > (http://ir.sun.ac.za/wiki/index.php/Asset_Presentation). Nice > > documentation and examples, more detailed than what we can find in the > > DSpace 1.6.2 official one. > > > > We followed and compared several documentations and made our initial > > changes. There is still one thing that is not working: our news > doesn't > > show up although we modified [DSpace-source]/dspace/config/news- > > xmlui.xml. I don't understand what's said in the official > documentation: > > "it is localized by inserting 'i18n' callouts into the text areas." I > > did use xref tag to construct links (don't know much about DRI > schema). > > What's missing here? Why the system still shows the default news > > "Welcome to the new Manakin interface..." > > > > Thank you for any help! > > > > Sophie > > > > P.S. Thanks Hardy and others who provided help too! > > > > Date: Wed, 28 Jul 2010 09:59:43 +0200 > > From: Hilton Gibson <[email protected]> > > Subject: Re: [Dspace-tech] Manakin customization for 1.4.2 to 1.6.2 > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > Also try: http://ir.sun.ac.za/wiki/index.php/Asset_Presentation > > > > > > On 27/07/2010 23:42, Pottinger, Hardy J. wrote: > > > That would work as well, although that is code that is very likely > in > > use by tomcat. But you can certainly copy from there. > > > > > > --Hardy > > > > > > > > >> -----Original Message----- > > >> From: Deng, Sai [mailto:[email protected]] > > >> Sent: Tuesday, July 27, 2010 4:22 PM > > >> To: Pottinger, Hardy J.; [email protected] > > >> Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > >> > > >> Thank you, Hardy! > > >> We installed the release version. We found that our templates are > > >> located under /dspace/webapps/xmlui/themes (different from the > > directory > > >> you provided). We'll start from there. This should be all right, > > right? > > >> > > >> Sophie > > >> > > >> > > >> ________________________________________ > > >> From: Pottinger, Hardy J. [[email protected]] > > >> Sent: Tuesday, July 27, 2010 4:05 PM > > >> To: Deng, Sai; [email protected] > > >> Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > >> > > >> It sounds to me like you're actually using the release version, not > > the > > >> source version. For the release versions, you put your themes > under: > > >> > > >> <dspace>/dspace/modules/xmlui/src/main/webapp/themes/ > > >> > > >> Where<dspace> is wherever you have your working directory for > dspace > > >> (not where you're publishing it, which is generally /dspace). > > >> > > >> The sample themes for the release are easiest to find after you've > > run a > > >> mvn build successfully (someone please correct me if there's a > better > > >> way to find them). You can find the example code in the "target" > > folder: > > >> > > >> <dspace>/dspace/target/dspace-1.6.2-build.dir/webapps/xmlui/themes/ > > >> > > >> (note that the specific folder will vary, based on what version > > you're > > >> building). > > >> > > >> There's also a pretty good presentation by Tim Donohue, written for > > >> DSpace 1.5, but applicable to 1.6, which covers the new way of > doing > > >> things that came along with the switch to the mvn build tool. > Here's > > one > > >> copy of it, there are a few other versions: > > >> > > >> http://www.slideshare.net/tdonohue/making-dspace-15-your-own- > > >> customizations-via-overlays > > >> > > >> My advice, if you're just starting out, you may want to switch to > > using > > >> the source version... Down the road, if you run into issues and > come > > to > > >> the dspace-tech list for help, many times people will give you > paths > > to > > >> files based on their own installations, and many people here use > the > > >> source version. So, you'll save yourself some headaches if you just > > go > > >> with the source install. > > >> > > >> I'm in the process of migrating from a 1.5.1 release install, to a > > 1.6.2 > > >> source install, for this reason. Which is why I have the paths at > the > > >> tips of my fingers. :-) > > >> > > >> --Hardy > > >> > > >> > > >>> -----Original Message----- > > >>> From: Deng, Sai [mailto:[email protected]] > > >>> Sent: Tuesday, July 27, 2010 3:40 PM > > >>> To: Pottinger, Hardy J.; [email protected] > > >>> Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > >>> > > >>> Hardy, > > >>> Thanks for the reply! > > >>> We don't have dspace-xmlui directory under dspace-source, is there > > >>> anything wrong with the installation? Can I copy the dspace-xmlui > > >>> > > >> folder > > >> > > >>> (or just the theme templates) from DSpace 1.5 (a test machine) to > > >>> > > >> DSpace > > >> > > >>> 1.6.2? > > >>> > > >>> Sophie > > >>> ________________________________________ > > >>> From: Pottinger, Hardy J. [[email protected]] > > >>> Sent: Tuesday, July 27, 2010 3:29 PM > > >>> To: Deng, Sai; [email protected] > > >>> Subject: RE: Manakin customization for 1.4.2 to 1.6.2 > > >>> > > >>> Hi, Sophie, if you're using the source distribution, the themes > > folder > > >>> can be found here: > > >>> > > >>> <dspace-1.6.2-src-release>/dspace-xmlui/dspace-xmlui- > > >>> webapp/src/main/webapp/themes > > >>> > > >>> There are a few example themes in there. I've had pretty good luck > > >>> starting with just the "template" theme, but if you want to start > > >>> > > >> closer > > >> > > >>> to a finished product, the Kubrick and Reference themes are > > >>> > > >> alternatives > > >> > > >>> to the "Classic" theme that is configured by default. > > >>> > > >>> Lots of great advice can be found in the Manakin Theme Tutorial, > > which > > >>> is available at: > > >>> https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial > > >>> > > >>> > > >>> --Hardy > > >>> > > >>> > > >>>> -----Original Message----- > > >>>> From: Deng, Sai [mailto:[email protected]] > > >>>> Sent: Tuesday, July 27, 2010 3:09 PM > > >>>> To: [email protected] > > >>>> Subject: [Dspace-tech] Manakin customization for 1.4.2 to 1.6.2 > > >>>> > > >>>> Hi list, > > >>>> We have upgraded our DSpace from 1.4.2 JSP to 1.6.2 Manakin. We > are > > >>>> > > >>> not > > >>> > > >>>> sure how to customize the Manakin interface. We didn't find any > > >>>> > > >>> template > > >>> > > >>>> in DSpace-source directory. We tried to find some documentation, > > but > > >>>> > > >>> the > > >>> > > >>>> 1.6.2 documentation assumes that we already have themes from > 1.5.2, > > >>>> which we don't have. Can anyone point us to some useful > > >>>> > > >> documentation > > >> > > >>> or > > >>> > > >>>> give us a clear description on the steps? Examples of themes > would > > >>>> > > >> be > > >> > > >>>> great help as well. > > >>>> > > >>>> Thanks very much, > > >>>> > > >>>> Sophie > > >>>> > > >>>> ----------------------------------------------------------------- > -- > > - > > >>>> > > >> -- > > >> > > >>> -- > > >>> > > >>>> ------ > > >>>> The Palm PDK Hot Apps Program offers developers who use the > > >>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a > > >>>> > > >> share > > >> > > >>>> of $1 Million in cash or HP Products. Visit us here for more > > >>>> > > >> details: > > >> > > >>>> http://ad.doubleclick.net/clk;226879339;13503038;l? > > >>>> http://clk.atdmt.com/CRS/go/247765532/direct/01/ > > >>>> _______________________________________________ > > >>>> DSpace-tech mailing list > > >>>> [email protected] > > >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > >>>> > > > -------------------------------------------------------------------- > -- > > -------- > > > The Palm PDK Hot Apps Program offers developers who use the > > > Plug-In Development Kit to bring their C/C++ apps to Palm for a > share > > > of $1 Million in cash or HP Products. Visit us here for more > details: > > > http://ad.doubleclick.net/clk;226879339;13503038;l? > > > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > > > _______________________________________________ > > > DSpace-tech mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > > -- > > Hilton Gibson > > Systems Administrator > > JS Gericke Library Room 1025D > > Stellenbosch University > > Private Bag X5036 > > Stellenbosch > > 7599 > > South Africa > > > > Tel: +27 21 808 4100 | Cell: +27 84 646 4758 > > > > > > > > > > ------------------------------ > > > > Message: 5 > > Date: Wed, 28 Jul 2010 09:56:16 +0100 > > From: S?rgio Afonso <[email protected]> > > Subject: [Dspace-tech] Difficulties with using DSpace 1.6.2 and > > Shibboleth authentication - Association to Special Groups > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > Hello all, > > > > I am having some trouble when using DSpace 1.6.2 and Shibboleth in > what > > regards to the association to groups based on DSPACE_ROLES header > > (getSpecialGroup). > > > > Can someone give me an hint on where should I look to surpass this > > problem? > > > > Versions of Software: > > *DSpace 1.6.2 > > Apache 2.2.3 > > Tomcat 6.0.14 > > Shibboleth SP 2.3.1 > > * > > > > My configuration is the following: > > > > *DSpace* > > > > plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ > > org.dspace.authenticate.ShibAuthentication, \ > > org.dspace.authenticate.PasswordAuthentication > > ... > > > > authentication.shib.email-header = MAIL > > authentication.shib.firstname-header = GIVEN_NAME > > authentication.shib.lastname-header = SURNAME > > > > authentication.shib.email-use-tomcat-remote-user = false > > authentication.shib.autoregister = true > > > > authentication.shib.role-header = DSPACE_ROLES > > authentication.shib.role-header.ignore-scope = true > > > > authentication.shib.default-roles = Anonymous > > authentication.shib.role.Administrator = Administrator > > authentication.shib.role.GroupX = GroupX > > > > *Apache Virtual Host configuration* > > > > SetEnvIf Request_URI "/Shibboleth.sso" no-jk > > SetEnvIf Request_URI "/Shibboleth.sso/*" no-jk > > > > <LocationMatch /Shibboleth.sso/*> > > ShibRequestSetting applicationId repo-x > > </LocationMatch> > > > > <Location /shibboleth-login> > > AuthType shibboleth > > ShibRequireSession On > > ShibRequestSetting applicationId repo-x > > ShibRequestSetting redirectToSSL 443 > > ShibUseHeaders On > > ShibExportAssertion On > > require valid-user > > </Location> > > > > > > Below I post some logs from dspace.log in what refers to > > ShibbolethServlet and ShibAuthentication: > > > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ header:SURNAME=Afonso > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ > > header:GIVEN_NAME=Sergio > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ > > header:[email protected] > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ > > header:DSPACE_ROLES=Administrator;GroupX > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ > > header:Shib-Application-ID=repo-x > > 2010-07-28 09:26:07,022 INFO > > org.dspace.app.webui.servlet.ShibbolethServlet @ header:REMOTE_USER > > > > 2010-07-28 09:26:07,022 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:SURNAME=Afonso > > 2010-07-28 09:26:07,022 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:GIVEN_NAME=Sergio > > 2010-07-28 09:26:07,022 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:[email protected] > > 2010-07-28 09:26:07,022 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:DSPACE_ROLES=Administrator;GroupX > > 2010-07-28 09:26:07,022 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:Shib-Application-ID=repo-x > > 2010-07-28 09:26:07,023 DEBUG > org.dspace.authenticate.ShibAuthentication > > @ header:REMOTE_USER= > > > > And i have configured in DSpace the group: > > > > ID:8 Name:GroupX > > > > In a previous version from DSpace (1.5.2 IIRC) I was able to see in > the > > dspace.log the getSpecialGroup being filled, but with this > configuration > > I can't seem to find it on the log files. > > > > Best regards, > > S?rgio Afonso > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > ---------------------------------------------------------------------- > -- > > ------ > > The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://ad.doubleclick.net/clk;226879339;13503038;l? > > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > > > > ------------------------------ > > > > _______________________________________________ > > DSpace-tech mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > > > > End of DSpace-tech Digest, Vol 51, Issue 55 > > ******************************************* > > > > ---------------------------------------------------------------------- > -- > > ------ > > The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > DSpace-tech mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

