This forum is for assistance with theme development.

Can you make an HTML file into a theme?

I found a great HTML template that I would like to turn into a theme. Right now it is all just HTML....

Is there a guide on how to make this into a template, I was poking around and thought I could do it using smartypants but it did not pan out...

I want to make a "Dark" template for a disabled gaming site I run (http://www.ablegamers.com) but all of the Drupal templates are far to bright and happy, or to bloggy for a gaming site.

phptemplate administrator section spans passed tables

I think I understand this..

In my administration section content just gets slammed onto the page as if its sitting on top of my theme on top of my finely tuned tables etc. The content does not listen to size commands in the admin section. Things like text will not drop down to the next line when it runs out of space in a table and form fields are longer than my table.

the main content table for my site where I want the admin forms etc to reside is roughly 396px across..

theme_table versus PIE layouts (liquid center columns)

I've built a three-column layout with a liquid center. It works reasonably well except when the admin pages put up tables with one-column-per-role. Given that the locked, built-in, roles are quite long, it's not hard to have the form overflow into the right-hand column.

Running text happily, of course, wraps inside of the center column of these layouts, but the tables just keep on going.

Theme Whishlist

In response to bradlis7's suggestion on another posting, here is my wishlist of designs to port over to Drupal themes. Who know's I may get around to porting some of these myself but in the mean time if anyone else finds any of these interesting and wants to do a port, go for it.

Also, feel free to add yours to the list, or add your vote

Primary links are gone. how to get them back?

Ok, it appears i might have nuked my primary and secondary links. How do i get them page. here's an excerpt from my page.tpl.php:


<?php if (isset($secondary_links)) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?>

<?php if (isset($primary_links)) { ?><div id="primary"><?php print theme('links', $primary_links) ?></div><?php } ?>

How to theme the output of a form_render call

The new form api seems to be a great improvement. One thing I am confused about is how to control the actual outout of a form_render call. I have a module that has this line of code form_render($form['choice']); which ends up giving me this HTML

Pages

Subscribe with RSS Subscribe to RSS - Theme development