Closed (fixed)
Project:
Panels
Version:
5.x-2.0-alpha7
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2007 at 08:53 UTC
Updated:
6 Oct 2008 at 13:40 UTC
Hi,
I'd like my users to be able to see only panels I've defined. They should be restricted from entering pages like node/1.
Amitai
Comments
Comment #1
merlinofchaos commentedYou'll have to utilize Drupal's node_access system to do that, and I think you'll find it to be a lot more trouble than it's worth. It's kind of hairy to code for.
I don't think you can easily accomplish what you're asking here.
Comment #2
amitaibuHi, it is now possible with the WorkFlow-ng module. check this out:
http://drupal.org/node/163673#comment-282804
Comment #3
amitaibuScenario
----------
1. There content type called story (node/1; node/2)
2. Instead of showing the content type as is, a panel is build (panel/story/1; panels/story/2)
Problem
----------
The problem now is how to prevent the user to access node/1; node/2
I see two ways, interesting to see what you guys think would be the best way of achieving this goal:
1. Workflow-ng, can already do this. However because of the nature of the module for anonymous users, the page cache should be disabled – big disadvantage.
2. Something similar to global redirect only for Panels - i.e. define which content type to be redirected.
Comment #4
summit commentedHi,
I am very curious about this also.
Another option is may be to be able to make the url-redirect in the node.tpl.php.
It is working for the ad module.
I would like to see it also working for links_weblink.
May be this is the wrong track, but I think it could be done through getting the right variable ready to place instead of $node_url.
greetings,
Martijn
Comment #5
merlinofchaos commentedOne of the things I'm attempting to do is to make Panels be something that can permanently replace node/%nid/view -- maybe that's what you're really looking for?
Comment #6
amitaibuExactly
Comment #7
merlinofchaos commentedThis now works. Set your URL to 'node/%' and add a Node ID argument.
Comment #8
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
asak commented(I will not open this but just ask a related question)
How can I restrict now the panel for displaying on "node/%" to selected content types only?
From what i understand the url is actually always 'node/x' for any content type, even when using custom paths/aliases.
Thank you!
UPDATE: 2 seconds later i found http://drupal.org/node/206185 - sorry for the stupid question ;)