Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Nominate XOOPS!

Learn XOOPS Core

Donat-O-Meter

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

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

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

New Users

Registering user

# 137636

mzmaker05

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
Just popping in
Just popping in
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
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8032
(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
Just popping in
Just popping in
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
Quite a regular
Quite a regular
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
Quite a regular
Quite a regular
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
Quite a regular
Quite a regular
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
Quite a regular
Quite a regular
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
Quite a regular
Quite a regular
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
Quite a regular
Quite a regular
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
Community Support Member
Community Support Member
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.

[Advanced Search]