This forum is for assistance with theme development.

Strategies for sending different versions of site depending on detected bandwidth?

Hi There -

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.

ID-ing your Theme Function - update on code from _Building Online Communities With Drupal, phpBB, and WordPress_

Hi There -

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.

It worked flawlessly the first time I tried it.

At his request, I'm posting it here:

Modifying Gunmetal

Hi. I'm new to Drupal. I've successfully installed the CMS, and am now trying to mod the theme GUNMETAL.

How do I change the look of the contact form

Hey,

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?

Brian

Customizing main navigaton... is this overkill?

Hello.

I'm customizing the primary navigation. In an attempt to not enter Drupal Hell, I'm learning how to override theme functions.

I just wonder if I'm going totally overboard and wasting time??? This is what I came up with...

Problem with lightbox v2 only with my theme

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 */

Pages

Subscribe with RSS Subscribe to RSS - Theme development