Fork me on GitHub

Search

Donat-O-Meter

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

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot HP Human HỘ IP iPhone jQuery Language Law Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam Studio tags tdmcreate template The Theme themes userlog web weight Wishcraft xoops Xortify

New Users

Registering user

# 137844

kurt

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post

(1) 2 »


#1 Posted on: 2009/12/26 7:36 XOOPS Check Boxes
Look at your site

http://xxxxxxx/search.php

http://xxxxx/modules/system/admin.php?fct=groups


depends on how many modules and how many blocks/custom blocks you have

you will see there are too many check boxes

and there is no select all or unselect all button

this is so unfriendly especially during creating new groups...you have to select one by one of the checkboxes

Hope too see a better XOOPS solution for this...

Top

pulapol
Joined:
2008/4/6 8:07
Group:
Registered Users
Posts: 55
(Show More) (Show Less)


#2 Posted on: 2009/12/27 20:18 Re: XOOPS Check Boxes
Good point.

Filed in requests as # 2922073

Top

Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8088
(Show More) (Show Less)


#3 Posted on: 2010/3/6 18:34 Re: XOOPS Check Boxes
any quick hack to have select all/unselectall checkboxes in system groups ?



Top

pulapol
Joined:
2008/4/6 8:07
Group:
Registered Users
Posts: 55
(Show More) (Show Less)


#4 Posted on: 2010/3/10 6:04 Re: XOOPS Check Boxes
+1

Top

jimmyx
Joined:
2007/7/17 21:35
Group:
Registered Users
Posts: 337
(Show More) (Show Less)


#5 Posted on: 2010/3/11 5:52 Re: XOOPS Check Boxes
ok i try to add check all/uncheckall in groups

based on this code
http://www.hscripts.com/scripts/JavaScript/select-all-checkbox.php

in include/xoops.js, add this at end of the file

checked=false;
function 
checkedAll (groupform) {
    var 
aadocument.getElementById('groupform');
     if (
checked == false)
          {
           
checked true
          
}
        else
          {
          
checked false
          
}
    for (var 
=0aa.elements.lengthi++) 
    {
     
aa.elements[i].checked checked;
    }
      }




in class/xoopsform/formcheckboxes.php


somewhere in line 237

replace this
$ret .= '</table>';



with
$ret .= '<tr><td><input type=checkbox name=checkall onclick=checkedAll(groupform);>Check/Uncheck All</td></tr></table>';


result: it is working.....but when i select the check all checkbox in group setting all the checkboxes are selected...

supposed only the checkboxes in each row are selected
system admin rights
module admin rights
module access rights

etc and so on

help

this is almost working perfectly

demo:
http://img268.imageshack.us/img268/939/demoaa.png

Top

jimmyx
Joined:
2007/7/17 21:35
Group:
Registered Users
Posts: 337
(Show More) (Show Less)


#6 Posted on: 2010/3/12 8:26 Re: XOOPS Check Boxes
bump

Top

jimmyx
Joined:
2007/7/17 21:35
Group:
Registered Users
Posts: 337
(Show More) (Show Less)


#7 Posted on: 2010/3/15 5:27 Re: XOOPS Check Boxes
sorry bumping this again

Top

jimmyx
Joined:
2007/7/17 21:35
Group:
Registered Users
Posts: 337
(Show More) (Show Less)


#8 Posted on: 2010/4/27 6:12 Re: XOOPS Check Boxes
Hi jimmy have you solved this ?

Top

sarahmx
Joined:
2007/10/28 6:06
Group:
Registered Users
Posts: 354
(Show More) (Show Less)


#9 Posted on: 2010/5/7 9:34 Re: XOOPS Check Boxes
anyone ?

Top

jimmyx
Joined:
2007/7/17 21:35
Group:
Registered Users
Posts: 337
(Show More) (Show Less)


#10 Posted on: 2010/5/7 10:22 Re: XOOPS Check Boxes
You have to give the checkboxes of one row a different name then the ones from the other rows and let the check all box from this row, set or unset only the ones with this name.

Top


The art of asking questions.
ghia
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)




(1) 2 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]