We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28033
    • 925 Posts
    			if ($type == 'checkbox')
    			{
    				$ph = '';
    				$ph .= '<label for="'.$DOMid.'" id="'.$DOMid.'Label">'.$label."\n";
    				$options = explode(',', $values);
    				foreach ($options as $eachOption)
    				{
    					$option = explode('(', $eachOption);
    					$option = str_replace(')', '', $option);
    					if (isset($viewUser[$name]))
    					{
    						if ($viewUser[$name] == 'on')
    						{
    							$ph .= $option[0].' <input type="checkbox" id="'.$DOMid.'" name="'.$name.'" checked="checked" />'."\n";
    						}
    						else
    						{
    							$ph .= $option[0].' <input type="checkbox" id="'.$DOMid.'" name="'.$name.'" />'."\n";
    						}
    					}
    					else
    					{
    						$ph .= $option[0].' <input type="checkbox" id="'.$DOMid.'" name="'.$name.'" />'."\n";
    					}
    				}
    				$ph .= '</label>'."\n";
    				// Set the Placeholder
    				$modx->setPlaceholder('form.'.$name, $ph);
    			}
    		}


    For some reason, even after editing the code to move the label stuff to the last ph, WLPE fails to notice the changes I made.

    Can anyone else get this to do it? IMO, it looks weird to have the text on the left of the checkbox...

    (This is webloginpe.class.php, btw.)
      My Snippets
      -> PopUpChunk v1.0
      • 34017
      • 898 Posts
      have you cleared the cache? that always gets me.
        Chuck the Trukk
        ProWebscape.com :: Nashville-WebDesign.com
        - - - - - - - -
        What are TV's? Here's some info below.
        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
        • 28033
        • 925 Posts
        Quote from: ProWebscape at Feb 01, 2008, 07:23 PM

        have you cleared the cache? that always gets me.

        Yeah. Plus. WLPE’s being called uncached.
          My Snippets
          -> PopUpChunk v1.0
          • 10449
          • 956 Posts
          Isn’t this rather controlled via CSS? Do you have a live URL to check?
            • 28033
            • 925 Posts
            Quote from: ganeshXL at Feb 01, 2008, 11:22 PM

            Isn’t this rather controlled via CSS? Do you have a live URL to check?

            If you create an account on my website, and go to the Edit Account Info page, it’s near the bottom (under myCollection).

            It shouldn’t be controlled by CSS, since I never did it that way (and WLPE doesn’t include it’s own CSS).

            I was thinking that controlled it, since it puts the label text BEFORE the checkbox call, just like how it appears in the Account editing page.
              My Snippets
              -> PopUpChunk v1.0
              • 10449
              • 956 Posts
              For some reason, after I completed the registration form and hit the "register"-button I got stuck on http://symphonicheaven.com/my/register/create/
              Nothing happens. No redirect, no message, nothing. Just a white screen. Turns out, when I wanted to register again, it said "already registered".
              It would be nice to see some kind of confirmation screen so the user knows what’s going on...

              Then, after logging in, I don’t see any Edit Account page, nor any link called "myCollection" or similar. Nor a "logout" link, for that matter.

              Frankly, it’s all very confusing o_O

                • 28033
                • 925 Posts
                Quote from: ganeshXL at Feb 02, 2008, 08:37 AM

                For some reason, after I completed the registration form and hit the "register"-button I got stuck on http://symphonicheaven.com/my/register/create/
                Nothing happens. No redirect, no message, nothing. Just a white screen. Turns out, when I wanted to register again, it said "already registered".
                It would be nice to see some kind of confirmation screen so the user knows what’s going on...

                Then, after logging in, I don’t see any Edit Account page, nor any link called "myCollection" or similar. Nor a "logout" link, for that matter.

                Frankly, it’s all very confusing o_O



                IIRC, I think the register thing might deal with a bug I seem to remember finding in WLPE. I’ll look into what’s causing that.

                And you don’t see a drop-down menu near the banner, w/ a logout link? That’s not good... huh
                  My Snippets
                  -> PopUpChunk v1.0
                  • 10449
                  • 956 Posts
                  Nope. I even deleted all cookies from your site, logged in again, but after that it’s the same: No "edit profile" or logout-links. No dropdown menu either.
                  Latest Firefox/WinXP here, if that matters...
                    • 28033
                    • 925 Posts
                    Quote from: ganeshXL at Feb 02, 2008, 09:59 AM

                    Nope. I even deleted all cookies from your site, logged in again, but after that it’s the same: No "edit profile" or logout-links. No dropdown menu either.
                    Latest Firefox/WinXP here, if that matters...

                    Hmm...the only thing I can think is that I accidentally set the drop-down menu to show up for Admins (I have Reg. Users and Admin levels for web users), when I was testing.

                    I’ll check that when I edit the site next (either today or Sunday). BTW, could you PM me a screenshot of the top of the site when you’re logged in, just so I can see how it looks on your end? That would be a big help in trying to debug this issue. smiley
                      My Snippets
                      -> PopUpChunk v1.0
                      • 28033
                      • 925 Posts
                      How odd...I just tried creating a "fake" user in Firefox2, and it’s giving me a "username already exists" error, even though said user didn’t exist beforehand...

                      EDIT: I figured out why you’re not seeing it, ganesh. Seems WLPE isn’t applying the "Registered Users" usergroup to new registrations. Methinks your issue, plus the issue above, are related to that, since the redirect/group setting is set up as it should be.
                        My Snippets
                        -> PopUpChunk v1.0