I was wondering if someone knew how to use module_invoke to print a panel page. I would like to use it with a custom php snippet with the Front Page module. The only option I have otherwise is to use redirects but it is much more seamless to use a php print. I really appreciate anyones help who might know this.

Thanks

Comments

JHeffner’s picture

Status: Active » Closed (fixed)

I never did figure out how to do this, but I ended up using mini-panels to create blocks and the code I found at http://drupal.org/node/136896 to print the default page for authenticated users below.


<?php
print node_page_default();
?>

jfha73’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

I'm looking for the same but I need to know how to call one individual panel for anonymous user all the others users have their own frontpage setup and works, but when I setup a redirect for anonymous, it screws up the orther users front pages.

esmerel’s picture

Priority: Critical » Normal
Status: Active » Fixed

Panels 3 handles this a lot better with the access controls - you can set up one frontpage for logged in users, and an entirely different page for anonymous users.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.