7

Time Delay while downloading File

http://drupal.org

Hai, I am using Php code to download the uploaded files.

<?php
$file="new.zip";
header("Content-type: application/octet-stream");
header("Content-Type: application/zip");
header("Content-Disposition: attachment; filename=\"$file\"");
header("Content-Transfer-Encoding: binary");
readfile("new.zip");
?>

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

Please tell me about your cute pet !

http://drupal.org

I like a variety of animals, so I want to talk with you about your pet!!

Please tell me your stories that you experienced with your pet. | ( " ~" ) |

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

Modifying Exposed Filters

http://drupal.org

Using drupal 6, I have exposed filters with Views (6.2.6) and I'm trying to tweak the values being displayed in the text area. I've ready just about every google link I can find in reference to exposed filters and have found the phptemplate_views_filters function.

That said, I can't get it to work at all.

As I understand it, you replace the phptemplate with the theme's name (as an example, pretend the theme is called theme_east), so it becomes theme_east_views_filters, although I've tried all kinds of combinations, nothing has worked though.

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

Flash theme for Drupal 6.x

http://drupal.org

Is there any theme based on Flash (Actioncript 3) for Drupal?
Or is there some ways to make such kind of themes?

Cause we have only CSS/HXTML valid themes.

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

Display File Attachment table at top of content section

http://drupal.org

Hi,

I've read some really fantastic posts about theming the attachment table provided by File Upload. However, I have a client who specifically wants the attachments block to appear at the top of the page (above the page content) and I can't seem to find a way to do this. It seems to default to display at the bottom of the page and I can't find anything in node.tpl.php or similar where it's included.

Have been playing with the theme_upload_attachments() function, but that doesn't seem to have anything to do with where on the page it's displayed...

little help?? :)

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

IE stylesheets that seem to be automatically imported

http://drupal.org

Hi!

I´m wondering where the following lines of code might be generated:

@import "/sites/default/themes/mytheme/css/ie.css";

@import "/sites/default/themes/mytheme/css/lteie6.css";

THey must have come with the $styles variable.
As they do NOT exist in my theme I don´t need them and of course want to avoid all those 404s.

Thanks for any ideas
Sören

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

Teaser Title Font

http://drupal.org

Hi
Does anyone know how to change the font of the title in a teaser? I cannot find the .css For example, I have a made a story appear as a teaser on my front page and the title of my story appears, in the teaser, as the same text size as the blurb below...I want to bold the title or change color.

Thanks
Cath

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

How does Drupal know where regions are to be placed?

http://drupal.org

Hi there,

So far I've used the Amity Island theme to put my first site together with Drupal and I've made changes to the style.css file and php fils where required. However, I'm thinking of starting over with zen in order to develop a full understanding of what's going on. One thing is really bugging me:

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

Add a thumbnail (CCK Image field) to the Search Results

http://drupal.org

I am looking for a way to pull a CCK field into my search results template. The idea would be to show a CCK field that is attached to the node (in this case, a thumbnail) next to its snippet in the search results list.

I tried adding this via the CCK field display settings, but no luck. Also, can't seem to find a way to grab that field into search-result.tpl.php.

Any ideas? This is a Drupal 6 theme. Thanks!

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

$content displaying markup

http://drupal.org

Hello all

I added the FCKeditor module to my website, but for some reason all my markup is displayed when I publish the node.

why is this happening?

Also how do I make use of the teaser break that comes with FCKeditor in drupal? When I add the teaser break the full node is still displayed in both the teaser view and the full view....

Its driving me crazy,

Thank

Ross

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

Webfrom - the cols for the textarea are not implemented

http://drupal.org

I installed the webform module and set the cols for the width of a textarea but it doens't seems to be implemented, the width of the textarea keep the same and is displayed in according with the width of the node and not in according width the cols i set through the options.
Is there someone having a solution for this ?
Thanks

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

how to customer redirect the logout

http://drupal.org

Hi all,

i am new for drupal.

i dont know how to customer redirect the logout form.

plz help me

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

How to show forum breadcrumbs?

http://drupal.org

The problem is I don't have any breadcrumbs on forum. What I got is a hyperlink to main site page on all sub-sites only. Tried to change php code according to some other forum suggestion, but I had to restore page.tpl.php file 'cause the page didn't work.
You can see what I mean there: http://palmiarnia.info/forum/11 It isn't in English but can get the whole picture, I guess.

Here's what I have in page.tpl.php:

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

Wrap First Word of a Block Subject in a <span> or <strong> Tag

http://drupal.org

I'm working on a theme implementation at the moment and our front end designer calls for a strong tag to be wrapped around only the first word of the subject for every block in our sidebar. I thought I would share this problem and the solution I am using.

I created a function called strongReplace in my template.php file. I called it from the subject line within the block.tpl.php file like this:

print strongReplace($block->subject)

The code and documentation for my strongReplace function is here:

<?php

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

Webform Email Theming - PHP will not display

http://drupal.org

I am having troubles on troubles. I am fairly new to all of this and followed the instructions in theming.txt. I have the file in my template directory and have it renamed to the module. The HTML part is printing fine, but the php part isn't. I have searched for help for 3 days. and tried lots of different code.

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

How can I add new css per node?

http://drupal.org

I would like to add a different style sheet to some (not all) pages.
How can this be done?

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

How to get tid in views-view-unformatted.tpl.php ?

http://drupal.org

Hello !

I'm templating a display for a view using views-view-unformatted.tpl.php and everything is working fine, except....

I need to get the term_id (the views filters by term_id), but I only have the term name via the $title variable.

How can I get the tid ?

Many thanks in advance !

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

Nice Menus UL elements horizontal issue

http://drupal.org

I am trying to make a horizontal drop down menu at the top of my page. I want the children to appear directly below the parent item in a list, not horizontal children. I think I have just messed up my css, I tried adding display:inline; to the menu container but this didnt work. If you have a look at my site you'll see that yes the menus drop 'down' but everything is still vertical. I tried experimenting with the horizontal children tutorial to no avail.

any help would be great!

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

User profile customization

http://drupal.org

Hi every body I'm new in drupal theming and have this question
How could i theme the user page view(profile) whit another layout
please help me .

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

Mutiple form themes...

http://drupal.org

I want to have two layouts for the drupal user register form.

I need a compact one and one large one.

Same fields just a different layout to suit the page that they will exist in.

Can anyone point me in the direction as to where i can find this info,

Thanks in advance

ilan

P.s. i am very new to drupal, very!

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

Genesis installation Stuck

http://drupal.org

Hi I was wondering if someone has installed Genesis Subtheme.
I"m having trouble with the modification of the site, applying column layout.

I created genesis_mytheme folder and followed all the instructions, renamed .info, template file file and changed body id selector to add columns but nothing happened.
The site is not picking anything up. http://alturl.com/57fr

I even try to follow videos but they're for older versions and so far I"m stuck.

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

Zen Column Switch

http://drupal.org

Hi,

I'm developing a site from scratch using Zenkit.
I created 3 column layout, but I need to make largest content column move to the left and have two smaller columns on the right.
What is the correct way to do it. I know css and you just float column.

What is the proper way to do it in Zen page.tpl or css

http://www.fantasticsarcastictees.com/

Thank you.

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

Display secondary links correctly

http://drupal.org

Hello!

I'm currently developing a theme that has a menu at the top which displays all the primary links. When you press one of them (it gets active) the subnavigation (secondary links) will display under the primary link to which it belongs. So my menu look like this:

P-link ---- P-link ---- P-link ---- P-link

and if you press the first primary link:

P-link (active) ---- P-link ---- P-link ---- P-link
|
S-link
S-link
S-link

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

Theming Blocks Based on Region?

http://drupal.org

Is it possible to theme blocks based on the region they're placed in? For instance, I want a block to use one form of mark-up if put in a sidebar, but another kind of mark-up if placed in the header region.

Is it possible to use region-based tpl.php files for blocks?

Thanks,
-Nate

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

my log has covered my wholepage..

http://drupal.org

Hi

I'm using the garland theme but I don't know what size the log should be and my own logo is too big it would appear as I can't see any of my menus in administration. Please what can I do?

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

Views help

http://drupal.org

Hi,
I want to create a link in my views but I am unable to do so. The field I want to link is from my user's profile.

Please visit the link below for an easy explanation. I know how I have to give some kind of variable but I am not sure I searched the forums but could not find something on this.

http://www.zarsource.com/assets/link.png

Any help will be appreciated.

Cheers,
Vishal

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

How to make a background image clickable ?

http://drupal.org

Hi,

I would like to have a background image clickable.
So after some researches and attemps, the most sensible way to do it that I found would (maybe) be :

In the body of the node.tpl.php :
  <div id="wholesite1">
<a href="dhdfh"><?php print $site_name ?></a>
  </div>

In the CSS file of the theme :
#wholesite1 {
position: relative;
width: 100%;
height: 172px;
background: #000 url(img/body.gif) repeat-x top;
}

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

Is this a themeing issue or problem with my code?

http://drupal.org

I made the following script to output a list of all the terms in a vocabulary in a tree like structure. But the problem with is that the output of the bulleted list is pain and is not in a hierarchical method. Could be can issue with my code, or it could be I need to style this output using CSS?

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

How to add a div to content section

http://drupal.org

Hi, someone can point me in the right direction with adding a div to content.

My problem is, I want to just add a DIV to a post so that it splits into 2 sections.

For example:
By default, if I create content, such as a blog post, it has 1 DIV. So if I had an image and text, the text would flow over the image.

But I would like to have 2 DIVS, one for the image, the other for text. Like so..

-------------------
| div 1 | div 2 |
-------------------

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

How to created multicolored tabs for primery links?

http://drupal.org

Hello All,
I want to create a primary link with each tab having a distinct color(Also a rounded corner tab). I was wondering how this can be done. Can anyone help?

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

Show only one thumbnail in my View with CCK+Imagecache+Lightbox2+Imagefield Gallery

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:
4

aggiustare l'evidenziazione della lingua selezionata sul tema fervens

http://drupal.org

on the original theme is all right:
http://thatchamhistoricalsociety.org.uk/?theme=fervens
instead on my website , it has stopedto go the highlighing in white color of selected languages
www.rnhotels.com
here you can find the download for this theme:

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

Secondary links showing up in header

http://drupal.org

I configured my secondary links block to show up in my footer. However, the links appear in both my header and footer. When I disable the block, the footer disappears, but the secondary links stay in the header. I have my blog and forum configured to show up in the header but that's it. I haven't even configured at primary links block at this point. What am I doing wrong?

PS: I tried to find this in the handbooks and could not. Perhaps it's too specific of a question.

Thanks!

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

Pulling specifice content for different sections

http://drupal.org

Hi,

I'm trying to style section of the site that I'm building. Right now it's a home page, but eventually I will make a different home page and make current page it's own section.

http://alturl.com/q7we

What is the best way for me to pull only articles that only are filed in for this section. I already made taxaonomy I just don't know how to filter the stories and pull only certain stories with that tag.

Thank you.

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

Open external webpage in the content region

http://drupal.org

Hi,

I'm currently developing a website for seniors and one of the things we want is to allow the seniors to read the newspaper (online of course). To achieve this I've added a few hyperlinks to the website of some newspapers. The thing is that I want to open the newspaper's homepage inside the content region of my website. I only manage to open the page in a new browser window or in the same browser window though. I already checked if it possible to open the newsite inside a frame (the "content frame" you could say) but apparently my Drupal site doesn't use frames.

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

theme node by id (node-1.tpl.php)

http://drupal.org

Hello everyone,

I want to theme a nodes by it's ID.
In other words i would like to create template files like node-1.tpl.php, node-2.tpl.php, ...

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

Block Titles

http://drupal.org

Hey, I'm new to drupal but am absolutely loving it so far. I'm currently developing an online shop using ubercart.
On the right side bar I have a popular products block and a rotor module block.

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

Trying to setup and use Genesis theme - help!

http://drupal.org

Ive downloaded and tried to follow the instructions for using Genesis as my theme. I want a layout just like as in the screenshot at the bottom of this page http://drupal.org/node/460800

After making the listed changes to the themes files, is it just a matter of reconfiguring where your blocks go?

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

Page vs Node

http://drupal.org

Since I am new to drupal, I am a little confused on some things. I see in the directory that there are files called page.tpl, page-whatever.tpl, node.tpl and node-whatever.tpl

What are the differences between Node and Page and when (or in my case) how do I link to them?

Thanks

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

jquery javascript effect

http://drupal.org

Hi,
One comes across certain banner ads on sites where if you click them the whole ad enlarges and presents the users with more details regarding the product/service.

I would like to implement that feature on my site but as I am new to drupal , javascript I don't know the name of this effect.

I will appreciate it if someone can educate me as to what its called and some reference for my study.

Cheers,
Vishal

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

Theme links messed up in IE7

http://drupal.org

My navigation links are messed up in IE7, how do I fix this?

http://tytoon.net

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

What is the next good step?

http://drupal.org

Good morning everybody !

As I'm learning drupal I want to display my twitter message on my homepage. Yes there is a module but I want the more basic setup to learn more in depth. So I installed a rss feed api, configured this probably. Then I learned the views module, which is really great ! I made a display on a block so now I can put this block on the homepage.
But there are two things in which I do not know where to look. I using the theme Magazeen.

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

How change blog name

http://drupal.org

Hello,

I am modifying the blog module with CCK to meet my needs better. But I was wondering if there is a way to change the setting so the word "blog" shows up as "report" in the address bar and in the admin panel. Thank you in advance. :)

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

Create a View based on Content Type

http://drupal.org

Greetings,

First off i would like to say that i am a huge drupal fan, and i have really started to grasp its flexibility and the task of building out my site implementation. However i had a quick question as it relates to Views and ConTemplate and when to use each.

So i created a CCK node for a Photo Gallery which contains, Title, Body, ImageField (unlimited) and Taxonomy to organize by brands. The site i am building out is a newsroom that has multiple brands beneath it that are treated as separate sites.

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

php'ers -- isset or just if? which to use/when?

http://drupal.org

I see that in some instances, isset is used <?php if (isset($tabs2)): print $tabs2; endif; ?> and in other instances, no isset is used: <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>

What I don't understand is when to use isset and when not to...

Can someone explain?

I do know that isset with if mean "if the tabs variables is set".... or at least, that is what I think it means...

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

"read more" link with teasr view list

http://drupal.org

Hi ,

i created a list using views , in this view i selected the filed to display , title and node :teaser. But when it displaying i want a "read more " link next to the teaser node display .. How to display this ..?? i am using drupal 6.x. plz help me ..???

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

$node->teaser missing in full node view

http://drupal.org

Hi! I'm currently developing a theme for a newspaper site and want to use the teaser field as preamble in full node view. The trouble is that the $node->teaser field is missing in my template file (node-story.tpl.php). Checking the "Dev render" tab the teaser value is set correctly. Preprocess functions are: template_preprocess + template_preprocess_node + content_preprocess_node + nodereference_preprocess_node + fieldgroup_preprocess_node + views_preprocess_node + zen_preprocess_node. Can't see that any of these unsets the teaser value. Any ideas?

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

Switch off the tracker in the home page.

http://drupal.org

How do I disable the feature where in the latest posts are shown up on the home page? I have used panels for what I need to show there, but do not want the long list with the little introduction to show up.

Thanks,
Abhijith

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

Display node titles according to taxonomy terms

http://drupal.org

hello,

how do i list(display) node titles according to taxonomy terms, and sorting (in ascending/ descending with accordance of date creation) without using views module?

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

taxonomy dropdown/select box

http://drupal.org

hi all - sorry if this seems like a stupid question but I've searched high and low but can't find the answer! I have a "gift options" vocabulary set up with these terms:

Under $20
$21 - $50
$51 - $100
Over $100
Gifts For Him
Gifts For Her

I need to display this in a dropdown (select box) instead of all written out to the page. How do I do that? Do I need to tweak my theme or is it done thru Admin somewhere?

thanks!

Jason

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