Drupal is up and running but how do I ...?

acidfree.module: HDI resolve conflict with node_privacy_byrole.module??

[core circumstances]
I am using Acidfree photo albums.
I have created several albums and uploaded numerous images.

I then installed node_privacy_byrole.module.

Since installing node_privacy_byrole.module I can no longer upload images to Acidfree albums.

(notes)
I have set the global byrole checkboxes for editing on the content types.
I have NOT enabled the privacy settings within the Acidfree setup page.

(PRIMARY QUESTION)
Any ideas about what conflict is preventing me from uploading images?

TinyMCE and php input format

I have the advanced theme enabled and I have inserted a table into which I am trying to put a php snippet. All this is on a static page. When I save the node, I still see the code and not the results of the code even when I choose the input format as php. The TinyMCE profile is also set to recognise full html

What am I doing wrong? Or will this not work at all and I am being too cute?

PHP in pages causing problems

Hey,

I have a bit of PHP I wrote which utilizes XML22, a couple php scripts that make parsing/editing/searching xml files a lot easier. I am using an XML file in my drupal root dir. When I create a page (say, random.php) the script works fine. But when I use this code inside of a Drupal page I get this error

array_shift(): The argument should be an array in /home/leboff/public_html/blah/includes/common.inc(1813) : eval()'d code on line 64.

The problem is the search is creating a blank array instead of working and returning the proper array. The piece of script that produces the error can be condensed to this:

include('xml22.inc');
$doc = xml22_parse('XMLFile.xml');
function findnames(){
global $doc, $idnum;
$name1 = $_POST['name1'];
$query3 = array('tag' => '/NODE_LABEL/', 'attributes' => array('label' => "/$name1/"));
$result3 = xml22_get_by_regex($doc, $query3);
if($result3 == null){
print "its empty";
}
$pirate3 = array_shift($result3);
$dad = xml22_get_parent($doc, $pirate3);
$idnum = xml22_get_attribute($dad, "nodeID");
return $idnum;
}

findnames();

i know it may be sloppy, but this is actually my first venture into PHP. The doc variable works correctly, as does name1 and query. The result isn't returning the correct variable. Does this possibly have something to do with the way Drupal processes php?

Help is greatly appreciated.

TinyMCE on drupal 4.7

Hi,

I downloaded the tinyMCE module for drupal 4.7, but there is nothing inside the archive, only a licence file, not any module file. What happened?

Thanks

Blacklist of usernames ?

Hey,

it is possible to setup a blacklist of usernames ?

Thanks, Ralf

RSS Feed problem

We just recently launched our site in Drupal format and our RSS feed isn't working for some reason and I can't find a setting or options for it under Administer. Any help would be greatly appreciated. Thanks.

Rick

www.HelpMeRick.com

Pages

Subscribe with RSS Subscribe to RSS - Post installation