This forum is for assistance with theme development.

Styling a CCK node within a View

Hi,

I would like to style a CCK node with my own template file.

My CCK node is called 'voorstel' and my View (in views module) is called 'voorstellen'

Right now i'm trying to template the CCK node by creating a file called: node-voorstel.tpl.php
But i cannot reach vars in the array which begni with #

Should this template file get another name?

Help Me Plz

Hi Experts

I am struggling to change css part of feedback forum http://jataayu.net/jB5site/index.php?q=feedback i am not able to align quetions and thier ans from select box in same line its using some hidden css properties that i am not getting plz help me

Overriding/themeing menu_primary_links()

I am kind of new to Drupal themes and so this might be a dumb question, or I might just be going about this wrong. However, what I need to do is override menu_primary_links() which is in menu.inc. What I want to do is change the way it defines the css classes when building menu items.

At the moment it does something like this:

class="menu-1-2-2" (inactive)

class="menu-1-2-2-active active" (active menu item)

chameleon doesn't load spam span script ..

Strange Problem with the chameleon theme ...
The script for spam span isn't loaded ... other scripts (jlightbox) are loaded ...
and in other themes (php template) spam span is loaded and working.

That is where the JS is loaded (at least I think so ...)
$output .= drupal_get_js();

Any Idea how to get the spam span script in here?
Perhaps manualy?

Thanks for your help!

Hiding ‘Your signup information’ on nodes

Hello,

I wish to hide the ‘Your signup information’ table and the ‘Cancel’ button on nodes.

I wonder if there is a php snippet that will check if the user is signed up to the node and if so not display ‘ print $node->content['signup']['#value'];’.

To clarify, if the user is not signed up, I require the sign up form to be printed.

I imagine something along the lines of:

If (!$user->node == ‘is signed up’) { print $node->content['signup']['#value']; }?>

Many thanks to anybody who can answer this.

flatforum VB style

Im cruious did anyone got the flatforum to look like VBulletin topic posts?

which looks like this:

---------------------------------------------------------------------
| Username
Avatar | Day joined
| Post count
---------------------------------------------------------------------
Content

-------------------------------------------------------------------

Please let us know.

Pages

Subscribe with RSS Subscribe to RSS - Theme development