I am new to Drupal, and so far it has been a good experience. The install worked flawlessly, the themeing is super easy so far, all until i noticed things like
<?php if (isset($primary_links)) : ?>
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
<?php endif; ?>
<?php if (isset($secondary_links)) : ?>
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
<?php endif; ?>
and
<?php print $block->content ?>
Were outputting content in a format i did not want.
So how can the results of $block->content and the first code clip be overridden? For a simple example, the first code clip gives a result that has class names for CSS. However, they do not fit my CSS naming conventions. menu 1-2-2 type stuff is rather confusing. Thats a pretty minor thing, but still.
And for $block->$content (in the usage of the main navigation), it uses a list, when i do not want a list.
These are small examples, but i keep running into little stuff that i have to go back and edit because it outputs format that my html template was not designed for. I would like to understand how to override those types of returns so i can make it on a per theme basis.