jDownloads

First of all: Thank you for your time. Thanks for trying to help us making jDownloads a better component. It's very much appreciated!

================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================

So it is not possible to add new task here.
Please use the support forum when you will do this.

We hope we can go online with a new bugtracker site in the next weeks - we work on it.

Many thanks.
Tasklist

FS#51 - Standard layout without Checkboxes 1.4 - Not displaying "Please register ..."

Attached to Project: jDownloads
Opened by Anonymous Submitter - Monday, 14 March 2011, 10:14 GMT+2
Last edited by Administrator (admin) - Monday, 14 March 2011, 12:03 GMT+2
Task Type Bug Report
Category Frontend
Status Closed
Assigned To Administrator (admin)
Operating System Joomla 1.5.x
Severity Medium
Priority Normal
Reported Version 1.7.5
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Im having an issue with Standard layout without Checkboxes 1.4 for the files layout, when using this as the active layout it does not display the "Please register or login to download items ..." Div.

When I use either of the other two its shows up fine, but I want to use this layout

I noticed in the template file this code

$html_cat = str_replace('{checkbox_top}', '<div style="text-align:center; padding:8px;"><img src="'.JURI::base().'components/com_jdownloads/images/info32.png" align="middle" width="32" height="32" border="0" alt="" /> '.$regg.'</div>', $html_cat);
} else {
$html_cat = str_replace('{checkbox_top}', '', $html_cat);
}

Which may explain why its replacing {checkbox_top} with the div that says "Please register" and that the layout I want to use wont have a checkbox div at the top

Thanks for the help
This task depends upon

Closed by  Administrator (admin)
Monday, 14 March 2011, 12:03 GMT+2
Reason for closing:  Not a bug
Additional comments about closing:  Read comment.
Comment by Administrator (admin) - Monday, 14 March 2011, 12:02 GMT+2
your posted problem in the bugtracker is not a bug.
Has you read the description from the option: Does the layout use CHECK boxes?

Quote:
If yes, the CHECK box heading line and the Continue button are displayed on output. Additionally the placeholder symbol {checkbox_list} must be inserted in the layout. If not, the placehoder symbol {url_download} must instead be inserted in the layout. Alternativly can you also used the option: Use files title as download link? in the configuration. Then is {url_download} not required.

- you must activate the option: Does the layout use CHECK boxes? in the layout
- insert the code: {checkbox_list}
- you can also use both placeholders in your layout {checkbox_list} and {url_download}

Here a sample:

{files_title_begin}<div style="background-color:#EFEFEF; padding:6px;">{files_title_text}</div>{files_title_end}

<table width="100%" style="padding:3px; background-color:#F5F5F5;">
<tr>
<td width="80%"> {file_pic} {file_title} {release} {pic_is_new} {pic_is_hot} {pic_is_updated}
</td>
<td width="10%">
<p align="center">{url_download}</p>
</td>
<td width="10%">
<p align="center">{checkbox_list}</p>
</td>
</tr>
</table>
<table width="100%" style="padding:3px;">
<tr>
<td width="70%" align="left" valign="top" colspan="3">{screenshot_begin}<a href="{screenshot}" rel="lightbox"> <img src="{thumbnail}" align="right"/></a>{screenshot_end}{description}<br />{mp3_player}<br />{mp3_id3_tag}<br />
</td>
<td width="10%" valign="top">{created_date_title}<br />{filesize_title}<br />{hits_title}</td>
<td width="10%" valign="top">{created_date_value}<br />{filesize_value}<br />{hits_value}</td>
</tr>
<tr>
<td></td>
</tr>
</table>

Please use next time first the support forum when you has a problem.
Many thanks.

Loading...