jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: borja on 03.06.2017 12:58:16

Title: ico
Post by: borja on 03.06.2017 12:58:16
hello


I would like to generate this kind of output:

   <p><a class="link" href="ficha"><i class="icon-file-text2"> Ficha de inscripción individual</a></p>
                <p><a class="link" href="listado"><i class="icon-file-excel"> Listado de grupo</a></p>
            <p><a class="link" href="carta"><i class="icon-mail2"> Carta</a></p>
            <p><a class="link" href="cartel"><i class="icon-file-picture"> Cartel</a></p>
            </div>   

How can i generate this kind of layout with <i class"icon-mail2"> instead of <img ...>

?  Best regards


Title: Re: ico
Post by: ColinM on 06.06.2017 16:29:11
Hi
Is this in the display of individual downloads?  If Yes then you need to put it into the Files layout - make a copy of an existing layout and modify it to add in the HTML code  -- Think you are missing an initial <div>

Colin
Title: Re: ico
Post by: borja on 06.06.2017 16:40:36
how can i modify the layout?
I mean i want for each file:

<i class="icon-file-text2"> Ficha de inscripción individual</a>


how can i put "icon-file-text2" as a parameter? now, i´ve got  <img src="{thumbnail}" align="right" /> and thumbail is the path of a file and i want to put a class depending of the type of the file.




<p><a class="link" href="ficha"><i class="icon-file-text2"> Ficha de inscripción individual</a></p>
                <p><a class="link" href="listado"><i class="icon-file-excel"> Listado de grupo</a></p>
            <p><a class="link" href="carta"><i class="icon-mail2"> Carta</a></p>
            <p><a class="link" href="cartel"><i class="icon-file-picture"> Cartel</a></p>
            </div>   
Title: Re: ico
Post by: ColinM on 06.06.2017 19:50:44
Hi
jD will choose a picture dependent upon the file extension.
To activate this leave field 'Default image for Downloads: ' in the Pictures Tab of Configuration.
Is that what you are trying to achieve?

Colin