DrupalBin
Submit Code
About
Recent Posts
Fix for extranet
extranet
Fix for drush make snippet for apachesolr library
Fix for Embedding Google Maps, use object instead of iframe with XHTML Strict
Code
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
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
drupal6
Drupal6 table list
June 29, 2011 - 6:31pm — Anonymous
mysql
>
SHOW
TABLES
;
+
--------------------------+
|
Tables_in_drupal6
|
+
--------------------------+
|
access
|
|
accesslog
|
|
aggregator_category
|
drupal6
List
table
Read more
D6 Code
June 6, 2009 - 2:06am — Anonymous
function
phptemplate_preprocess_page
(
&
amp;
$vars
)
{
if
(
6
">module_exists('path')) {
$alias = 6"
>
drupal_get_path_alias
(
str_replace
(
'/edit'
,
''
,
$_GET
[
'q'
]
)
)
;
if
(
$alias
!
=
$_GET
[
'q'
]
)
{
drupal6
Read more
Overriding template suggestions
March 20, 2009 - 5:52am — Anonymous
function
phptemplate_preprocess_page
(
&
$vars
)
{
// Content switching
$vars
[
'template_files'
]
[
]
=
'page-'
.
$node
-
>
type
;
}
drupal6
phptemplate
template
theme
theming
Code
January 14, 2009 - 7:12pm — Anonymous
In the header of my view (using php input format):
<?php
$view
=views_get_current_view
(
)
;
print_r
(
$view
-
>
args
)
;
print
"
\n
"
;
print
"name: "
.
$view
-
>
name
;
print
"
\n
"
;
arguments
drupal6
views
Read more
Drupal 6 menu system
September 27, 2008 - 11:31am — Anonymous
function
image_fupload_menu
(
)
{
................
................
$items
[
'node/add/%image_node_type/list_images'
]
=
array
(
'title'
=
>
'Edit Captions'
,
drupal6
menu system
Read more
AHAH FAPI Callback Helper
April 10, 2008 - 6:35pm —
Wim Leers
// Example usage. This is an AHAH callback function.
function
mymodule_ahah
(
)
{
// Update the form and render only the wrapper inside the "Refund Settings"
// fieldset.
ahah
drupal6
fapi
Read more
AHAH helper - not yet working
April 10, 2008 - 6:18pm —
Wim Leers
<?php
function
&
ahah_helper_get_form_element
(
$form
,
$parents
)
{
// Allow $parents to be either an array of the element's parents or the name
// of an element.
ahah
drupal6
fapi
Read more
maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:34am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'who_we_are_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
Fix for maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:29am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'who_we_are_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
Fix for maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:25am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'quem_somos_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
1
2
next ›
last »