jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: Gargon on 22.01.2015 13:49:29

Title: Upload Layout
Post by: Gargon on 22.01.2015 13:49:29
Hello,
I would like to change the upload layout, not only the available fields, but also the distribution, color, etc.
How do I do it?

Thanks...
Title: Re: Upload Layout
Post by: ColinM on 23.01.2015 11:03:00
Hi
You can do all of that.  Suggest you first read the articles below and then come back with any queries

http://www.jdownloads.net/documentations/item/editing-a-layout
http://www.jdownloads.net/documentations/item/simple-example-of-layout-editing
http://www.jdownloads.net/documentations/item/custom-css

Colin
Title: Re: Upload Layout
Post by: coeranys on 26.01.2015 00:44:57
I don't see any of the layouts that actually touch the Upload form. I've looked through every layout, and I can't find it - can you tell me which category of layouts governs the Upload form?
Title: Re: Upload Layout
Post by: ColinM on 26.01.2015 10:10:25
Hi
Whoops,I misunderstood!  You mean the front end Upload form. 
Have you looked at User Group Settings?  There are two basic modes: tabbed or list.  Also you can set which questions are are or are not posed to a user.  Suggest you get that bit sorted out first.  Remember it is by user group and read about setting the user group ranking to sort out when users belong to multiple groups.

There is not a layout for the upload form, its appearance is controlled by css.  Are you OK with changing that or finding out which css class controls what?  If you are not familiar with css then please let me know. 

Colin
Title: Re: Upload Layout
Post by: Gargon on 26.01.2015 12:02:00
Thank yoy, but I think that I need to override it.
Title: Re: Upload Layout
Post by: Arno on 26.01.2015 12:13:04
Quote from: Gargon on 26.01.2015 12:02:00
Thank yoy, but I think that I need to override it.
I think this should be the correct way.  :D
Title: Re: Upload Layout
Post by: ColinM on 26.01.2015 15:25:48
Hi
Much of the css comes from your template.  If you only wish to change the jDownloads part then a very convenient way is to use jdownloads_custom.css
See http://www.jdownloads.net/documentations/item/custom-css for more info.

For example in my template one of css statements  for the form is
div.current dd.tabs {
    margin: 0px;
    padding: 10px;
    clear: both;
    border: 1px solid #CCC;
}

The following css was included in jdownloads_custom.css
/*  upload form background colour override*/
div.current dd.tabs {
    background-color: aliceblue !important;
}
.jd_fieldset_outer {
    background-color: aliceblue;
}


This produced a form like the pic below

Colin


[gelöscht durch Administrator]