I was updating my site and I wanted to change something in my settings....but the strangest thing.....I can't. When I go to the settings page I can't open any of the settings. All of the plusses (to open a setting) have turned into minusses. What I see is this:

-General settings---------------------------------------
-Error handling-----------------------------------------
-Cache settings----------------------------------------
-File system settings-----------------------------------
-RSS feed settings-------------------------------------
-Date settings-----------------------------------------
-Site maintenance-------------------------------------
-String handling---------------------------------------
-Cron jobs--------------------------------------------

I am the admin of the site so it doesn't have to do with any user restrictions. I have no idea what could be wrong....anyone have any suggestions?

Comments

Sree’s picture

may be with CSS?

r u using any custom made theme or the default ones?

-- Sree --
IRC Nick: sreeveturi

d.deman’s picture

I am using a custom CSS. And I made the theme. But what in the CSS could cause this???

StuartMackenzie’s picture

I've encountered a similar problem before when I was running some custom Javascript on pages (seemed to create a conflict) So I removed them and hey presto everything was ok again, An easy wat t test thuis would beto disable javascript in your browser as I assume if there is no javascript support the page degrades gracefully and all the form items will appear un-rolled (for want of a better phrase) although i've never tried this!

Stuart Mackenzie
http://rojojam.com

d.deman’s picture

That actually worken. I didn't expect that. What a shame I have to get rid of my javascript now...that sux. What a weird problem....I guess javascript and drupal don't go together well.

Thanx for your help

StuartMackenzie’s picture

Wow I'm suprised also...I never get these things right! lolol

For info it may just be the way you added the script to the page! there is a way to add javascript into you head section using a line in your template.php file. Can't remember off the top of my head what it is.... drupal_add_js or something similar! This again has solved problems for me in the past because you can give some kind of control as to what order the .js files are loaded this sometimes solves conflicts such as the one you've been experiencing.

Stuart Mackenzie
http://rojojam.com

d.deman’s picture

I found a forum on this topic node/62744 but the changes they made to the way they called the javascript didn't work for me.

The script I want to use is for "pimped-up" pop-ups for the glossary module. But apparently there is a conflict with the settings page. What could possibly be the problem...could I be using some specific command that drupal doens't like????

StuartMackenzie’s picture

not sure! especially not knowing more information about the script..but I still wouldn't rule out using this drupal_add_js function in your template.php file

here is the api page for more details
http://api.drupal.org/api/4.7/function/drupal_add_js

and an axample of what you would add to your template file.


drupal_add_js("/themes/themename/jsfile.js");

check out the handbook also you might some info there...for example here is another methos using the same add_js function http://drupal.org/node/97759

Stuart Mackenzie
http://rojojam.com

d.deman’s picture

I used the following line in my template.php and that did add the javascript to my head

drupal_add_js("modules/glossary/pop-up.js");

But...I still have the same problem with all my drop-down things in drupal. All the plusses do not open unless I turn javascript off.
What in the script could be causing this??

chromeyellow’s picture

If you're still trying to solve this... just a hunch...

At the top of your page.tpl.php page you probably have two lines like this:

<?php print $head ?>
<?php print $styles ?>

Make sure you also have

 <?php print $scripts ?>

This ensures that all standard js files are automatically included when needed.

WmGHix’s picture

THIS solved an issue I had with nicEdit!

It was telling me to enable javascript for it to work. I HAD javascript enabled! I edited the Blue Lake page.tpl.php as suggested above and WOW!!! It works!

This may be the issue I had with tinymce AND FCKeditor not working.

Thanks!!!