This forum is for assistance with theme development.

Plone Theme

I've begin working on a plone theme for drupal, I need to know the best way to say what the active tabs is....please have a look to the links below for better understanding.

A snapshot is visible here:
http://www.airprox.org/drupal-plone.gif

and the excellent plone is at www.plone.org.

Invoking theme functions (profile.module)

Hi (again),

I've been experimenting with the theme() function, and am so far finding it quite easy to customize certain parts of my site further. I created a new function to handle the display of profile data, but it only seems to work for displaying just that. Ie: It'll customise any profile fields, but when you view the page the username doesn't seem to be a part of that. So I end up with the username being displayed in one way, and the rest of the profile in another way.

Smarty Templating Engine - What to do?

Hi,

I spent my Saturday converting a number of PostNuke themes to work under the Smarty theme on the download page. At the moment I have /themes/smarty and inside there a directory called sub followed by each relevant theme. Ie: sub/nice-grey sub/inverse sub/metalic and so on. So far there are about 20 themes, and all (with a few hacks) are looking good. What I'd like to do is find a way to allow use of these themes on my site. At the moment the only way to do so is to edit smarty.theme and point it to one particular subtheme which is ok if I don't want visitors to choose their own theme, but that's not what I want.

I created a sideblock which allows users to preview all the smarty themes and that works ok, and if I wanted I could perhaps convert that block to a module and make use of the _init function to store a cookie on the users machine, but it would be much nicer if there was a way of holding that information on the server side, instead of user side.

Does anyone have any ideas how I could go about implementing such a scheme? I think that maybe modifying Drupal to use Smarty in it's system by default would be a good way to go. I find that creating themes without it leads to lots of blank pages with no real indication as to what went wrong. At least once the Smarty theme is up and running, if I make a typo or there's an error, the Smarty system catches it and tells me exactly what's up.

Problems with new theme - "Cannot add header ... already sent"

All - I'm heavily modifying (basicly forklift replacing) the UnconeD theme. I've added support for 3 column mode, color chanes, and a bunch of other stuff. I just ran into an issue though, with my changes, and I'm not sure what I've done to trigger it. Now, when clicking on "logout", or "login" (after entering credentials), I get errors like:

warning: Cannot add header information - headers already sent by (output started at /web/drupal/themes/unconed-syg/unconed-syg.theme:256) in /web/drupal/includes/common.inc on line 324.

I'm running 4.1.0 release code. This *only* occurs during the login and logout process. I can manually modify the URL to goto "index.php" after I click on "login" (and subsequently get the error), and I'm logged in successfully, and everything works. By the same token, after clicking "logout", I get the error - then modify the URL to go back to the home page, and it'll load fine.

Somehow I've screwed up or invoked something incorrectly so that the login/logout process and my theme are munging the sending of the headers.

Does anyone have any clues or ideas where I should look? Or where I might be tripping up? I can provide the theme files if that helps.

Can I preview themes?

There are a lot of themes to choose from. However, there does not seem to be a way to view how they look like, unless you install them. Are there any examples available?

Thanks,

Gaele

Display theme content only if it's the front page?

I've got some content that I want to display only on the front page. Ordinarily I could just have a standard node with "promote to front page", but I want to display this material differently than the standard node display. In effect all that should be displayed is node->body for these couple of nodes. The material doesn't even have to be a node, it could just be embedded php text/verbiage.
 

Pages

Subscribe with RSS Subscribe to RSS - Theme development