Splitting up the $content variable in Drupal 7

I have created a custom template in which i want to display everything individually, rather than just print render($content);

My research suggests the following below should work yet it only returns a php error. Perhaps its needs to be different with Drupal 7?

print $node->field_image[0]['view'];
print $node->field_description[0]['value'];

What syntax will I need to display the indidivual fields?

Thanks

.mht file import ?

Hi !

I'm looking at using Drupal to build a site to display information currently in an Excel sheet. I have a few thousand pages of charts and text. I can export these from Excel 2010 as .mht (IE webpage) files. Would it be possible to import these into a searchable gallery in Drupal ?
Once setup, i'd like to be able to make changes to the spreadsheet, then every week export the .mht files again and upload them over the top of the existing ones on the website. Does anyone know if this is possible ? Or have a different solution ?!

Thanks in advance guys!
G

Logout link or button not showing in the Tarski Theme for Drupal 7

I have installed the Tarski theme. I've checked the User Menu, permissions, and User Module for any reason why the logout button would not appear on the theme. Users have to close their Web browsers to get off the site. The User Logon appears to be fine with the exception that there is no logoff option on user accounts. This is not a problem with the administrator account since there is a logout in the Dashboard Overlay.

Maintenance page css on sub-theme

Hello everyone,

I've made a Bartik sub-theme, it's working fine, but I can't seem to load my sub-theme's maintenance-page.css in my maintenance page.

I have my maintenance-page.tpl.php in my template folder and my CSS in /css
I've added stylesheets[all][] = css/maintenance-page.css in my sub-theme's .info file.
I've tried uncommenting # $conf['maintenance_theme'] = 'mytheme'; in settings.php.

The page still loads the Bartik CSS's.

What am I doing wrong?

Thanks a lot

Prevent Drupal storing data when submit button is pressed

Is it possible to prevent Drupal from storing the data of a node or content type when you press the submit button, because I would like to store my data of this node in my own tables in the database?

remove confirm password and retype mail address in my account edit page

Hi,

i am tried to display the password and confirm password in user account page successfully. when i edit the my account page the confirm password and retype email address are display i need to remove these fields in that page.pls help me.

Thanks,
Priya

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x