Hope I'm in the right place for this question. Please let me know if there's a better place to post this.
I'm working on a site that will be need a version for low bandwidth and high bandwidth.
One of the purposes for the site is knowledge transfer from the developed world to the developing world. The users that we'll be serving in the bandwidth challenged regions have speeds that are a lot less than what you'd get with a 56k modem. My collegues who have visited the locations have told me that it's painful to watch. They also are dealing with 600 x 800 screens, and the occasional 400 x 600 screen. Ouch!
Meanwhile, I want the site to be rich enough to accumulate great content so that people and organizations who have whizbang bandwidth will find their experience satisfying as well.
So I was thinking two sites running off the same database. . . or a very light theme and another more bandwidth intensive theme - using bandwidth detection javascript I found.
Was going through the exercises in Robert Douglass' book: _Building Online Communities With Drupal, phpBB, and WordPress_ and got to page 172, Exercise 5-3. This is a very cool little piece of code that, when inserted into theme.inc (in the includes directory) replacing the theme() function, inserts comments into the html of the code indentifying which themable function each piece of html is generated from. All you have to do is view source and you see what makes what on your page. Way nifty.
I couldn't get it to work and wrote to Robert Douglass, who kindly gave me updated code that works with Drupal 4.7.3.
I'm developing a theme and everything is going great except for the contact form. The theme just doesnt get applied to it. I looked at the rendered source code and I don't see anything which I put into node.tpl.php so I'm guessing that doesnt apply to the contact form. Can anyone help?
Hope I've put this in the right place since I'm sure it's not a bug with the lightbox v2 module, just my theme. The problem is that whenever I click to view an image the lightbox is placed way down at the bottom of the page. It happens in Opera, Firefox and IE. Looking at the generated source it looks like the problem is the first "overlay" div style attribute (height: 2030px).
<?php
/* PHP tag just for formatting on here */