db_insert and field incrementation

I am curious as how to use db_insert with field incrementation. In short, how would you use db_insert with this code?

db_query("UPDATE {my_table} SET my_field=my_field+1 WHERE id=:id", array(':id' => $id));

I am trying to be a good Drupal developer and convert everything over to DBTNG but I can not find any way to convert that statement. I have tried this to no avail.

What makes Drupal unique as a CMS, compared to a MVC based one, like Symfony in particular?

I have read a decent amount of reviews on different CMS programs. I would love to use Drupal for a majority of websites I build. From what I understand, Drupal can do anything your project would want. I'm figuring if big companies, such as fastcompany.com, and major websites use it, why not use it for any kind of project!

However, I have read from various reviews that MVC based CMSs are powerful systems, too, such as that in Symfony, which I am amazed with, as a CMS. What I don't like is that you have to build from scratch the system that you want to create with it, as far as I know. One other thing I don't like about Symfony is that you need to have a dedicated host to have it run and most dedicated servers are quite expensive (although, I know that dedicated servers have the most flexibility, as well). What I am looking for is someone who has used both Drupal and especially Symfony, because out of all the MVC based CMSs out there, Symfony seems to be the most flexible and powerful one, similar to the power of Drupal, as far as I can see. Although, some also like CakePHP (which is similar to Ruby on Rails, I've read), I don't like the fact that there isn't as much documentation that Symfony has. Also, I like that it has its' own handbooks and there are lots of documentation freely available (as well as purchased).

Need web designer to tweak site

Scope of work: Take existing drupal site and give it polish, find inconsistencies and look at the site with fresh eyes. This drupal site was finished and populated with content last spring. Now it needs to be tweaked to better fit multiple size screens, make it look better and maybe some light coding for functionality. If heavy coding is needed, I can have the original developers do it if that makes sense. I am mostly looking to give the site a professional polish and improve navigation logic, while keeping it spare and unique.

How to display both author and last editor on a full node ?

Hello,

I would like to have both author and last editor displayed on a full node. By default only the last editor is displayed.

How could I do that ?

What I would like (image link)

I began to add this php with the appropriate html code in node.tpl.php:

Accessible HTML5 Theme

Does Drupal have an accessible HTML5 theme like this "Temple Gate" Wordpress theme :

http://lotusseedsdesign.com/temple-gate/2010/09/temple-gate-a-html5-word...

If not, could someone port Temple Gate, or create an accessible HTML5 theme for Drupal !

Removing SSL Certificates

Hello, I have been tasked to remove SSL certificates from certain pages of a clients drupal website. They are having trouble with videos on the site showing in IE7 and IE8 as the security popup shows up. Usually the user would just select "Show all Content" and the page would reload showing the video. But my client wants to remove the SSL from all pages which have Vidoes in the content including the home page, and leave the rest of the site with the SSL certificate in place.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x