Dragonfly CMS v9 ⇒ Downloads Pro ⇒ Taking PAD section out ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Downloads Pro

Taking PAD section out Reply to topic


Hi,
I know i will never ever use the PAD section in the download management page so i was wondering if anyone knows how i can take that out of the page because it is confusing a lot of my members since djs have no realistic use for a PAD file.
Any help on getting these of the page will be appreciated.
This is in Download pro.
Thanks.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,


I haven't tested either of these, but you should be able to just modify the template, so that those fields do not display. The template looks to be themes/default/templates/downloads/manage.html.

You want to remove execution of the section which references pad_url amongst other fields. So you can probably just change the surrounding conditional <!-- IF B_FETCH_PAD --> so that it is never true. Or carefully comment out the lines you do not want to display.

Setting $fetch_pad = false; in modules/Downloads/add.php line 29 might have similar results.

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4


Thanks laying back,that solved the problem.
Thumbs up.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,

All times are UTC


Jump to: