This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Want to create a CSS section for each Tax, and wrap Content in it?

(FYI: Good at HTML / CSS, Know very little about php and Drupal)

Okay I am tring to do something and would like a little help.

I want a banner before the TITLE of a section of content based on the catagory it is tied to...

To look something like this

=====================
Baner
=====================
Title of the Content
Submitted by me today

Content

I have a Okay solution, and the second would be an ideal solution.

Okay solution,

So I have a question, is there a way to get only ONE $terms if the content has more than one?

I ask because at best I could add to the node.tpl.php

<img src="../images/<? php print $tersm(1) ?>.png" width="63" height="63" />

I am assuming the (1) would just give me the one term, and that I would have images in the folder that would match the terms....

This is what I am tring to do, anyone have any clue how to make this happen for real, right now this is all fake...

Ideal Solution

I want to do the same thing, but I also want to wrap the whole piece of content, and wrap it into its own CSS. I want to have a CSS sheet that will have .somethings that match the catagory that I use. So some of the posts would be on a diff background.

You can see something that I am tring to do by taking a look at this WP driven http://thinkprogress.org/

Can anyone offer some help on this, expecialy the just selecting one term?

Site Profile Directory issues

I can not submit issues for the Site Profile Directory Module. (It is not in the list.)

This module (http://drupal.org/node/24879) provides the ability to browse profiles based on a field name. However, the CVS version does not respect the permissions of the profile fields. Fields marked as private can be viewed by anyone including anonymous users.

Invalid argument supplied for foreach() in user_related_content.module

when i tried to import amazon items it gives a warning message..

Invalid argument supplied for foreach() in ***/drupal/modules/user_related_content/user_related_content.module on line 345.

Location : /drupal/admin/amazon_import
Severity: error

problems with cvs: Not moving branch tag

Hi guys..

I'm getting crazy in tagging my css module from head to 4.6 .

when I issue the command "cvs tag -b -F DRUPAL-4-6 css.module".
I get "cvs tag: css.module: Not moving branch tag `DRUPAL-4-6' from 1.1 to 1.2.0.2."
the same using "cvs tag -b DRUPAL-4-6 css.module"

Can someone explain me what to do???

Thanks.

Fabio

i18n Internationalisation

What are the plans for the language module to be available in 4.7?

Flexinode & Taxonomy

As all of you surely know when create a 'story' node you have the possibility to "link" a story to your own categories.
Is it possible to do the same with flexinode, and if not there is a patch or some acks to resolve this (mine) big problem?

Many thanks in advance

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions