For assistance with theme development.

Selected theme only used on the user account page

I have a strange problem; when I logged in as normal user change the theme to something else than the default this new theme is only used on the user acount page. Other pages still use the default theme. Any ideas to what could be the cause of this and how to remedy it?
--
atte

non javascript version of Goofy?

I have noticed that Goofy seems to play up a little with some themes. the Gallery module and private message modules are the 2 ive noticed most. They work fine with the Unconed module tho. So I have decided it must be the fact goofy seems to use javascript to create the pages.

I have tried converting it to not use javascript. But knowing very very little javascript and only limited php i didn't get very far. As I could understand what the php was doing. But no idea how the javascript part was working!

Anyone able to make a version of goofy that would work?

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development