Another strange one, only occuring on my of my many drupals, this one on an RHE server running Apache 2 and yes, I have the .htaccess and can confirm it works by entering in a clean url path by hand, however what I get on that page is not clean urls, but additive clean urls!
I hate to have to stoop to asking for assistance, but I can't find this in the help manuals, nor could I find assistance elsewhere. Basically I did a Drupal installation at tweakgeek.com
Most things are working fine, but there's a few odd things happening:
Would it be possible to use the module node_privacy_byrole (4.5.0) to have user/role based permissions for page viewing?
If this is not possible are there any suggestions how to achieve this?
I'am also still searching for a way to protect downloads. Only authenticated user should be able to download. At this moment I don't want to upgrade to Drupal 4.5.0.
I tryed to make a marvin_2k hack to make different templates for different node types. I modified the phptemplate.engine, to add to function phptemplate_node the
'nodetype' => $node->type
line.
After this I wanted to output the node type to simply test if it is aveilable in the node.tpl.php file for use. And here is my problem: the $nodetype var is empty.
It dose work with xtemplate. But I nead to use the phptemplate engine.
I have a flexinode text area and want to include a last update date how can I do this? Below is the code I want to include.
$info = mysql_fetch_array(mysql_query("SHOW TABLE STATUS FROM `db_name` LIKE 'table_name'"));
$updated = strtotime($info["Update_time"]);
$output = date("l, F j, Y", $updated);
print$output;
I'm having problems with these two modules in 4.5rc. Browser works if one is looking for two or more categories but fails with mysql errors if one is looking for only one category. Tax_menu doesn't work at all at forming the correct links. It does show the list and expandable menus fine but note of the links work. Some of my content is in flexinode, but not all and these two don't work correctly for the stuff that isn't in flexinode either.