News:

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

Main Menu
Support-Forum

Direct download without summary page?

Started by romagromov, 27.10.2015 12:26:23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

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

Best free windows software for your PC at bestwinsoft.com
  •  

Arno

Use at first the 'direct download' option in first configuration TAB. More later... 
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

#2
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?
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

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

romagromov

Ok, I'll do it myself using custom fields.

But ?ow I can get working PHP in layouts?
Best free windows software for your PC at bestwinsoft.com
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •