imagematernal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

22750 Posts in 6706 Topics- by 17591 Members - Latest Member: permsk

04-06-2020 23:25:00
JOOM::GALLERY::FORUMArchiveJoomGallery 1.5 MVCFrontendRating Radio Buttons not displaying
Pages: [1]
Print
Author Topic: Rating Radio Buttons not displaying  (Read 6663 times)
0 Members and 1 Guest are viewing this topic.
jjpedersen
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: 23-06-2009 23:10:12 »

I have been configuring JoomGallery over the past few hours trying to get it exactly how I think our photography group needs but for the life of me I can not get the radio buttons to show up.

See what I mean here: http://utahphotographyclub.com/index.php?option=com_joomgallery&func=detail&id=4&Itemid=107

I think the radio buttons show up very briefly but then they go away and all that is left is:  Picture Rating 1 (Bad) 5 (Good) 

Any suggestions?

Thanks for your feedback.

Jason
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #1 on: 24-06-2009 10:20:04 »

Hi jjpedersen,

did you changed anything in the code?
The source code of your site:
Code
          <p>
           1 (Bad)
           <input style="display: none;" value="1" name="imgvote" type="radio">
           <input style="display: none;" value="2" name="imgvote" type="radio">
           <input style="display: none;" value="3" name="imgvote" checked="checked" type="radio">
           <input style="display: none;" value="4" name="imgvote" type="radio">
           <input style="display: none;" value="5" name="imgvote" type="radio">
         5 (Good)&nbsp;
         </p>
 

and the code of JoomGallery 1.5.0.2 at this point:
Code
      for($i = 1; $i <= $config->jg_maxvoting; $i++)
     {
       if($i == $selitem)
       {
         $checked = 'checked="checked"';
       }
       else
       {
         $checked = '';
       }
?>
           <input type="radio" value="<?php echo $i; ?>" name="imgvote" <?php echo $checked; ?> />
<?php
     }
 

Nothing to see in our code with style="display: none;"....
Logged

with best regards...
mab
jjpedersen
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: 24-06-2009 17:04:32 »

I haven't touched the code, this is a fresh install without any customization to the site code or CSS.  What bugs me is that the radio buttons do show up when you first load the page, the immediately they are hidden.

Ive gone through the CSS but I haven't found anything that would cause this.

Logged
aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #3 on: 24-06-2009 22:28:37 »

Hi,
I'm not sure at all. But there seems to be a system plugin named 'rokbox' which sets the CSS of the radio buttons
to 'display:none' dynamically.

Could you deactivate this plugin for testing purposes?

Thank you
Andreas
Logged
Debmonster
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #4 on: 24-06-2009 23:27:11 »

I am having the exact same problem as above. Attached is an image of what my code lookes like. I am  using many Rok extensions on my site as well (not Rokbox though). Need help.
Logged
jjpedersen
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #5 on: 25-06-2009 04:06:26 »

I have disabled both the Content - RokBox and the System - RokBox at http://utahphotographyclub.com/index.php?option=com_joomgallery&func=detail&id=7&Itemid=107
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #6 on: 25-06-2009 10:52:24 »

Hi 2all,

@jjpedersen: yes, but there are still some Javascripts running; especially this one: http://utahphotographyclub.com/templates/rt_refraction_j15/js/rokutils.inputs.js:

Quote
RokUtilsInputs - A tool that allows to style checkboxes and radios inputs...

Try to deactivate this one.
Logged

with best regards...
mab
damnpradeep
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #7 on: 03-06-2012 01:37:46 »

How did you solve this? even I have same issue. please help!
Logged
Pages: [1]
Print
Jump to:  

HOSTED BY SCHWARZKÜNSTLER ®

PROTECTED BY  ZB BLOCK  AND Project Honey Pot
Theme orange-lt created by panic

Bad Behavior has blocked 2385 access attempts in the last 7 days.

maternal