themes

Only date certain articles on Wordpress?

Hi, I'm setting up a Wordress installation where I want some of the articles to show the date they were posted, and other articles to leave the date out. I'd like these articles to be completely dateless, if possible, so they only show in category archives and not in date archives. I'm guessing I can tweak the templates to show the dat...

Wordpress Default Widgets

Ive created a wordpress theme and when I submitted it to their directory I was told I needed to have some default widgets. Ive been trying to find out how to do this but can't find anything on the matter. Please help. ...

How do I order subpages within my static ones in Wordpress.org 2.8.4 ?

I already applied a custom order for the toplevel navigation of my page, but it doesn't automatically sort the submenus alphabetically, although i assumed this behavior: Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future...

changing the color of MDI child windows under Windows 7

I have an MDI application written in C++ that looks great under Windows XP. All of the MDI child windows end up looking like their parent window. Nice. However, under Windows 7 (and probably Vista), the parent windows have aero glass, and the child windows are this hideous unchangeable baby blue color (same as the Windows 7 Basic them...

Drupal theme functions workflow in module

I am a bit newbie in Drupal theming and I can't get one detail in Forum modules theming. forum.module file contains forum_theme function that controls how this module is themed and has this line function forum_theme() { ...... 'forum_list' => array( 'template' => 'forum-list', 'arguments' => array('forums' => NULL, 'parents' => NUL...

Cursor color in Eclipse 3.5/Zend Studio 7 on Mac OS X

Hi everybody, Does any of you have a clue on how to change the cursor color in Zend Studio 7.0 on Mac OS X? I am asking because I really fancy dark colored themes. After a few hours I managed to port my favorite theme from TextMate.app. However my cursor is still black, which is somehow troublesome. As you can see here - http://twitpi...

Drupal contact form not displaying a theme?

So I've gone and customized the user login/pass/register pages Drupal 6 and no problems. However I now do the same thing with the contact mail page (contact module enabled) and all I get is the contact form and NO theme. What am I doing wrong? function mytheme_theme() { return array( 'user_login' => array( 'template' => 'use...

How to preview Dojo/Dijit themes?

I bought the O'Reilly Dojo book by Matthew Russell. It says "in your toolkit checkout, you can find a theme tester at dijit/themes/themeTester.html. I downloaded 1.3.2 from here: http://dojotoolkit.com/downloads and cannot find such a file. I would like to see each of the three themes in action. How can I do that? Thanks, Neal W...

Wordpress Shortcode in Theme, Trying to use Gallery

We are using SuperSlidShow Plugin to display gallery of images in our post. However when I write shortcode [gallery] in my post/page images appear correctly, but can anyone guide me if I want to fix this [gallery] shortcode in the theme itself like page.php/post.php so that images will appear on all pages. We have images for every page/p...

$Body_Classes Variable in Drupal

I'm working with the Zen theme in Drupal and have discovered that I can get to the $body_classes variable through the _preprocess_page function in template.php. What I'd like to know is exactly how that $body_classes variable is populated? Where do the terms such as one-sidebar, etc, come from? Thanks ...

How do I theme an aggregator category in Drupal 5.x?

Yes, I am still on Drupal 5. Don't make fun. I created a category with the Aggregator module, and the URL for the category is www.example.com/aggregator/categories/2. How do I theme this? Is it a node that can be themed with a template, or is there some other process I must use? edit: To clarify, I want to add some text right below th...

Drupal *_preprocess with a module

I'm new to Drupal dev, and was trying to add an existing region variable to my module's preprocessor function. Basically, I've created a new region for my site (here's the definition from within side my theme's .info file): regions[feeds] = Feeds From Administer->Blocks, I've added the blocks I want to the new "Feeds" region. Then, ...

WordPress Themes API

When studying the source of /wp-admin/theme-install.php?tab=search, I discovered the theme directory you get inside WordPress Admin -> Add New Themes is generated from an API call to http://api.wordpress.org/themes/info/1.0/ Unfortunately, there is no documentation for this yet. I tried picking apart /wp-admin/theme-install.php?tab=sea...

jQuery UI and using/not using themes

We're using jQuery UI Tabs at the top of the page (with no themes, using our own styles in the screen.css file) and using jQuery UI Datepicker later on down the page. We want to use a jQuery Theme for the Datepicker, but we want to use our own styles for the Tabs. But as soon as we include the Themes, it (obviously) styles both complete...

Creating ASP.NET web application with multiple skins?

I'm currently in the process of developing an ASP.NET WebForms application that will have multiple skins. The way I'm thinking of approaching this is to have each skin in a completely separate folder, which will contain all images and CSS, and the CSS will reference images accordingly. The folder structure would be something like this:...

php code for each wordpress widget?

I'm currently changing my theme and I need each individual code of each widget. For example I need the rss widget, or categories widget or comment widget, etc. I want those widget integrated in my footer. Where can I see the code? I have no idea where to begin look... ...

Android ListView background colors always showing grey.

I have a ListView that I'm populating from a custom ListAdapter. Inside the Adapter (in the getView(int, View, ViewGroup) method) I'm setting the background color of the View using setBackgroundColor(int). The problem is that no matter what color I set the background to it always comes out a dark grey. It might also be worth noting that ...

Adding a 2nd Sidebar in a specific Wordpress theme

I learned how to add additional sidebars now I need to figure out how to add an extra sidebar besides the one already displayed in the theme Librio ( wordpress.org/extend/themes/librio ). I absolutely have no idea where to look. The code is pure chaos and not self explanatory. My sidebar.php contains the following code: <div id="idont...

Drupal6: In theme_preprocess_page(&$vars), where do $vars come from? (How to manipulate breadcrumb)

I want to remove the breadcrumb when it's just one entry ("Home"). I'm in my theme's theme_preprocess_page(&$vars) function. $vars['breadcrumb'] is available, but it's just HTML. This is a bit to clumsy to work with. I'd rather get it as an array of items in the breadcrumb list, and do something like this: if (count($breadcrumb) == 1) {...

Changing a Magento default theme

My understanding of Magento is that you can only have 2 themes loaded at any one time. ( according to the Magento design guide) Also, that there is two types of themes - default and non-default (i.e. default contain all possible options, non-default override a subset). All the documentation I've read says that both default and non-defa...