1
pessi
wf-downloads
  • 2005/8/4 8:44

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


Dear All

I downloaded the wf-downloads module and read the install text file. The xoops.js is available only for previous versions of xoops. I am using XOOPS v 2.0.12a.

what can i do? can i install wf-downloads for this version of xoops? if yes which .js file should i use?


POsting in the wf website doesnt help. No reply for some days now.

cheers,
prasad..

2
davidl2
Re: wf-downloads
  • 2005/8/4 8:58

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


If you post in the wf-forum the post will be answered as soon as possible.

3
pessi
Re: wf-downloads
  • 2005/8/4 9:02

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hello David

As i mentioned posting in their website is of no help for some days now.

I was wondering if someone here could help.

cheers
prasad..

4
Bender
Re: wf-downloads
  • 2005/8/4 10:04

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Yep quite some stuff that can´t be answered yet. However (cant check this right now from here) in the readme from wf-downloads you should find the lines that we added to the js file in the versions bundeled with wf-downloads.

So just add those lines to the .js file that comes with your current XOOPS version and you should be good to go.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

5
pessi
Re: wf-downloads
  • 2005/8/4 10:23

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hi there

"So just add those lines to the .js file that comes with your current XOOPS version and you should be good to go."

I am using XOOPS 2.0.12a and there is no .js file for this.

pardon me but I cant find a readme file as well where the changes to .js files are mentioned.

cheers
prasad..

6
pessi
Re: wf-downloads
  • 2005/8/4 10:29

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


ya i located the xoops.js file for my current version of XOOPS but the readme file is not there with the module.

So i donot know what changes I should make to the xoops.js.

cheers
prasad..

7
davidl2
Re: wf-downloads
  • 2005/8/4 11:52

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Quote:

pessi wrote:
ya i located the xoops.js file for my current version of XOOPS but the readme file is not there with the module.

So i donot know what changes I should make to the xoops.js.

cheers
prasad..


install_text.txt

NoteChanges have been made to the showImgSelected function.  
          
This is to allow for 'show no image' selection.

  
Original:
  function 
showImgSelected(imgIdselectIdimgDirextraxoopsUrl) {
    if (
xoopsUrl == null) {
        
xoopsUrl "./";
    }
    
imgDom xoopsGetElementById(imgId);
    
selectDom xoopsGetElementById(selectId);
    
imgDom.src xoopsUrl "/"imgDir "/" selectDom.options[selectDom.selectedIndex].value 
        
extra;
        } 

  
Changed:
  function 
showImgSelected(imgIdselectIdimgDirextraxoopsUrl) {
    if (
xoopsUrl == null) {
        
xoopsUrl "./";
    }
        
imgDom xoopsGetElementById(imgId);
        
selectDom xoopsGetElementById(selectId);
    if (
selectDom.options[selectDom.selectedIndex].value != "") {
        
imgDom.src xoopsUrl "/"imgDir "/" +   selectDom.options[selectDom.selectedIndex].value extra;
    } else {
        
imgDom.src xoopsUrl "/uploads/blank.gif";
    }
  }

Login

Who's Online

276 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 276


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits