DrupalBin
Submit Code
About
Recent Posts
message i get when running openssl s_client -connect 150.203.86.21:443
Fix for Code
Code
add_to_cart_by_sku_contents()
Fix for page.tpl.php
Page.tpl
foreach is beeing disregarded dispite variable is array. Please help. Outside Drupal it works as standalone.php file
foreach is beeing disregarded dispite variable is array inside drupal. Please help. Outside Drupal it works as standalone.php
Fix for filefield implementation in an admin page. "An HTTP error 0 occurred. /drupal/?q=filefield/ahah///"
PHP Code custom.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
taxonomy
test
theme
views
more tags
Home
Recent Posts
message i get when running openssl s_client -connect 150.203.86.21:443
May 17, 2012 - 9:53pm — Anonymous
Server certificate
-----BEGIN CERTIFICATE-----
MIIFZjCCBE6gAwIBAgIRAMnrbFE1wndjtId1sB5Q45cwDQYJKoZIhvcNAQEFBQAw
WjELMAkGA1UEBhMCQVUxEDAOBgNVBAoTB0F1c0NFUlQxHTAbBgNVBAsTFENlcnRp
ZmljYXRlIFNlcnZpY2V
Read more
Fix for Code
May 17, 2012 - 4:24pm — Anonymous
<?php
/**
* displays the account page layout,
* this shows the status of the application or
* shows the form with the steps left to do
*/
global
$user
;
$business_details
= ps_formdat
Read more
Code
May 17, 2012 - 4:22pm — Anonymous
<?php
/**
* displays the account page layout,
* this shows the status of the application or
* shows the form with the steps left to do
*/
global
$user
;
$business_details
= ps_formdat
Read more
add_to_cart_by_sku_contents()
May 17, 2012 - 3:59pm — Anonymous
$block
[
'subject'
]
=
t
(
'add_to_cart_by_sku'
)
;
$block
[
'content'
]
= add_to_cart_by_sku_contents
(
)
;
break
;
}
return
$block
;
}
/**
* custom html block
* @return string
*
don't do this
Read more
Fix for page.tpl.php
May 17, 2012 - 1:39pm —
ricardopontes
1
<?php
2
if
(
!
isset
(
$_COOKIE
[
'origem'
]
)
)
{
3
if
(
isset
(
$_SERVER
[
'HTTP_REFERER'
]
)
)
{
4
setcookie
(
'origem'
,
$_SERVER
[
'HTTP_REFERER'
]
)
;
5
}
6
}
7
?>
<!DO
Read more
Page.tpl
May 17, 2012 - 1:30pm — Anonymous
page.tpl.php
foreach is beeing disregarded dispite variable is array. Please help. Outside Drupal it works as standalone.php file
May 17, 2012 - 10:57am — Anonymous
<?php
/**
* @file csv_import.module
* TODO: Enter file description here.
*/
function
csv_import_permission
(
)
{
$perms
=
array
(
'parse csv content'
=>
array
(
'title'
=>
t
(
'Pars
array
drupal 7
foreach
module
Read more
foreach is beeing disregarded dispite variable is array inside drupal. Please help. Outside Drupal it works as standalone.php
May 17, 2012 - 10:33am — Anonymous
<?php
/*
* Here is a sample csv file.
array
drupal 7
foreach
module
Read more
Fix for filefield implementation in an admin page. "An HTTP error 0 occurred. /drupal/?q=filefield/ahah///"
May 17, 2012 - 6:23am — Anonymous
$form
[
'table'
]
[
]
=
array
(
'col1'
=
>
array
(
'#value'
=
>
t
(
'Upload Font'
)
,
)
,
'col2'
=
>
array
(
'font_upload'
=
>
array
(
'#theme'
=
>
'content_multiple_values'
,
Read more
PHP Code custom.module
May 17, 2012 - 6:00am —
maustyle
<?php
function
custom_views_pre_build
(
$view
)
{
/*$view->attachment_before = '<div>Init</div>';
$view->attachment_after = '<div>end</div>';*/
// Error found during work: http://drupal.org/no
Read more
Code
May 17, 2012 - 4:51am — Anonymous
// Get the list of options to populate the first dropdown.
$options_first
= nature_of_business_options
(
)
;
// If we have a value for the first dropdown from $form_state['values'] we use
//
Read more
foreach is beeing disregarded dispite variable is array inside drupal. Please help. Outside Drupal it works as standalone.php
May 16, 2012 - 7:48pm — Anonymous
<?php
/*
* Here is a sample csv file.
array
drupal 7
foreach
module
Read more
Fix for foreach is disregarded dispite variable is array inside drupal. Please help
May 16, 2012 - 7:26pm — Anonymous
<?php
/*
* Here is a sample csv file.
array
drupal 7
foreach
module
Read more
Filter out images with same md5
May 16, 2012 - 6:07pm — Anonymous
<?php
function
umpqua_feeds_feeds_after_parse
(
FeedsSource
$source
, FeedsParserResult
$result
)
{
foreach
(
$result
-
>
items
as
&
$item
)
{
$md5
=
array
(
)
;
foreach
(
$item
[
'images'
]
as
$k
=
>
$
Read more
Views 3 node data query with {} removed and line breaks inserted for clarity
May 16, 2012 - 2:34pm — Anonymous
SELECT
node.nid
AS
nid
,
node.title
AS
node_title
,
history.
timestamp
AS
history_timestamp
,
node.created
AS
node_created
,
node.changed
AS
node_changed
,
field_data_field_accessorynumbers.field_ac
Read more
Code
May 16, 2012 - 2:09pm — Anonymous
{
"commerce_checkout_new_account"
:
{
"LABEL"
:
"Create a new account for an anonymous order"
,
"PLUGIN"
:
"reaction rule"
,
"WEIGHT"
:
"2"
,
"REQUIRES"
:
[
"rules"
,
"commerce_checkou
Read more
Fix for Fix for Code
May 16, 2012 - 10:28am — Anonymous
<?php
$form
[
'foo'
]
=
array
(
'#type'
=
>
'textfield'
,
'#title'
=
>
t
(
'bar'
)
,
'#default_value'
=
>
t
(
'foo'
)
,
'#size'
=
>
60
,
'#maxlength'
=
>
64
,
'#descript
Read more
Fix for Code
May 16, 2012 - 10:22am — Anonymous
<?php
$form
[
'foo'
]
=
array
(
'#type'
=
>
'textfield'
,
'#title'
=
>
t
(
'bar'
)
,
'#default_value'
=
>
t
(
'foo'
)
,
'#size'
=
>
60
,
'#maxlength'
=
>
64
,
'#descript
Read more
Code
May 16, 2012 - 10:10am — Anonymous
<?php
$form
[
'foo'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'bar'
)
,
'#default_value'
=>
t
(
'foo'
)
,
'#size'
=>
60
,
'#maxlength'
=>
64
,
'#descript
Read more
Writes selected node ids to custom sticky table
May 16, 2012 - 8:30am — Anonymous
/**
* Custom sticky function
*
* Writes selected node ids to custom sticky table
*
* @param array $nids
* node ids
*
* @return array
* An associative array containing:
* la
array
db_insert
Read more
1
2
3
4
5
6
7
8
9
…
next ›
last »