This forum is for assistance with theme development.

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

Q: Display node id in body section?

I am trying to display the node id in the body section of my node. I change the input format to PHP code and then insert the following code but it doesn't seem to work.

print $node->nid;

Any help would be much appreciated.

Thank you!

CCK no line breaks and HTML code printed instead of used

Using Drupal CVS.

New lines are created fine in standard node types but for CCK its ignored (So the content in a given field is continuous).

Also tried to use TinyMCE (CVS) with CCK and all HTML tags are printed with no text styling taking place, i.e.

This is <strong>my</strong> example message... and all the text just continutes and continues, even if when editing it, there is a line break or new paragraph. My new paragraph....

Any ideas on how to fix this?

Cheers,

Alex

Pages

Subscribe with RSS Subscribe to RSS - Theme development