This forum is for assistance with theme development.

I want in the node.tpl to add the contents of a code manifestation voting this mold piece, should write so code?

I want in the node.tpl to add the contents of a code manifestation voting this mold piece, should write so code?

Regarding voting module,I attempt in node.tpl use this section of code

<?php
 print theme('voting_control_flash', $content_type, $content_id, $attributes);
?> 

Can demonstrate the outward appearance, but cannot the true voting

Who can tell me the integrity the transfer code, thanks

Related module downloading address:

Missing Themes from theme list

Has anyone ever experienced missing themes?

I'm using taxonomy_theme to allow for different color schemes and site logos on different pages for a simple site. So I copy a theme, re-name it, upload it, and configure it. Some of them show up on my theme list, some don't.

For example a theme named "mhp-blue" works fine, but I copy the directory, re-name it to "mhp-aqua" and it does not show up on the list. I copy and re-name it again to "mhp-purple" and it works.

It seems to be random weather the new theme shows up on the list. Anyone ever seen this before?

trouble with session variables

Would be _extremely_ appreciative if someone could offer advice on this...

I am trying to create a very simple system to display different navigation menus based on a user's langauge. (I know there are a few modules for multilingual sites, but all are far more complex than what I need, and most seem fairly buggy.)

I have some basic code working (below). It switches the $interface_language variable based on a parameter passed via URL.

SpreadFireFox Theme and Menus

I am using Drupal 4.7 and the SpreadFireFox theme. I would like to have any newly created menu follow the same design and format as the Navigation menus. For example, I create a new menu "Products" that contains the three products, "A", "B", and "C". Products is displayed in green text with a horizontal line under it and then the products are listed below the line with bullets next to them. I would like to have this menu displayed like the Navigation menu.

Multiple Avatars (i.e. Photo and Company Logo)

Hi,

Bit of a newbie to Drupal here with moderate experience in PHP. I'm trying to figure out the best way to implement multiple Avatars for each user. The site I'm setting up is for an association of lawyers around the world. Each lawyer/law firm has a photo of the contact lawyer, and a logo image for the firm that will appear on their profile page and with any articles they submit. My goal is to allow these member users to upload their logo and their photo when editing their profiles.

I'd like to do it with a minimum amount of fuss, or potential conflicts with the core modules and future updates...

I've come up with some possible ways to proceed:

1. Add a 'logo' field to the user table, and then anywhere in the user.module I see a reference to the 'picture' field, I copy and paste the code and edit to refer to the 'logo' field. (so 'picture' and 'logo' would be identical code snippets)

2. I try and implement an 'image' field in the profile.module & user.module, which would allow me to create any number of avatar upload fields by making add field>image field an available option in administer>profiles

3. I ignore the profile/user modules for this particular 'feature' and create some type of CCK node type that acts as a substitute profile node, and is referred/related to through the user id. So a posted Article would be a CCK node type with 2 calculated fields that would reference the images in the "Profile" CCK node type via the user id (if that's even possible)..

IE6 bug when using property "max-width"

In IE6 don't work property max-width when I use xhtml1-strict doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">.

If I remove this doctype - in IE6 property max-width work.

How to fix this bug without changes doctype?

Source code:

Pages

Subscribe with RSS Subscribe to RSS - Theme development