News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

ico

Started by borja, 03.06.2017 12:58:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

borja

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


  •  

ColinM

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
Colin M
  •  

borja

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>   
  •  

ColinM

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
Colin M
  •