DrupalBin
Submit Code
About
Recent Posts
Fix for Allow HTML in <i> node titles</i> for Drupal 6.x
Template Pre-proccessing
Testing Ubercart donation product
dave's menu screenshot
Code
Modify user profile page theme
Modify user profile page
Fix for Fix for Code
Fix for Code
Code
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
primary links
Fix for Theme links - print descriptions of primary menu items
November 15, 2009 - 11:06am — Anonymous
<?php
/**
* Return a themed set of links.
* An override of theme_links()
* Modified to use simple text styling instead of HTML & CSS
*
* @see theme_links
*/
function
phptemplate_links
(
$links
primary links
template.php
Read more
add extra spans to the primary menu links
September 11, 2009 - 9:35am — Anonymous
// a preprocess function to highjack primary links
function
phptemplate_preprocess_page
(
&
$vars
)
{
// add some extra spans to the primary menu links
if
(
isset
(
$vars
[
'primary_links'
]
)
)
{
$va
image replacement
primary links
Read more
Theme links - print descriptions of primary menu items
March 19, 2009 - 1:39pm — Anonymous
<?php
/**
* Return a themed set of links.
* An override of theme_links()
* Modified to use simple text styling instead of HTML & CSS
*
* @see theme_links
*/
primary links
template.php
Read more
Code
January 27, 2009 - 11:30am — Anonymous
<?php
function
adamfrost_menu_item
(
$link
,
$has_children
,
$menu
=
''
,
$in_active_trail
=
FALSE
,
$extra_class
=
NULL
)
{
primary links
Read more