How do I access a field (text) in php code?

+1
0
-1

I want to define a field that can overwrite the title for the banner in tb_corpal.

To do that I have to get access to the string in the field. (Using "$vars['content']")
How do I do that?

Basically it should be (just part of the code, there is more checken):
$vars['title'] = $vars['content'][xyz] --> what is necessary at xyz?
(code above should be in template.php)

+1
0
-1

Hi Michael,

According to our Support Policy, we don't suppose to support users to modify our theme. However, I could give you a hint. You should research to take a look at following preprocess functions tb_corpal_preprocess_page & tb_corpal_preprocess_node in the template.php.

Kind regards,
Will