2

Disable/Unload .js files intemplate.php

http://drupal.org

How do I unload unnecessary .js files from my page? Right now I have 5 unwanted .js files loading on my front page, like:

script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?V"
script type="text/javascript" src="/sites/all/modules/panels/js/panels.js?V"

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Comments showing newest first - how to change

http://drupal.org

I'm currently trying to change how comments on a story are displayed. The newest comment is shown below the entry, forcing the user to scroll down and work his way up to read all comments in order. I have found that the users can't stand this, and I can see why. How would I go about changing this from oldest to newest?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Flexible Theme

http://drupal.org

I want to pinch certain features from the Flexible Theme. This is a theme that incorporates accessibility. However I dont want to use the theme as such, just pinch the bits that I need but I dont know where to start. The items that I want to use are as follows:

The ability to change the size of the font by clicking on a button in the header.
The ability to change the colours on the screen again by clicking on a button
To have options in the header, such as 'skip to content' and 'accessibility guide'

Thanks

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Huge authentication problem

http://drupal.org

We're developing a new website. It involves a few custom models, theme, ajax, Flash streaming etc etc and it's all working nicely.. BUT we have a head-breaking problem..

Logging in as an authenticated user refuses to load anything else but the admin pages?!?!?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

separate post by category/taxonomy

http://drupal.org

Hi,

Is there a way or module wherein in my right sidebar i'll put a certain taxonomy and on the main content is another category/taxonomy?

Thanks

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Updating sub-categories/best way to do so

http://drupal.org

Hopefully my explanation of the goal I'm trying for doesn't come across as a garbled mess. I'd basically like to archive my main page updates on other pages but have them show up on that page with the ability to comment and do all other normal features.

For example, say I had a category on movies and had several movies reviews on the front page along with other material. I'd like for my users to be able to type in url.com/movies and see the same material there with commenting abilities.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Anyone good with Lightbox2 and Imagefield?

http://drupal.org

I've used Content Templates to create a node template. I'm using CCK Imagefield to include pictures in my story, and Lightbox2 to create a slideshow effect for when there is more than one image, so only the first is shown until it's clicked on.

Not exactly the way I'd like to do it, but it works for now.

Can anyone tell me what I can alter here to show the imagefield-description under the first image, and then under each image in the slideshow?

I fumbled my way this far, but I'm a little lost from here.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Aquia marina -- Can't make custom blocks working

http://drupal.org

Hello I found out a problem with Aquia Marina theme: all my options to customize blocks just disappeared...!! I don't know why, but yesterday I could choose a lot of different outlines for each block created, today I can't (surely i've done something and this is my fault)... is there a plugin somewhere to download, and add to theme directories???? or what ...??

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

How to tell the node state (edit/view/delete) in page.tpl.php

http://drupal.org

I need to display some data from the node in the right side bar when the node type is 'game' and the state of the node is 'view'. This is what i do currently:

<?php
if ($right || ($node->type=='game' && !$teaser) ){
?>

<?php
        /* print out the game data */
?>

<?php
}
?>

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Windows Data Recovery

http://drupal.org

Windows Data Recovery software simple to use and recover data damaged by accidental shutdown, virus attacks and software error from deleted and formatted windows partitions. Windows File Recovery software is professional vista data recovery tool to recover lost partition easily from windows vista file systems. Windows partition recovery software having useful features to resolve your all data recovery problems with efficient our data recovery software and services.

read more

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

How can I theme the user/register page?

http://drupal.org

The URL is site/user/register.
The thing is that I am having 6 boxes (right and left) side displaying n user/* for the user profile page.
I dont want them to be on the register form.
I have tried
#page-register .box.name {display:none;} - not helping.
Try some more in that way...
What can I do?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Views filter node by taxonomy terms based on page name

http://drupal.org

HI All,

Am curious if I can create one view that does a lot of what I need. I'm setting up a new site with 3 project sections.

web, photography, vfx (visual effects)

i've made a new CCK content type called project and created a vocabulary called project which contains 3 terms, web, photo, vfx.

I have also ,made 3 unique pages, called, you guessed it, web, photo, vfx. these pages will be used as archives to display project entries relating to each category.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Separate strings after new line/ carriage return

http://drupal.org

I added a Text Field (Text area) widget to accept any strings. What I wanted to do is to list a series of titles from the strings using the explode() function of PHP.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Theming   Tags:
2

Why Drupal adds <br /> tags to markup entered in "Full HTML" view?

http://drupal.org

I have created a custom block which contains the following markup:

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

How get a multidimentional array for a menu?

http://drupal.org

I have created a multilevelled menu on my site but for my much desired css I don't need such classes as .last, .first, .active trail etc but rather .first_level, .first_level_parent, .second_level, third_level etc. I think I could write a function to insert the needed classes if only I could get from drupal a multidimentional array like this:

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Bit of a mess - need advice

http://drupal.org

I have tried to copy the Garland theme and called it "mygarland". To cut a long story short I have ended up with this copy in sites/default/themes/mygarland AND sites/all/themes/mygarland. But if I try to find which one the system is using when I rename either to mygarlandOld the page changes the latter to no CSS the other corrupts the header area. The actual CSS file in the pahe source points to default/files/color/garland-c682bc0d.css which is what I am changing via an editor.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Acquia Marine Based theme: Problem With Menus

http://drupal.org

I Cant find out Why the menus on my site shows behind some content like videos or slideshows, heres a shot

I have been looking for a way to make that menu get over anything so i dont have to worry about users uploading videos and stuff but i cant find a way to make it plus this is like my first webiste =P

Any Advices? i hope someone could help me a lil.

thanks

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Moving regions in Zen subtheme

http://drupal.org

Hello! I've been having hard times trying to switch places of the heading and navigation bar in Zen subtheme. I'm very new to Drupal and am running out of time in turning my student project in, so i would really appreciate any help!!!

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

.html links converted to iframe... ...make it stop!

http://drupal.org

Hey all,

All my links are being converted to iframes. Weird.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Drupal will not load page.tpl.php

http://drupal.org

Drupal will not load page.tpl.php for one theme. I keep getting page.tpl.php out of modules/system, not the page.tpl.php from the theme. The theme was pure CSS then I needed an extra div so I added page.tpl.php. Drupal keeps using the system page.tpl.php, not the new page.tpl.php in the theme. I tried clearing cache using the admin thing and by emptying the tables. I reset the theme registry the several different ways. The only thing that worked was to disable the theme in the admin list then rename the theme then switch the new theme on.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Views Not Working Properly For Displaying User Profile Information

http://drupal.org

I want to display profile information about the author of each content type in the right sidebar of my website. I tried to create a new view, and set the fields as Profile: Bio, Profile: Name, etc. The problem is, when I run this, the fields show up empty. It just says
Bio:
Name:

Is there another way to do this without views, or am I missing something in views?

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Is it possible to gain full control in a Drupal form customization?

http://drupal.org

Hi guys,

Is it possible to get rid of the Drupal wrapper markups in a form? I have digged the internet just couldn't find the answer.

I know I can use hook_alter_form() to modify the $form array and I can use tpl to add necessary HTML markups around $form. But where should I go to control the form rendering to output the $form?

I need to control how Drupal renders an input element. For instance, if my $form has a a text field "mail", I just want to create the input tag without the Drupal wrapper [div class="form-item" id="edit-mail-wrapper"] tag.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

best way to get clean xhtml-output?

http://drupal.org

Hi, I am new here - just starting to find out how to template for Drupal.

My question: How do I get the cleanest possible code out of Drupal?

I noticed that Drupal has the tendency to add spans everywhere, use a a lot classes per div and have a different div for every element + for every group of elements. This is of course a result of the Drupal philosophy about blocks and regions and in a way it gives one a lot of handles to style the result with css.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

separate login block, register block and request password block..

http://drupal.org

Hi is it possible that I could break/separate the login block, register block, and request password block.

what I wanted is when i clicked on my registration area it will only show the register block.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

display description of cck textfield in menu block

http://drupal.org

Hello,

I'm looking for a way to show a textual description under some of my menu items. I've tried to show the attributes.title but no success so far.

-----
function MyThemeName_menu_item_link($link) {
if (empty($link['localized_options'])) {
$link['localized_options'] = array();
}

//print_r($link['localized_options']['attributes']['title']);

return l($link['title'], $link['href'], $link['localized_options'], $link['localized_options']['attributes']['title']);

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Change position blocks

http://drupal.org

hello world!!

I have a small question, i use a theme that has the alignment of blocks of two rows (right / left) to the same side of the post, but i would like to move one of the two row in the left side of text, it's possible? if yes, how?
I even wanted to ask if it possible to create another set of blocks before the posts at the top of page under the logo...

thanks to everyone ;-)

Sorry for my bad english i'm italian...

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Very newbie question

http://drupal.org

Hey guys,

I have not done very much with php yet and after looking at some of the Drupal theme documentation I am still not sure (probably because of lack of php knowledge).

Could someone give me a quick pointer on how to edit garland to put Category:TaxonomyTerm at the end of my posts? Right now all it does is just lists the category, so there is just a random word at the end of my posts. I want it to be known that this is a category. I know this sounds so simple but I just can't figure out where to put

Category:

Thanks
-Adam

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Project Guidence Advice

http://drupal.org

Hi everyone.

I wanted to ask someone for general help.
I'm trying to figure out how to proceed with my project.
I did layout in photoshop and I can code it in css/html fairly easy, but i'm trying to figure out how to do this in drupal.
I made 3 column layout ( http://alturl.com/keha )and I have photoshop mockup (http://imgur.com/vVrXY.jpg) done.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

HELP: Slideshow(auto play) with caption and a pager...

http://drupal.org

basically i wanted a slideshow(with auto play) just like in http://www.drupaltherapy.com/slideshow example, and integrate caption to each image. the slideshow should also have a pager(prev 1 2 3 4... next) that points to each relative images.

can anyone share some idea(s) how can i achieved this kind of functionality?

any suggestions or tips are very much appreciated...

thanks,

khaki

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Changing page.tpl.php depending on content type - possible?

http://drupal.org

I'm perplexed - I've always tried to avoid changing the themes I use, but this time I actually need to.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Need advice on how to handle user profile images

http://drupal.org

Hi,
The user's of the site I am developing will be allowed to upload their profile pictures and then this profile picture will also be used as a thumbnail in a listing

I want to users to edit the picture on the fly just like how one is able to do on facebook. So that they can make sure this thumbnail of theirs is looking good.

My problem is I have searched drupal and there are many modules out there. I am getting lost. I need a module which can help edit the image the way facebook profile picture allows you to do.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Theming the Event Module

http://drupal.org

Hello,

I'm pretty new to Drupal, especially theming. I am working on a site that I added the Event module to. I love how it works, it does exactly what I need it to do. But when I'm on my main calendar page, there are two things I''m looking to change. At the top are two dropdown menus that (1) "Select event terms to filter by" and (2) "Select event type to filter by". I want to change the theme so that the second dropdown doesn't even appear.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Customize Login Form

http://drupal.org

I want to change a look of my login form. I have read many articles there about Customizing the login form like this http://drupal.org/node/19855 and may others.
in short
I modify template.php then user_login.tpl.php in my theme. But it does not change my login form
As for this article I tried to modify template.php with this code
function acquia_marina_theme() {
  return array(
    'user_login' => array(

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

Image gallery Problem with lightbox

http://drupal.org

Hello,

I have a content type with a CCK imagefield using imagefield gallery and lightbox2 to display the images but I just want to display one thumbnail in the View and the in node.I want see the rest of the image with lightbox slideshow but when I go to my views and trying the image field that "Show first value only or show last value only" doesnt work.

How can I do that?

Thanks

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

use theme_menu_tree differently with a specific menu

http://drupal.org

Greetings, I have seen the amazing theme layer on http://api.drupal.org/api/group/themeable/6

I want to have a different markup for theme_menu_tree and theme_menu_item for each menu.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Theming   Tags:
2

how to delete all the css from Drupal and add my css.

http://drupal.org

Hello, i want to unset the $styles var, and add my own css style.
I'm trying this in template.php into the mytheme_page_preprocess function

<?php

function basic_preprocess_page(&$vars, $hook) {
unset ($vars['styles']);
$vars['styles'] = $var['styles'] = drupal_add_css(path_to_theme() .'/css/file.css', 'theme');
}

?>

But I get nothing.

Thanks

Oskar

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Rotating banner in Nitobe theme

http://drupal.org

I really like the rotating banner that is used in the Nitobe theme here:

http://drupal2u.com/2008/08/nitobe-drupal-6-theme/

But I do not like the menu being on the right hand side, and I do not like the drab striped background colors. Can I either edit the look or take the banner code and apply it to another theme?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

creating background image

http://drupal.org

Hello, I am a drupal newbie, so any help would be greatly appreciated. I am trying to create a theme that has a standard background image, like the one at http://www.bandofhorses.com. I am trying to create a site that looks the same as bandofhorses.com using drupal 6, hopefully with the same style of interactive buttons and the such. I know only the basics. Does anyone have any idea how I could do this, or suggest any tutorials / modules that I might need to use?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Where do I view my Content Type page

http://drupal.org

I just created a custom content type page called " Reviews" and just added 3 sample reviews to it. Now I want to place a a link in my menu called reviews and bring up a page containing the 3 reviews.

So I go to the admin > site building > menus and create a link under my primary links called menu and set the path to http://localhost/menu/review.

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

remove search box from search result page

http://drupal.org

How to remove search box from search result page. I tried looking in template files search-result.tpl.php and search-results.tpl.php but it doesn't there.
Another question is can I use node teaser to show as result items ?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Combine all style sheets into one

http://drupal.org

I currently have 27 style sheets in my theme folder. I have css aggregation turned on in performance, and it works as it's supposed to, but after reading several threads about css aggregation actually slowing down page load time (example - http://drupal.org/node/246722), I thought that I would prefer to have a long first page load after which the css would be cached by the browser.

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Want help with "Styling node teaser differently in drupal?

http://drupal.org

Hi.

I am new drupal and currently struggling to setup my new site using it. I am going to use litejazz theme on it. Now, I want to style node teaser differently than full node pages. I don't know php or css so I am facing problems in it. I have the two things.

1) One is the default node.tpl.php whose code is:

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Theme help

http://drupal.org

Long story short, I hired a company to make a site, they did a crappy job and it's built with handshakes.

Started messing around with XHTML and CSS about a month ago.

I want to redo the site in Drupal on my own.

Sooo...

I installed Drupal on my web server.

Created a .info file and switched the theme over to that.

Created a index.tpl file with a few divs and text.

Created a Css file linked to that.

Nothing is showing though, but a blank drupal page with the out of the box links and sign in form.

What do I do now?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

theme_form and view

http://drupal.org

Hi
I have a liitle problem
I need change the default options from a select menu generated from a views
Have any Suggestions ?
I'll like use theme_form in my themplate
thank

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Which themes have both sidebars on the right?

http://drupal.org

Looking for some choices for a D6.x theme with both sidebars on the right. Something like this one
http://drupal.org/project/ninesixtyrobots. This is probably the one I will go with, but does anyone have any other themes like this to look at?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

2 Backgrounds on the header

http://drupal.org

I would like to know if i can and how to put 2 backgrounds in the header. All i want to do is to put a basic image as a background and the 2background i will do it with rotating images. Is any way i can do this?

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

How to add images to my site

http://drupal.org

Hello im using garland as my theme to my site and there are two things i want to do regarding designing..

first, i want to add images but i can't use the tag because input format options under the "create content->page" only allow tags stated under the 3 options..

second, i want to edit the pages using CSS..

Please help me guys.. thanks

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

Archiving for Sub-Categories

http://drupal.org

Hopefully my explanation of the goal I'm trying for doesn't come across as a garbled mess. I'd basically like to archive my main page updates on other pages but have them show up on that page with the ability to comment and do all other normal features.

For example, say I had a category on movies and had several movies reviews on the front page along with other material. I'd like for my users to be able to type in url.com/movies and see the same material there with commenting abilities.

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

aquia slate: need header (images/header.png) ONLY on front page

http://drupal.org

hello, using aquia slate.
Need the header (from images/header.png) ONLY appearing on to add somethhe front page. how can I make this happen? reletively new to drupal, but suppose i need to add something to style css?

thanks in advance!
alf

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:
2

How do accomplish different Block Areas for Frontpage/Contentpage?

http://drupal.org

Hi,

I have read several Module Descriptions and Theme Guides, but i am looking for the easiest way to accomplish this:

We have a website-layout with basicly two different Layouts:

Frontpage:
------------------
Node Content      |
                  |
------------------
B1 | B2 | B3 | B4 |
------------------

Read more »
Created by Dplanet 2 years 45 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Recent comments