This forum is for assistance with theme development.

nice menus question : how to style submenus differently?

hi everyone,
does anyone know how to style the submenus separately from the main menus?
for example, let's say i want my main menus to have white text on black background, but any submenus (fly-out menus) to be red text on green background.

thanks!!!

Redirect to account page instead of no-access

Currently I have the problem, that user, which are already logged in, get the no-access-page, when they try to log in again.

Is there a way or a setting to send them to their account page instead?

Thanks

(How TO??) using frontpage view to show all taxonomy terms and show 1 story from each on home page...

Hey guys im trying to split the front page up so that it shows the content in the specific catagories. Right now i can get them to show almost, but i need to also be showing the actual term name or catagory name above the specific news... i know it can be done but the question is how... I also know it can be done with views but again how

Thanks

how to determine if a user is logged in?

hi everyone,
how would i be able to tell if a person who is viewing a given page (or node) is logged in to drupal? basically i want a page to act differently depending on whether or not the user is logged in, like:

if user_logged_in {
// execute code for logged in users
}
else {
// execute code for non-authenticated users
}

i couldn't find anything in the drupal api to do this with. any tips?

Display only the terms of a specific term

Hi, I've found snippets for displaying the terms of a specific vocabulary.

However, I'm using a Sections vocabulary (single hierarchy) and the breadcrumbs_taxonomy module to lay out my site.

Sections [vocab]
--Clients [term]
--Services [term]
----Web design [term child]
----Database [term child]

When folks are on the Services page, I want to create a dynamic menu that will print the children of that term. Right now if I try to print terms based on vocabulary, I get

Services
--Web Design
--Database

Pages

Subscribe with RSS Subscribe to RSS - Theme development