Hi Lohit,

first, here are some generic resources on XMLUI, you should read them
first to get a grasp of the workflow: [1] [2]. [3] can be generally
helpful for some common customizations. [4] and [5] can help you with
hiding/replacing existing page elements.

On Wed, Oct 17, 2012 at 12:20 AM, Lohit Valleru <[email protected]> wrote:
> 1. I need to change the layout/stucture of the webpage.

To change position you have several options, it's on a case-by-case
basis I'd decide which approach to use for a particular element:
1) change it using CSS - easiest if you're fine with position:absolute
2) change HTML in XSLT - works nicely if you need to nest/unnest elements
3) change position of an element in HTML - sometimes it might be
easier to move the code that generates an element in DRI. But this
brings a whole new set of complexities to learn first: aspects,
overlays and building DSpace. It's always possible to use 2nd approach
instead.

>      a. Change the position of search field.

As you surely noticed, there are 2 search fields by default, so you
can choose which one to move. [4] gives an example how to replace it.

>      b. Change the position of options links - collections and communities,
> and RSS feeds.

Again, in [5] I tried to give a primer on this. I should rework this
to a full-fledged tutorial sometimes.

>      c. Separate the search field and others from the option- set, because

It's tempting to do this on an aspect level, but it can turn out to be
a maintenance nightmare. I recommend you do this in XSLT. Just grep
the theme directory for the HTML (e.g. by the "id" attribute) and move
the HTML to a different template where you want it to appear.

> as far as i understand : All the options can only be move in a combination
> either left or right - but i want to place each one at    different corners

Any of the 3 approaches can be used, depending on where exactly you
want the elements.

> 2. I need to create a menu dynamic dropdown - which contains communities and
> collections.

It's not really a DSpace problem :) DSpace gives you a nice <ul>
structure, so just apply any ready-made css/js solution you can find.

> 3. I need to add few more pages, and extra fields to get more meta data.

What do you mean by pages? This describes both how can add static
pages and pages with custom content generated by an aspect: [6]
But I don't understand whether you're implying some connection of
pages and metadata.
If you want to edit the submission form, you can find more information
in [7] [8] and [9].
If you want to edit the full/summary metadata display on the item
page, here's some basic info [10] (a bit dated, but seems still
valid).

> I understand that, in order to change the structure/layout of the page and
> add fields/extra pages : I need to edit the structure xsl files, xmap cocoon
> files, and aspect java code.

Yes, [6] should lead you through all the steps necessary to set up a
basic custom page.

> But, May I know, if there is any documentation - which can help me
> understand the workflow from the xsl structure files to the java core files.

It's from Java to DRI, then using XSLT from DRI to HTML. [1] and [2]
have the details.

I'm sure you'll be back later with some more specific questions ;) Good luck.

[1] http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
[2] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial
[3] https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides
[4] 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI?
[5] http://dspace.2283337.n4.nabble.com/from-aspect-to-html-td4658161.html
[6] 
https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Addingstaticpages
[7] https://wiki.duraspace.org/display/DSDOC18/Submission+User+Interface
[8] https://wiki.duraspace.org/display/DSPACE/Alter+submission+input+forms
[9] https://wiki.duraspace.org/display/DSPACE/Change+a+form+value
[10] https://wiki.duraspace.org/pages/viewpage.action?pageId=19006388

Regards,
~~helix84

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to