xoops forums

heyula

Theme Designer
Posted on: 1/30 15:21
heyula
heyula (Show more)
Theme Designer
Posts: 429
Since: 2008/4/24
#11

Re: TDMDownloads 1.65 RC 1

Quote:

Cesagonchu wrote:
Your picture doesn't show, heyula.


Resized Image

Cesagonchu

Moderator
Posted on: 1/30 17:49
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 857
Since: 2010/2/1 2
#12

Re: TDMDownloads 1.65 RC 1

Thanks!

heyula

Theme Designer
Posted on: 1/31 16:39
heyula
heyula (Show more)
Theme Designer
Posts: 429
Since: 2008/4/24
#13

Re: TDMDownloads 1.65 RC 1

Quote:

Mage wrote:
Thank you all!

If you have suggestions for improvements, you have to propose them!


Hello Mage
I think there is a mistake

The categories I have added appear in the module's homepage
Resized Image


It does not appear on the admin page.

Resized Image

Mage

Core Developer
Posted on: 1/31 18:07
Mage
Mage (Show more)
Core Developer
Posts: 167
Since: 2009/8/2 1
#14

Re: TDMDownloads 1.65 RC 1

I do not have this problem! What version of xoops do you have? What does debug mode say?

I found the problem The version of TDMDownloads is only compatible with xoops 2.5.9...

To make it compatible with 2.5.8 you need to modify the file TDMDowloads/class/tree.php With this code:
class TDMObjectTree extends XoopsObjectTree {
    
    protected function 
makeArrayTreeOptions($fieldName$key, &$ret$prefix_orig$prefix_curr '')
    {
        if (
$key 0) {
            
$value $this->_tree[$key]['obj']->getVar($this->_myId);
            
$ret[$value] = $prefix_curr $this->_tree[$key]['obj']->getVar($fieldName);
            
$prefix_curr .= $prefix_orig;
        }
        if (isset(
$this->_tree[$key]['child']) && !empty($this->_tree[$key]['child'])) {
            foreach (
$this->_tree[$key]['child'] as $childKey) {
                
$this->makeArrayTreeOptions($fieldName$childKey$ret$prefix_orig$prefix_curr);
            }
        }
    }
    
    public function 
makeArrayTree($fieldName$prefix '-'$key 0) {
        
$ret = array();
        
$this->makeArrayTreeOptions($fieldName$key$ret$prefix);

        return 
$ret;
    }
}


I tested on xoops 2.5.9 and I did not see the problem, sorry.

heyula

Theme Designer
Posted on: 1/31 18:57
heyula
heyula (Show more)
Theme Designer
Posts: 429
Since: 2008/4/24
#15

Re: TDMDownloads 1.65 RC 1

Problem solved thanks.

hipoonios

Friend of XOOPS
Posted on: 2/1 19:31
hipoonios
hipoonios (Show more)
Friend of XOOPS
Posts: 297
Since: 2005/9/24
#16

Re: TDMDownloads 1.65 RC 1

Some more requests/suggestions:

* Make columns sortable in table view
* Have more screenshots/images for downloads
* Embedded Youtube videos
* The ability to add mirror links
* Clean URLs support
* In table view, use ajax tooltip to show a image and part of the description about the download. An old discontinued module called rmDownloads had this feature. It would be really great to have this in TDMDownloads too.

...and as you have already mentioned, updated templates.

Mage

Core Developer
Posted on: 2/2 21:22
Mage
Mage (Show more)
Core Developer
Posts: 167
Since: 2009/8/2 1
#17

Re: TDMDownloads 1.65 RC 1

Quote:

heyula wrote:
This will be great. I will then make a theme for this module.


That's great. If you need modifications in the module for templates, I can do it.

heyula

Theme Designer
Posted on: 2/3 11:38
heyula
heyula (Show more)
Theme Designer
Posts: 429
Since: 2008/4/24
#18

Re: TDMDownloads 1.65 RC 1

Quote:

Mage wrote:
Quote:

heyula wrote:
This will be great. I will then make a theme for this module.


That's great. If you need modifications in the module for templates, I can do it.


Hi;
These features will be great

1: Vote Ajax Rating - http://www.astuces-webmaster.ch/page/system-vote-ajax-rating
2: Gallery for pictures
3: Additional download areas , Example : 64-Bit Download - 32-Bİt Download

heyula

Theme Designer
Posted on: 2/4 10:26
heyula
heyula (Show more)
Theme Designer
Posts: 429
Since: 2008/4/24
#19

Re: TDMDownloads 1.65 RC 1

I started to work on the theme for the download module.

TDMDownloads İndex :

Resized Image

Bleekk

Theme Designer
Posted on: 2/4 13:12
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 903
Since: 2002/12/14
#20

Re: TDMDownloads 1.65 RC 1

looks great!

I have only one wish, use as much as you can bootstrap css classes. it is then easier to use and adopt it to other bootstrap themes