Problems with styling links in Zen sub-theme

I am a newbie attempting to get to grips with Drupal 7, using a Zen sub-theme. I seem to have a problem a bit like this one: http://drupal.org/node/1105856.

I can use CSS perfectly happily to style my main menu links by modifying text color in the CSS at "#main-menu a:link, a:visited", or "#navigation a:link, a:visited". However, I am finding that, no matter what I do, this color is inherited by ALL LINKS, everywhere on my site!

Drupal 7: links lost after edit

I created a page, made an alias, and a customized menu link to it. Every time I edit the file, the link is lost from the menu, and I have to add the link again. Is this a bug or I just did something wrong?

Adding a table to node

Can anyone provide a review of the CCK table module please?

http://drupal.org/project/cck_table

I need a module to either allow me to input and format a table to display information on a node or upload a CSV and allow me to format the look. I think this might be the best solution.

Thanks,

Craig

Best practice - How to deal with fields programatically..?

Hi,

This question concerns best practices.

If I want to set a field of a node in code I could write something like:

$node->field_somefield['und'][0]['value'] = "value";

But 1) it seems unnecessarily long, and 2) If the locales module is enabled, this code will break.

Also, if I want to access the field, I could do

$value = $node->field_somefield['und'][0]['value']

..which has the same drawbacks as above. I've started to do this instead:

Navigation menu question

I'm trying to make a navigation menu like the website http://marmot.com/catalog/mens/baselayer/spring-2011/216-224-71
Can you recommend how to do the same?
what modules do you recommend?
Thank you very much!

Custom html.tpl.php per Content Type

In short, I need to execute a php function in the html.tpl.php file on a particular content type and I'm curious as to the best way to do this. I tried just changing the filename to html-contenttype.tpl.php and cleared cache but that didn't seem to work.

Thank you in advance for any help you could give me ^_^

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x