This forum is for assistance with theme development.

is # sign in array Drupal or php?

I am reading the excellent explanation of forms api by merlinofchaos.
http://api.drupal.org/api/HEAD/file/developer/topics/forms_api.html

He has this example.

form['foo'] = array(
'#type' => 'textfield',
'#title' => t('bar'),
'#default_value' => $object['foo'],

What does the # sign mean? I can't find it in any of my php books. I looked under # and pound sign in the books and on Google.

Current Tabbed Problem

Im using a simple tabbed list for navigation of primary links. Is there anyway to easily sense the current page and restyle that corresponding tab or will I need to hack the core and insert an id="current" or some such?

change custom login

I'm fairly new to PHP but i'm starting to get the hang of it.

I'm creating a new login and i'm using this
print l($user->edit account,'user/'.$user->uid);
with the user name going to the account options

My question is how do I change the script to read out" Edit Account" instead of showing the user name?

Thanks,
Greg
site: controlaltdelete.tv

Changes in Themes

Hello
Is it allowed to change the grafics, the colors and the text fonts in the default Theme of Drupal ?
THX
Matt

Taxonomy Hell: How to list taxonomy terms within a text?

Hello all!

An utter newbie at Drupal, I'm slowly getting along with my little site, but this thing is killing me! I'm trying to put together a CV-maker of sorts using a Flexinode node, where I want to display taxonomy terms as so (strong=taxo-terms):

Born in Happyville, 1978. Lives and works in Taxonomyhell, Norway.
Artistic expression: Sculpture, Installation and Video.

This is what I have in my node-flexinode-n.tpl.php file so far (it may be extra stoopid due to fatigue):

Kubrick for Drupal 4.7

Kurbrick for Drupal 4.7 is out!
http://drupal.org/project/kubrick

Almost all theme related previous issues were fixed and hope to fix more, if any more.

I am labelling this thread for Kubrick discussion. Please discuss about Kubrick theme for Drupal 4.7 here.

Pages

Subscribe with RSS Subscribe to RSS - Theme development