By darksniperx on
I have created a new theme, but when I go into the block page for my theme, it will not allow me to order which sections appear first. Usually there is a plus sign, but for me it does not appear. I cant figure out how to fix that?
Comments
=-=
is $closure variable printed in the bottom of page.tpl.php?
have you compared your page.tpl.php file with one from a core theme like garland to ensure you are printing the variables that need to be printed?
~
Everything should be there, I just went over and compared the 2 files, they seem to be fine.
here is the code in case that might help:
=-=
yep seems fine to me.
any js errors being thrown? have you checked in a different browser? used firebug?
~
I figured out what is the cause, but don't know how to fix it :(
I am using colorbox to show some articles as inline pop ups that don't fit the content area, and I am loading jquery 1.4.2. When i take off jquery 1.4.2 or use a different theme the plus sign appears and i can move blocks, when i load query 1.4.2, the plus sign go off, and I cant move the blocks.
Any suggestions!!!
=-=
To update jquery in drupal you should be using the jquery update.module which provides you with the highest compatible version. Whether or not jquery 1.4.2 is compatible with current .js in drupal I've no idea. I'd suspect not, since there is no jquery 1.4.2 bein shipped with drupal or in jquery_update.module. jquery_update.module moves query to 1.3.2 which is the latest version that I believe works with Drupal 6.x
http://drupal.org/project/jquery_update
~
I did install that modulate, but it did notvdo any changes in jquery provided.
here is the link to site where I am trying to implement the change: http://sereidefence.com/amserei.com/drupal_test/node/2
and if I disable the jquery 1.4.2 my colorbox doesn't work.
Maybe I should try something else and not colorbox, but everything is based on jquery.
=-=
I use the colorbox.module with jquery_update.module 2.x which provide jquery 1.3.2
both of which work perfectly well. Why your's does not I can't say without more debugging information on your part.
note, that in Drupal 6.x the 1.3.2 version of jquery provided by the jquery_update.module does not live in the misc folder as the 1.2.6 version does. Instead it lives in the jquery update module folder without replacing the jquery.js that ships with core.
I'd highly suggest setting up a test site, and working through jquery update docs and project page to better understand how jquery in drupal is being dealt with.
~
Since your have drupal and jquery 1.3.2 and colorbox working together, I though i should add jquery 1.3.2 instead of 1.4.2, and it seems that it worked :)
Although i just noticed that colorbox does not work on IE, that another thing I am going to try to figure out!
~
seems to be the issue on my laptop atm, will test it further!
=-=
how are you implementing colorbox?
it's helpful if you're more verbose with how you are trying to accomplish the task.
~
I have a layout with fixed content are in width and height, and if the content is bigger than the are it is suppose to go in, it is being opened by an inline popup. For that I have made a simple script using colorbox.
the code is allso in page.tpl.php which is shown above.
=-=
I've only used the colorbox.module not a script snippet so I can't help there sorry.
If interested see: http://drupal.org/project/colorbox
~
I will try to optimize my script and see if that helps.