Re: [tog] Re: Redirect to index

1 view
Skip to first unread message
Message has been deleted
Message has been deleted

Alberto Molpeceres

unread,
Aug 10, 2010, 8:33:10 AM8/10/10
to tog_...@googlegroups.com
Which problems do you have?.

al.

--
Alberto Molpeceres.
Linking Paths.

Simple registration for your events. http://www.stagehq.com

On Tue, Aug 10, 2010 at 2:15 PM, h0bit <jsanta...@gmail.com> wrote:
> Hello to everybody, i want to show in the index page the current user
> profile when he is loggin, but i have some problems to do it.
>
> Can anyone help me? How can i do it?
>
> Thanks and greetings.
>
> --
> You received this message because you are subscribed to the Google Groups "tog_users" group.
> To post to this group, send email to tog_...@googlegroups.com.
> To unsubscribe from this group, send email to tog_users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tog_users?hl=en.
>
>

Message has been deleted

Alberto Molpeceres

unread,
Aug 11, 2010, 5:22:28 AM8/11/10
to tog_...@googlegroups.com
The recommended way to do this is to overwrite tog_core's view in your
app (just copy the view from plugin to your app's view folder with the
same name and path) and add there:

<% if logged_in? %>
whatever
<% end %>

That should be enough.

al.


On Wed, Aug 11, 2010 at 11:06 AM, Jonay Santana García
<jsanta...@gmail.com> wrote:
> The problem is that i want to add on the index page the current user profile
> when he is loggin. And i don't no how to add his profile, because his
> profile is in tog_social and how can i add it?
>
> Can you help me? thanks.
>
> 2010/8/10 Alberto Molpeceres <alb...@linkingpaths.com>

> --
> ---------------------------------------------------------
> Jonay Santana García
>
> e-mail:    j.sant...@gmail.com
> ---------------------------------------------------------

Reply all
Reply to author
Forward
Message has been deleted
0 new messages