simple condition: 'see pageear ONLY if not logged in"

zilla - March 18, 2008 - 19:56
Project:PageEar
Version:6.x-1.1
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hi. i'm not a php person, and i'm wondering if the dev or a pageear user has a simple bit of php that i can paste into conditions to user for page that will simply not show the page ear to any user who is logged in - trying to make pageear like 'register now!' and then link to /register and then not be there for a logged-in user...

#1

zilla - March 23, 2008 - 16:12

hi. just wondering if anybody has a thought about this, or any kind of sample code to write a condition that i might be able to tweak or modify or experiment with, i have no idea how to write the conditional php required to expose or hide page ear...

#2

thatnewguy - April 20, 2008 - 22:22

Try the conditions module issues area instead.

#3

manfer - July 28, 2009 - 11:18
Status:active» closed

Since 6.x-2.0 pageear module controls visibility in a block style. This gives you the ability to configure one pageear visibility by role and show only that pageear for anonymous users.

#4

manfer - July 28, 2009 - 11:32
Status:closed» fixed

#5

System Message - August 11, 2009 - 11:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.