Closed (fixed)
Project:
Public Preview
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Jul 2008 at 15:09 UTC
Updated:
10 Sep 2008 at 18:12 UTC
Enable use of url aliases in preview, not just node/x/suffix
Comments
Comment #1
Apfel007 commentedHi Chris,
I like the idea of the module. I try the convert the first part of the "menu part" into Vers. 6, but i'm not good enough to do this with the whole thing. Are you able to transform it?
Cheers Kai
My part:
/**
* Implementation of hook_menu().
*/
function public_preview_menu() {
$items = array();
if ($may_cache) {
$items['admin/content/preview'] = array(
'title' => 'Content Preview',
'description' => 'Settings to allow users access to unpublished content.',
'page callback' => 'drupal_get_form',
'page arguments' => array('public_preview_admin_settings', 2),
// NOTE: as of Drupal 6.2, all menu items are *required* to have
// access control.
'access arguments' => array('administer site configuration'),
'type' => MENU_LOCAL_ITEM,
);
} else {
.....
Comment #2
chrisyates commentedKai,
I haven't done much with D6 yet, but I'll take a look at this when I can. If you get any further in the meantime, please let me know.
-c
Comment #3
chrisyates commentedI've released an initial port for D6. Download here: http://ftp.drupal.org/files/projects/public_preview-6.x-1.0.tar.gz
-chris
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.