DrupalBin
Submit Code
About
Recent Posts
TwitterFeed for D4D review
text
rewrite
Module to overrule the save settings of the "new node" form
Code
apidoc
Empty DateTime Object
Fix for listcars_manufacturer.module
listcars_manufacturer.info
listcars_manufacturer.module
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
test
theme
user
views
more tags
Home
user
Fix for Why isn't my submit function being called?
August 24, 2010 - 10:32am — Anonymous
/**
* Menu callback.
module
user
Read more
View of user posts
May 19, 2010 - 6:50pm — Anonymous
$view
=
new
view;
$view
-
>
name
=
'user_tracker'
;
$view
-
>
description
=
'Shows posts started by or participated in by a given user'
;
$view
-
>
tag
=
''
;
$view
-
>
view_php
=
''
;
$view
-
>
base_table
=
'node'
user
views
Read more
Fix for Example of hook_user()
May 12, 2010 - 12:49am — Anonymous
<
?php
// Put that as user_example.module
// Tested on D5
/**
* Implementation of hook_user().
*/
function
user_example_user
(
$op,
&
$form_values,
&
$account, $category =
NULL
)
{
switch
(
$op
)
user
Read more
Fix for Example of hook_user()
March 25, 2010 - 1:20am — Anonymous
<
?php
// Put that as user_example.module
// Tested on D5
/**
* Implementation of hook_user().
*/
function
user_example_user
(
$op,
&
$form_values,
&
$account, $category =
NULL
)
{
switch
(
$op
)
user
Read more
Fix for changing user login block template
March 18, 2010 - 8:51am — Anonymous
<?php
$form
[
'name'
]
[
'#title'
]
=
$form
[
'pass'
]
[
'#title'
]
=
''
;
$form
[
'name'
]
[
'#size'
]
=
6
;
?>
<div id="user_login_block">
<div id="user-name">
<?php
print
drupal_render
(
$form
[
'name'
]
)
;
?>
</
Form API
template
user
user_login_block
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends
January 16, 2010 - 12:01am — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of frien
January 15, 2010 - 11:59pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code.
January 15, 2010 - 11:56pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need u
January 15, 2010 - 11:38pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
1 attachment
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need up displa
January 15, 2010 - 11:36pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
1
2
3
4
5
next ›
last »