Friday, September 28, 2012

Re: Splash page before Authentication

I was going to suggest you make the splash page a static html file,
but you'd need to set the splash page as the DirectoryIndex, which
would interfere with webroot/index.php.

You could set the loginRedirect to point to PagesController, action =>
splash (don't forget to allow() this action). But then whenever a
sesion timed out, the user would get the splash page instead of the
login.

On Wed, Sep 26, 2012 at 11:54 AM, Dario Espina <espinade@gmail.com> wrote:
> Hi everyone,
>
> I wrote a nice app, but it's quite boring when you get an login page first,
> so we design a nice splash screen to be show before the login page.
> It has two links: Subscribe and Log In
>
> Our main page it's rendered on the home.ctp
>
> how can I show: Splash -> login -> home?
>
> thanks!
>
> BTW I'm using cakephp 2.0
>
> --
> Like Us on FacekBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: