This forum is for assistance with theme development.

Getting going on regions for 4.7

As many Drupal developers will know, Drupal 4.7 will include support for multiple regions into which blocks and other content can be rendered.

Multiple regions opens up a lot of space for creativity--but we'll need to get going if we're going to take advantage of the possibilities. So far (judging by what's in contrib), we haven't begun to scratch the surface. Everyone who maintains or contributes to a theme should look at what they can be doing with regions.

phptemplate logs problem

Hello

The problem is shown here:
http://arcadia.timisoara.roedu.net/temp4.png

I noticed a lot of of themes have problems with displaying the long output that is logs.
Is there a way i can limit the page width of logs without hacking drupal.css ? Something
phptemplate specific...

Thanks

"Cannot redeclare phptemplate_init()" error

Site A has a modified phptemplate engine that resides in the sites/siteA.com/themes/engines/phptemplate directory. the site works fine.

Site B, however, is giving me problems. It is set up just like site A, with a modified phptemplate engine that resides in sites/siteB.com/themes/engines/phptemplate. But I get an error everytime I go to admin/themes: "Fatal error: Cannot redeclare phptemplate_init() (previously declared in blah blah blah)...".

trying to understand Drupal: why there are so many classes and IDs?

Hi all, this is my first post and english isnt my native language, so please, be nice and patient. Thanks.

Few weeks ago I started to learn (slowly and patiently) how to install, configure and customize Drupal/CivicSpace.
During this time, I felt sick and angry and very disappointed more than once. But from time to time, while learning Drupal, I have some "insights", and things about Drupal becomes more clear. I'm feeling quite masochist and I dont know why insist with Drupal. It has become a challenge and I really want to fully understand Drupal.

So, after this introduction, I would appreciate if someone can explain me few points about Drupal:

  1. Why there are so many-and-long-and-confusing classes and IDs?
    Example: why I need <div class="block block-user" id="block-search-0">? Why do I need such so-especific classes and IDs if I can stick to a simple line like <div class="block" id="search"> or even <div class="block search"> ?
  2. Has Drupal all this "class and ID high specificity" just to get a hyper-high grade of customization?
  3. Regarding my second question, I find that most sites doesnt need such specificity of classes and ids. If you view the source code and the CSS of most well-coded (xhtml+css) sites -that doesnt use Drupal- you can see there arent tons of classes and IDs... even in the most complex XHTML+CSS sites, a high customization can be achieved with few styles.

Bugs in the Pushbutton theme

Hi,

I hope this is the right place to submit problems with themes.

Within the Pushbutton theme I encountered 2 bugs:

1. in the gallery view the watermark arrow down from the background is OVER the thumbnails

2. when displaying tabs, sometimes the borders of the tab labels are broken. eg. when loggin in as admin and going for "benutzerkonto" (using german text)

Thanks for listening.

r.

Linking to a member-specific module page with XTemplate

Hi,

Does anyone know how I would I go about linking to a member-specific module page with the member's ID in the URL (i.e. site/module/memberID) using the XTemplate theme engine.

I spoke to someone on the drupal IRC channel who told me how to do it in PHP and adviced me to use the PHP template engine because the XHTML template engine may be discontinued in the future. Is this a wise move since I'm making this site from scratch?

Cheers

Tom

Pages

Subscribe with RSS Subscribe to RSS - Theme development