Status Table

Viewing 5 posts - 1 through 5 (of 5 total)
#70625

Chuck M
Member

I would like to suppress the status table from being displayed on the webpage for downloading. Is there a way to do that?

#70689

Hi,

Not clear, Can you send screenshot which table you want to hide?

Thanks

#70707

Chuck M
Member

See attached screen shot regarding the status table I am referring to.

#71032

Chuck M
Member

Hi Hasibul. I have not heard from you regarding suppressing display of the previously posted status table. Is there a way to suppress this table?

#71103

Hi,

You can either use different page template from package settings. Like simplified template has less row in the table. Or
You have to modify the page template to hide the table from the package page. Assume you are using the default template.

Changing Template Files in /plugins/download-manager/tpls/ dir:
1. Copy /plugins/download-manager/tpls/ dir to your active theme dir
2. Rename it to download-manager
3. Now remove all files from {active-theme}/download-mamager except the ones you need to modify
4. Update template file(s) in {active-theme}/download-manager dir as per your need

In your case, you need to modify the {active-theme}/download-manager/page-template-default.php file and remove the following code

<table class="table table-striped">
                <tbody>
                <tr class="[hide_empty:version]">
                    <td>[txt=Version]</td>
                    <th class="text-right">[version]</th>
                </tr>
                <tr class="[hide_empty:download_count]">
                    <td>[txt=Download]</td>
                    <th class="text-right">[download_count]</th>
                </tr>
                <tr class="[hide_empty:view_count]">
                    <td>[txt=Total Views]</td>
                    <th class="text-right">[view_count]</th>
                </tr>
                <tr class="[hide_empty:quota]">
                    <td>[txt=Stock]</td>
                    <th class="text-right">[quota]</th>
                </tr>
                <tr class="[hide_empty:file_size]">
                    <td>[txt=File Size]</td>
                    <th class="text-right">[file_size]</th>
                </tr>
                <tr class="[hide_empty:file_type_icons]">
                    <td>[txt=File Type]</td>
                    <th class="text-right">[file_type_icons]</th>
                </tr>
                <tr class="[hide_empty:create_date]">
                    <td>[txt=Create Date]</td>
                    <th class="text-right">[create_date]</th>
                </tr>
                <tr class="[hide_empty:update_date]">
                    <td>[txt=Last Updated]</td>
                    <th class="text-right">[update_date]</th>
                </tr>
                </tr>
                </tbody>
            </table>

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Status Table’ is closed to new replies.