Forum Replies Created
Thank you for your response. Do you have a timeline for version 2.6?
Here’s a temporary solution which I have been using, but remember, you will have to make this change after every update of this Plugin. Hope it helps.
To change the default Page Break on Download Manager from 10 to (say) 15
Editing download-manager/download-manager.php (active)
In Plugins – Installed Plugins,
Click on ‘Download Manager – Edit
Scroll down to this function.
function wpdm_embed_category($id){
global $wpdb, $current_user, $post, $wp_query;
$postlink = get_permalink($post->ID);
get_currentuserinfo();
$user = new WP_User(null);
$categories = maybe_unserialize(get_option(“_fm_categories”,true));
$category = $categories[$id];
$total = $wpdb->get_var(“select count(*) from ahm_files where category like ‘%\”$id\”%'”);
$item_per_page = 15; Default was 10 items($total);
$pag->limit($item_per_page);
$pag->currentPage($page);
Hi Shaon
Any idea as to timescale for this implementation?
Hi Shaon.
The short code [wpdm_tree] is now working okay. Don’t know what changed but it’s fine now. Only issue is that the folders and content fine name fonts are all very small. Is there any way to increase the sizes to look the same size as when using {wpdm_category=training}? (See attached screenshots)
Thanks
Iain
I have just downloaded this Plugin as it sound as though it will do everything I need for a large website I am just building. However I am having problems with downloading PDF files using the [wpdm_tree] short code. I can see the categories and on clicking the category, I can see the files. However, when I click yo download any file, the screen goes dark, but nothing is downloaded. If I use the normal short codes showing all the PDF files, they download perfectly.
I’m using WordPress 3.5.2 on a Macbook Pro .
Thanks
iain