This forum is for assistance with theme development.

Need help getting template to load a new stylesheet.

I'm trying to organize my css by keeping it in separate .css files for instance, i want to have a forum.css which contains all the css that is responsible for theming my forum.

User Profile File Upload

This is just kind of a curious question. I have played around with the "profile" module, and it is pretty easy to customize user profiles to pretty much look any way you want to.

My question is, can you make it so that the user can upload a file to their profile? For example, if I wanted to embed a flash based music player into a user's profile, and allow them to customize the song it plays by uploading a sound file, is this doable?

Cheers,
FreeKill

Proper way to convert primary & secondary nav to unordered lists

Please could someone shed some light on this for me -- I've searched and read all I can find on it, without much success.

I would like to have my primary and secondary navigation output as unordered links ie

Drupa Newbie wants to build complex template

Hi,

I have just got my very first installation of drupa and now need to develop my rather complicated 3 col CSS based design into a theme.

How should I start and what is the best proccess.

I am afraid I am likely to ask many quetions over the next few weeks. Please forgive me.

[PHPTemplate is installed; Bluemarine & Pushbutton are phptemplate themes as well - Heine]

Including Flexinode-Field in PHP-Snippet

Hi folks,

currently I`m trying some things with phptemplates, flexinode and php-snipptes. During my experiments I was wondering if it would be possible to include a custom flexinode-field into a php-snippet. For example if that works it would be possible to put a snippet into a flexinode-n.tpl.php file and to leave a flexinode-field for a variable that can be changed each time a new flexinode is created. That can be useful when the snippet needs a taxonomy-id number which changes for each new node.

I`m tryting to do that with the following snippet, but since I`m not a php-programmer I can`t figure out how to put it inside the code:

unset ($output);
$listlength="999";
$charlength="0";
$taxo_id = */ place for the custom flexinodefield */ ;
$content_type = 'flexinode-4';
$result1 = pager_query("SELECT n.title, n.nid, n.teaser, n.uid, n.created, u.name FROM {node} n INNER JOIN {users} u ON n.uid = u.uid INNER JOIN frightening_term_node ON n.nid = frightening_term_node.nid WHERE n.type = '$content_type' AND frightening_term_node.tid = $taxo_id AND n.status = 1 ORDER BY n.created DESC", $listlength);
while ($node = db_fetch_object($result1)) {
$output .= '<span class=capitalchenverdana>' . l($node->title, "node/$node->nid") . "</span><br>" . substr(strip_tags($node->teaser), 0, $charlength) ;
}
print $output;

I`ve already tried just to put in $node->flexinode_n (where n is the number of the field) into the code, but it just returns an error. I`m sure it has just something to do with the writing, but a PHP-noob like me would spend days for figuring that out. :P Maybe someone of you can help me out? That would be great!

Bluemarine sidebar link color

How do I change the color of the links in the left sidebar only of the Bluemarine theme? I have the links configured how I want them for the rest of the site but I'd like to change the color of the navigation links in the menu on the left side. Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Theme development