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
themes
Module for setting a separate permission for theme management
October 20, 2009 - 9:40am — Anonymous
<?php
// $Id$
/*
* Created by Greg Harvey on 20 Oct 2009
*
* http://www.drupaler.co.uk
*/
/**
* Implementation of hook_perm().
*
* Provide a new permission for theme admin acces
6.x
admin
drupal
module
themes
Read more
Fix for menuRoids on Meth...
February 25, 2009 - 5:20am — Anonymous
FUNCTION
theme_convert_menu
(
$menusource
)
{
$themed_menu
=
new DOMDocument
(
)
;
@$themed_menu
->
loadXML
(
$menusource
)
;
$templateSource
=
<<<
TEMPLATESOURCE
<
?xml version
=
"1.0"
encoding
=
"ISO-8859-1"
?
>
menus
themes
Read more
menuRoids on Meth...
February 24, 2009 - 11:22pm — Anonymous
function theme_convert_menu($menusource){
$themed_menu = new DOMDocument();
@$themed_menu->loadXML($menusource);
$templateSource = <<<TEMPLATESOURCE
<
?xml
version
=
"1.0"
encoding=
"ISO-8859-1"
?>
menus
themes
Read more