I am new to Drupal and need a little help. I have been working in Zencart for about a year now and I want to start working in Drupal but I have no Idea where to start with customizing my site. i have read over the handbook but it does not tell me how to customize the look of the site. To make a custom header or chage the size of the site and so forth may be I missed that. where to I edit all of this? In zen cart we did this in the .css
Hi,
building a custom website using Drupal 5 and I want to know if what I'm trying to do is even possible.
Basically I want to have a content page that contains the title of the article, the body of the article and related information to the article (an image and related text).
My problem is that I need these pieces of content in different DIVs on the page, because of the layout, see:
hi everyone.. i really badly need some help on porting my site to drupal. ive watched the video on dudertown and it helped but my problem is my images just dont show up. example is i have a header.jpg and it wont appear.. please help.. thanks
Hi, I have modified the golden hour theme for my website at http://www.clickarug.com/dru/.
I want to move the content to left so that it touches the sidebar. I mean, I don't want any sapce between sidebar and the content. I have tried to remove all the margins and padding but still can't achieve the result that I want. Any help will be appreciated. Thanks
I'm working on porting my website to Drupal and there are a couple of features that I had in my custom software that I'd like to replicate. I think that some combination of Views and theming is the way to do it but I'm not sure.
First, I'd like to have a block that displays the date of the most recent post in each category. For example, I have several editorial columns set up, each with its own taxonomy term. How could I create a block that shows just the date of the most recent post in each editorial section?
In the Zen theme template.php file there is this function:
function _phptemplate_variables($hook, $vars = array()) {
switch ($hook) {
// Send a new variable, $logged_in, to page.tpl.php to tell us if the current user is logged in or out.
case 'page':
// get the currently logged in user
global $user;
// An anonymous user has a user id of zero.
if ($user->uid > 0) {
// The user is logged in.
$vars['logged_in'] = TRUE;
}
else {
// The user has logged out.
$vars['logged_in'] = FALSE;
}
$body_classes = array();
// classes for body element
// allows advanced theming based on context (home page, node of certain type, etc.)
$body_classes[] = ($vars['is_front']) ? 'front' : 'not-front';
$body_classes[] = ($vars['logged_in']) ? 'logged-in' : 'not-logged-in';
if ($vars['node']->type) {
$body_classes[] = 'ntype-'. zen_id_safe($vars['node']->type);
}
switch (TRUE) {
case $vars['sidebar_left'] && $vars['sidebar_right'] :
$body_classes[] = 'both-sidebars';
break;
case $vars['sidebar_left'] :
$body_classes[] = 'sidebar-left';
break;
case $vars['sidebar_right'] :
$body_classes[] = 'sidebar-right';
break;
}