This forum is for assistance with theme development.

Simple Question About Views

Question about views: I have a bunch of nodes that I want sorted by first letter of Title. So, I created a page view, added a filter by taxonomy and added Title for the arguments. It's set to "Display All Values" and Option to "1".

Use of icons in BLIX theme

In wordpress, the blix theme makes use of a number of small icons to indicate downloadable files, authors etc. The same images are also present in the theme/blix directory of drupal but they are not used by the theme? Is there a way to show these icons when using the blix template in drupal, as well?

Thank You for your help!

Sarah

Curvy corners works on some divs, on some not

This is my curvy corners code:

<script type="text/javascript">window.onload = function()
  {
    settings = {
      tl: { radius: 8 },
      tr: { radius: 8 },
      bl: { radius: 8 },
      br: { radius: 8 },
      antiAlias: true,
      autoPad: false
    } 

    var cornersObj = new curvyCorners(settings, "curvy");
    cornersObj.applyCornersToAll();
  }</script>

On this div it works:

I have a problem with jQuery plugin

Hi all.
I want use jQuery plugin for work with tabs http://stilbuero.de/jquery/tabs_3/
It's looks like ok. I follow all instruction for using this plugin and download next files:
1. jquery-1.2.1.pack.js
2. ui.tabs.css
3. ui.tabs.js
4. ui.tabs.ext.js
and *.html with example.
In my theme i write:

...

each values in exposed filter???

Hi, i would like to know if it possible to create an exposed filter that filters some values at once time. I make an example:
i created an age field in my ckk nodeprofile. Now i would like to filter Different Ages at one time:

Filter: 14-18 -> Should Filter these Ages 14,15,16,17,18....
19-23, 19,20....

querying taxonomy name/index from node?

Servus, folks!

Building a site on 5.5, I have the need to access the taxonomy name for a given node. There's an array in the $node record which reads (with contemplate):

$node->taxonomy(array)
  $node->taxonomy[17] (object)
     $node->taxonomy[17]->tid
        17
...
     $node->taxonomy[17]->name
        The Term I Need

This seemed nice to me, as there's the name I have to submit to a view right at hand. Or at least it seems so, because I can't find a way to retrieve that index (17 here) from node...

It would be nice to know if there's a way to get something like this to happen:

   print $node->taxonomy[ $node->taxonomy_array_index_id ]->name

telling me
The Term I Need

Just in case you're curious: the node in question holds the data for some artist, and the discography is to be generated using the artist's name as an argument for a view. The artist and the disc records are CCK nodes linked with a common category where all the artists in that system are listed. So the user can enter either an artist or a disc / critic, linking both records through that common taxonomy-term.

Using a noderef field wasn't an option because of other criteria. As contemplate lists that taxonomy[index]->name nicely, I wonder where it gets that index from?

Any takers?
TIA,

Pages

Subscribe with RSS Subscribe to RSS - Theme development