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

Direct download without summary page?

Started by romagromov, 27.10.2015 12:26:23

Previous topic - Next topic

0 Members and 2 Guests 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!
  •