Webmastersite.net
Register Log In

Yes/No Select Boxes Empty

Comments on Yes/No Select Boxes Empty

flyingpylon
Member

Usergroup: Customer
Joined: Dec 12, 2005

Total Topics: 11
Total Comments: 19
Posted Jan 25, 2006 - 7:19 AM:

I'm having an odd problem with the Suggest Link and Suggest Category pages.

When I try to suggest a link or category (when logged in as an admin), most of the yes/no select boxes have no text between the option tags, so there's no way to know what you're selecting. The values are there, but no text.

For example:

<select name="1_canviewpages"><option value=""></option><option value="0"></option><option value="1"></option></select>


What could be causing this, and how can I fix it?

I'm using the default language, and I'm running on Windows.
flyingpylon
Member

Usergroup: Customer
Joined: Dec 12, 2005

Total Topics: 11
Total Comments: 19
Posted Jan 25, 2006 - 8:24 AM:

After some more digging I was able to determine that this problem was related to the language problems I described here:

https://www.webmastersite.net/forums/thread/5946

For my particular situation I don't need language settings, so I have hard-coded the language to "default" by adding this line to start.php after the section that clears cookie values.

$language = new language('default');
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 25, 2006 - 6:27 PM:

What you posted is a piece of the category usergroup permissions. Which couldn't appear on the 'suggest link' page.
flyingpylon
Member

Usergroup: Customer
Joined: Dec 12, 2005

Total Topics: 11
Total Comments: 19
Posted Jan 25, 2006 - 6:36 PM:

It was just one example of many. You're right that this one only appears on the Suggest Category page when you're logged in as admin (in my original message I said the problem was happening on both the suggest link and suggest category pages). But I resolved the problem anyway.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.