jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Suggestions - Feature Request => Topic started by: romagromov on 27.10.2015 12:26:23

Title: Direct download without summary page?
Post by: romagromov on 27.10.2015 12:26:23
Hi!
I have some downloads, for example Opera.
I need users can download file directly from Details layout - without summary page.
How I can do this?

Also, I want to remove adsanse blocks, but only from this page.

How I can set condition - if this page is Opera - don't displays adsense blocks?

If my details layout have this code:


<table class="filetablelist">
<tbody>
<tr>
<td>
<div class="topimagesblockouter">
<div class="topimagesblock">googledetail_top</div>
<div class="topimagesblock">{screenshot_begin}<a href="{screenshot}" rel="lightbox"> <img src="{thumbnail}" title="{file_title} ???????" alt="??????? {file_title} {release}" /></a>{screenshot_end}</div>
</div>
</td>
</tr>
</tbody>
</table>


where googledetail_top - is adsense block (displays using rereplacer)

I tried to check if layout processed php and added this

<?php echo "test";?>

but it does not work...

May be you can add additional option

(https://monosnap.com/file/OE8TfeFmx3BGjjKCV2vdkKnVor70NK.png)
Title: Re: Direct download without summary page?
Post by: Arno on 27.10.2015 13:20:01
Use at first the 'direct download' option in first configuration TAB. More later... 
Title: Re: Direct download without summary page?
Post by: romagromov on 27.10.2015 13:26:12
Quote from: Arno on 27.10.2015 13:20:01
Use at first the 'direct download' option in first configuration TAB. More later...

If I will set 'direct download' option in first configuration TAB - all downloads will not have summary page.
I need only specifi? downloads have direct download option.

And  how I can get working php in layouts?
Title: Re: Direct download without summary page?
Post by: ColinM on 28.10.2015 09:06:31
Hi
Having direct downloading or not is setup by config parameters, see article for more info
http://www.jdownloads.net/documentations/item/download-actions-direct-via-summary-page-or-via-download-details

However that will apply to ALL Downloads.  What you are seeking is not feasible at this time.  And also to make things 'browser specific' would be challenging.

Colin
Title: Re: Direct download without summary page?
Post by: romagromov on 28.10.2015 09:47:42
Ok, I'll do it myself using custom fields.

But ?ow I can get working PHP in layouts?
Title: Re: Direct download without summary page?
Post by: Arno on 28.10.2015 09:56:46
Try the NoNumber Sourcerer plugin.