Drupal

Internet Explorer does not load stylesheet files

I was creating a website with Drupal CMF and experiencedy a problem: the website is displayed perfectly in Opera, Google Chrome, Mozilla Firefox BUT NOT IN Internet Explorer (both versions 7 and 8) . It looked like that Internet Explorer did not load my custom style.css file. After some googling I found out that Internet Explorer CAN NOT LOAD MORE THEN 31 CSS FILES FOR SINGLE WEBPAGE. Funny thing, huh? And I had 37 for a webpage.

How to get node information in block?

I am coding a system for my bachelor theses. And I had & solved a small problem. The problem. I have to types of content types - Record and Group of Records. If I navigate to Group of Records there should be a block with a link saying "Create a record". The problem is that I need to pass some additional argument to the form Record (the node ID of Group of Records). So, my link looks like that: node/add/record?groupid=1001.

Drupal. check_url() & MMS protocol

I was coding a small dialog for my bachelor theses. There is a text box where you can enter an URL address. So, before submitting the form I validate that text box with check_url() function. The problem is, that my address starts with MMS. It's something like that: mms://www.server.lt/directory/file. So, after check_url() function the result is: //www.server.lt/directory/file.

Drupal - White Page of Death

I was programming with Drupal and got a very ugly mistake - totally blank (white) screen. After some Googling I found that this can be fixed by increasing PHP memory size. Nope, it didn't helped. Then I tried some other tricks, like making a redirection to other page. But no. The solution was very simple: I had to change text encoding to "UTF-8 without BOM" (I used Notepad++ for that). It worked - no white screen ;) P.S. It took about 5 hours to understand that :)