Views intergration

Hi

I am trying to integrate views into my module.
I know i have to add two hooks the hook_views_api and the hook_views_data.
The views data is in a file zazzle.views.inc in my module directory.

PHP SMTP email doesn't work

the specs:
version 7.4,

windows xp, sp3,

XAMPP - current as of 7/27/11,

isp = att/uverse,

http://drupal.org/project/smtp - release 7.x 1.x dev,



the url for testing:
http://omerta.zapto.org/drupal



the issue:
i have finally got php/apache properly configured to serve my drupal installation to the internet. i am still in testing mode with this.

users can now visit the site and sign up, but the email registration does not work.

it could just be a port problem, or t could be something else, i am yet unsure.

in my router, the ports 25, 143 and 465 are all set to be OPEN, however when i scan them with sheildsup or other port scan sites, they come back as closed.

now this was a problem with port 80 for a long time. i don't know what happened, but it finally opened up. i dont know if it was an issue in the ISP's side or not, ut no matter how many times i cycled my router at the time, the ports would *never* open up. it was frustrating because my ISP said they do not block *any* ports.

i have power cycled my router tonight after verifying in the firewall pinholes that the ports (25, 143, 465) are in fact set as open, but still nothing.

How to add flash intro to the drupal7 site

Hi friends i got problem to add flash intro to my site. I dont know how to add flash intro to my site in drupal7. Please give me the solution.

get count with db_select

Hi,
is it possible to get number of results with db_select function?

Deutschlands größtes Basketball-Portal sucht Drupal-Entwickler für Relaunch

Das Basketball-Portal www.Crossover-Online.de sucht für einen Relaunch einen erfahrenen Drupal-Entwickler. Die Design-Vorlage wird für die Hauptseite und alle wichtigen Unterseiten fertig geliefert. Es müssen diverse Daten aus der alten Datenbank in das neu zu erstellende Drupalsystem eingelesen werden.

hook_field_widget_form with Ajax

I am trying to build a field for my module for testing and learning how to code and theme drupal. However, I am stuck to some part which I cannot solve and would like to ask for help.

Right now i am in the hook_field_widget_form and has build a form using the #ajax tag. The form works fine before it comes to saving and editing the node.

No error message is involved in saving the node. However, it is very obviously that the field data has failed to save. (I look at the mysql table and see no input). When i edit the node. the $items array is also empty.

i have three input required (let say, a, b, c )

b and c is wrapped by a div tag and only appears if a value is set in a

The detail of the code is as follow : (inside the hook_field_widget_form)

*******************************************************************************************
$field_name = $field['field_name'];
$field_data = array (
'field_name' => $field_name,
'langcode' => $langcode,
'delta' => $delta,
);

$form_state['belong_to_relation_reference']['field_data'] = $field_data;

// should be used to select the
$to_node_type_option = array ();

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x