Custom node.tpl help

I've created a custom node.tpl.php for my Bartik subtheme drupal 7 site and wanted to have a headline field wrapped in h2 tags.

I've tried:

<?php if ($content['field_headline']): ?>
    <h2><?php print render($content['field_headline']); ?></h2>
  <?php endif; ?>

which outputs as:

The requested page "/?q=user" could not be found.

Hello

Im getting this error when i try to access to my admin panel, does any one knows why? i have migrated from one server to other ... everything works except for that.

Creating nodes programmtically from python through XMLRPC service

I am unable to get node.create service call to work, cant find any help anywhere either, here is my code in python:

https://gist.github.com/1514559

xmlrpclib.ProtocolError:

tried this on Drupal 6 and got permission denied for user Anonymous

any help is highly appreciated.

ckeditor stuck and need help please

Drupal 7.9

I have spent that last 3 days trying to load a ckeditor or wysiwyg for my drupal site. The information varies with each click. I have searched in the Drupal forums, youtube videos, and google searches to get the HowTo for getting ckeditor or wysiwyg on my site. The more I try the more confused I am getting and now I am completely lost.

Can someone please lead me to some "understandable" instructions.

thanks in advance,

alternatecloud dot com
greg

db_insert Place Holders automatic?

Are the two inserts below equivalent in terms of adding in the placeholders? Or does insert_db require an additional method call to use placeholders?

How to dispaly horizondel numeric pager using view slideshow

Hi,

Im creating one content slideshow in drupal 7 using views. I finished it well. But I need to display horizontel numeric pager in bottom of the slideshow. I used 4 contributed modules for this task. There are

1.views
2. view slideshow
3.ctools
4.libraries

How to create numeric pager?

Any idea?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x