On Apr 28, 2008, at 10:16 AM, <[EMAIL PROTECTED]> wrote: > ----- Original Message ----- > From: "Valerio Minetti" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[email protected]> > Sent: Monday, April 28, 2008 10:39 AM > Subject: Re: [Dspace-tech] DSpace 1.5 themes and source > > >>> 2. Since i've been doing customizations in dspace/ no dspace- >>> source/, >>> how to >>> preserve theme through updates and rebuilds? I'll move changes to >>> dspace.cfg and input-forms.xml to dspace-source/, but what to do >>> about >>> Custom theme - where in the source three do i put it? dspace/ >>> target/ is >>> overwritten during maven build, right? do i put it into >>> dspace/modules/xmlui/target/xmlui1.5.0/themes/? >> >> [dspace-source]\dspace-xmlui\dspace-xmlui-webapp\src\main\webapp >> \themes > > See - that's one of the sources of my headaches - there is no such > directory > in my source tree! I downloaded dspace-1.5.0-release.tar.bz2, > uzipped it, > etc. etc... Did i download the wrong file?
Right... see my email... use dspace/modules/xmlui > > >> >> Maybe you should consider creating a local svn repository and >> branching the original dspace source, >> in this way you could update platform sources and bring on your >> custom >> themes/aspect development. >> (i'm not an svn expert, so feel free to add more details for this >> operation) > > Currect me if i'm wrong, but seems a bit of overkill to just change > ItemView > page. I can change input form in dspace.cfg, but to not ItemView. Yes and No, We are really talking about just the contents of the dspace-release (i.e. [dspace-source]/dspace which is primarily just configuration and customization. you can run an svn repository internally to save this stuff it. The point of using SVN is to preserve all your changes so that you can keep track of them. As you make more and more customizations. You will start to find tracking all them problematic. I say this from experience. > > >> >>> 3. What files do what in xmlui? There is very little documentation >>> as >>> far as >>> i can tell. How dri2xhtml/ and dri2xhtml.xsl included in the theme? >> >> look at xml:include directives on top of your xsl theme file. >> I suggest you to have a look at w3cschool tutorials about xsl, xslt, >> xpath and xquery languages. >> http://www.w3schools.com/ >> > > Again - no include directives in any of xls files, Reference theme > dosn't > even have xls file. :( "xsl" Correct, the Reference Theme uses the default dri2xhtml.xsl and doesn't have its own template.xsl, I recommend looking that the classic or Kuberick themes. -Mark > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

