Hi there,
I have a use case where I need to add a splash page that will come up before the actual default page in clear spaces. Can any one shade some light as to what's the best way to achieve this?
Thanks a lot.
Erick.
Hi Anthony,
I need this page to come up the first time the user visits the site. The idea is to use a cookie to know if the user already saw the splash or not.
Thanks.
PS: I am not sure what a T&C page is.
Yes, we too are interested in presenting a specific message to every user ONLY the first time he/she accesses the community. It woulb be a Terms Acceptance message, that users should click and accept. Their acceptance should then saved to user database in order for us to have proven track of users acceptance.
How to do this?
My best,
Marcello
Sorry for the delay on this - I missed the other response.
This could be done in a plugin, you can either write a global interceptor or add a filter. Basically, the idea would be to catch the user if they do not have an extended user property set, and hold them at a page. Once they "accepted" the page, they would then have a user property set that would then allow them to bypass this on subsequent calls.
Cheers,
Anthony
Marcello,
Take a look here for the plugin documentation:
http://www.jivesoftware.com/builds/docs/clearspace/latest/BuildingPlugins.html
It is possible that someone has created something like this - but it might not meet your exact needs.
You could then extend Filter:
public class TermsAndConditionsFilter implements Filter { }
spring.xml:
<bean id="termsAndConditionsFilter" class="com.jivesoftware.plugin.termsandconditions.TermsAndConditionsFilter">
<property name="jiveGlobals" ref="jiveGlobals"/>
</bean>
Then inside that filter you can do what you need to do in terms of checks - you can always display the splash screen on entry...you can keep track if you've displayed it before, etc.
Cheers,
Anthony
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us