I'm beginner in Drupal. I use Drupal 7. I installed the new theme from www.drupal.org. When i enable as defaut in my site i dont see any syle(colors etc.). How can i install "ready" styles in this theme?
I would like to add an HTML 5 placeholder attribute to a form component of a webform block in a theme. But I don't want to change other components of the same type in other webforms on the site.
This is what I have currently in the template.php file:
function TEMPLATENAME_preprocess_telfield(&$variables) {
$variables['element']['#attributes']['placeholder'] = t('Phone');
}
It works but it affects all the telfield components on the site which I don't want.
I'm trying to setup another variables for my theme. I'm using this workaround http://www.metaltoad.com/blog/how-add-theme-settings-drupal-7 so I've created THEMENAME_form_system_theme_settings_alter(&$form, &$form_state) inside my theme function
I wanted to be able to access template variables (ex. from user login tpl file) and make it available to page.tpl file. Is this possible? Am still trying to learn the intricacy of drupal but am having fun learning the system. -thanks.
I need, from a term list constructed with a view to recover the raw url of the selected term of the page. I need this for my rewrite view and insert to href link.