News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

LAYOUTS.... cannot get 3.2 version format to match my 1.9 version layout

Started by knackjack, 04.03.2015 14:20:26

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knackjack

So I have been trying to migrate to Joomla 3.0 and also use Jdownloads... spent hours trying to migrate and finally gave up.... deleted everything and started fresh.....

Now I have it working in Joomla 3.0 but the layouts do not appear like they did in my 1.9.1.6 version.

I am hoping someone can tell me how to configure so I can get 3.2.26 looking like my 1.9.1.6 layout.

Main points needing help on


  • Display downloads in four column view having Icon,Filename, Date Created, Size, Number of Downloads, and Download Icon
  • Correct setting so the user does not see the file summary which clicking on the file name or icon to download but rather the file just downloads
  • How to remove the overview button

[gelöscht durch Administrator]
  •  

ColinM

Hi
Will do the simplest one
QuoteCorrect setting so the user does not see the file summary which clicking on the file name or icon to download but rather the file just downloads
This is in Config - Downloads tab set the parameter 'Activate direct-downloading? ' to Yes, and in Config - Frontend tab set 'View Download detail page?' to No.

QuoteHow to remove the overview button
You need to find which Layouts you are using, that is which is the active one.   Note: always make a copy of a 'master' layout and activate the copy.  Then if it goes wrong you have a fall back

The header is taken from the active Category Layout, in my case Standard Category Layout v2.5 (2)
In the Header section of the layout you will have
<table class="jd_top_navi" width="100%" style="border-bottom: 1px solid #cccccc;">
<tr valign="top" border="0px">
<td style="padding:5px;">{home_link}</td>
<td style="padding:5px;">{search_link}</td>
<td style="padding:5px;">{upload_link}</td>
<td style="padding:5px;">{upper_link}</td>
<td style="padding:5px;" align="right" valign="bottom">{category_listbox}</td>
</tr>

This shows like the first picture
You can remove the relevant <td line
I removed the first, forth and fifth lines starting with <td to get the second picture.
Also the Add button only appears if you have create or edit permissions for the user group.

Hi have run out of time will reply later on your other query

Colin




[gelöscht durch Administrator]
Colin M
  •  

ColinM

Hi
The following Layout code produces a picture as shown below in Layout01.png.

First make a copy of Layout "Standard Files Layout v2.5" by going int edit it and saving as say "Standard Files Layout v2.5 (single row)". Setup common parts as shown in pic Layout02.png.
Change the main layout to the following
{files_title_begin}<div style="background-color:#cccccc; padding:6px;">
{files_title_text}</div>
  <table class="jd_one_line-head" width="100%"  style="background-color:#cccccc; border-collapse: collapse;border-bottom:3px solid #000;">
     <tr>
       <th style="padding:2px 10px; text-align:left; min-width: 35%;">Name</th>
       <th style="padding:2px 10px; text-align:left; " align="left">Created</th>
       <th style="padding:2px 10px; text-align:left; " align="left">Size</th>
       <th style="padding:2px 10px; text-align:left; " align="left">Hits</th>
       <th style="padding:2px 0px; text-align:left; " align="left">&nbsp;</th>
    </tr>
  </table>{files_title_end}
  <table class="jd_one_line" width="100%"  style="border-collapse: collapse;border-bottom:2px solid #cccccc;">
    <tr style="vertical-align:bottom; " >
      <td style="padding:2px 10px; text-align:left; min-width: 35%;"> <b> {file_pic}{file_title}</b></td>
      <td style="padding:2px 10px; text-align:left; " align="left"> {created_date_value}</td>
      <td style="padding:2px 10px; text-align:left; " align="left"> {filesize_value}</td>
      <td style="padding:2px 10px; text-align:left; " align="left"> {hits_value}</td>
      <td style="padding:2px 10px;"  align="right"><b>{url_download}</b></td>
    </tr>
  </table>


Save & Close and make it the Active layout.  In Config - Pics tab change "Use CSS buttons instead of images?" to No, then check that "Select alternate download button" points to download2.png and Save.

This should give you the required output.

Colin

[gelöscht durch Administrator]
Colin M
  •