""SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ubby4ev_hp_drupal0.blocked_ips' doesn't exist !!!!!"" Somebody Help

I am using Drupal version 7.10, and have tried several times to install the Drupal Software, yet I keep receiving this error message.

""SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ubby4ev_hp_drupal0.blocked_ips' doesn't exist !!!!"""
I am using www.platiniumglobalventures.com/install.php
Pls somebody should give me a step by step instruction on how I can resolve this. Thanks.

problem with ajax (drupal 7) (Решено)

Hi! Sorry for my english... I have a problem with form ajax in drupal 7.

PROBLEM:
$form_state changes only once. When I select value it renders 02. Than I select "01" again and result is 02 again. Help me please.

This is my code:

How to check an user id from the url?

Hello,

I would like to know how can I check an user id from the url? An issue is that this url (http://localhost/drupal-7.9/?q=user) shows a currently logged in user's information. Nothing wrong about it. The url (http://localhost/drupal-7.9/?q=user/16) shows user who matches the id of 16. I would like to add a simple code to my template which would say something like this: "This is not you. This is user 16". Just to keep things simple.

[SOLVED] Horizontal line under submitted class content

Hi. I am using the zen theme and I would like to have a horizontal line


under the "submitted by" text automatically without having to put it manually on top of every content that is created. Could someone please push me to the right direction? Thanks!

Dumb question! How to import a view

Hi All,

I did a search on the forum and Google but did not find the answer.

Forgive me:

"After I got the views export code from the 'export' link of a view, how can I import the view in another drupal site?"

Thanks for your mercy.

Jeffrey

Custom Shopping Cart Module

Goal:

I am trying to write a custom shopping cart module. My content type has an anchor tag on it (defined in the node--[classified].tpl.php). When users click on the anchor tag, I'd like that anchor tag to update a field associated with that 'Classified' content. So when users click the anchor tag, a field called 'Cart Status' will change it's select list value from the default value 'Non Flagged' to 'Flagged'.


Background:
I've only written one module before - which involved assigning roles at registration (based on email domains). This module was fairly short and utilized the preprocess api/function. Looking at my current 'Goal', I believe I will have to modify something in the field API.


Question:
  1. Am I correct to assume that I will need to modify something from the field API?
    • I'm thinking that I may have to use either field_view_value, or the template_preprocess_field
  2. Should I go into the node--[classified].tpl.php and replace the anchor tag with a 'form button', so I can use the 'Form Button API' (http://api.drupal.org/api/drupal/includes--form.inc/function/_form_butto...)?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x