Closed (fixed)
Project:
Front Page
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2006 at 13:22 UTC
Updated:
13 Aug 2008 at 18:06 UTC
Would it be possible to add an option for each version of the front page (anonymous/authenticated etc) to let the admin select on which version they want the mission statement to show on, instead of just relying on the overall setting in the theme?
Comments
Comment #1
geodaniel commentedJust to give an example, it would be nice to be able to show the mission statement to logged-in users but not to the anonymous users. Or vice versa.
Comment #2
dublin drupaller commentedhi geodaniel,
Thanks for submitting the feature request. I think it's a good idea, but, I think I'll wait until the next release before adding it in, to make sure other users will use it.
In the meantime, for anyone who just wants to display the mission statement to logged in users, you can use the following snippet:
When using the above in a front_page setting text area, make sure to select the allow php option before saving. Please note, the above snippet will display the mission statement regardless if you have the mission statement switched on/off on your site settings page.
Dub
Comment #3
dublin drupaller commentedjust closing off a stray STRONG tag in my previous post.
Comment #4
geodaniel commentedThanks Dub - good suggestion for a workaround :)
Comment #5
Phillip Mc commented