This forum is for assistance with theme development.

Referencing fields from CCK

Hey guys,

Using Content Construction Kit (CCK) and trying to figure out how to pick out individual elements from CCK nodes (in the same way that could be done with Flexinodes) for node layout.

Below is the standard way a field would be recalled into a theme from a flexinode.

<?php print $node->flexinode_9 ?> 

It looks like CCK fields aren't created in the same numeric way and flexinode fields.

Does anyone know how I would recall an element like "field_example"?

Cheers,

Alex

A month ago here was some link to book: Drupal, phpBB, WordPress

some of member of this forum wrote it.

Anybody knows anythhing?..

Poll Block in Connections

I am doing a bit of my own modification to the Connections theme. However, I noticed that Connections has some sort of problem displaying the poll block correctly in Firefox (v1.5.0.1, and it works fine in IE). The problem is that the foreground parts of each percentage bar do not display on the percentage bars, but rather they are all displayed in the right sidebar after the content ends. Any one know a way to fix this?

Q: Display all terms in vocabulary?

Is it possible to display all the terms in a vocabulary catergory? I can do taxonomy/term/1+2+3+4+5 but each time I add a new term I have to update all my links again. Is there a way to do something like taxonomy/vocabulary/1 so that way any time I add a new term it will still work?

Thanks!

Main text area breaks html in IE and Spreadfirefox

I'm working with Spreadfirefox theme to build upon that on a site i'm creating for young people. But i have just noticed that the main text area breaks the html in Internet Explorer (i.e. it shifts to the right by about 200-300px). Works fine in Firefox. This is on where you enter text for new node creation, new comment creation, etc...I think it is to do with the new resizable text area found in 4.7. I also feel the solution will probably lie in some css layout mathemetics and calculations for the columns but have tried and still can get to to come into line.

Pages

Subscribe with RSS Subscribe to RSS - Theme development