Hi people...
I customize the News module to restrict the content to only authorized users.
When the admin user creates new article, an email is sent with link of the entire article.
Question:
When the user clicks on link to the entire article, the login is requested, and the link for the article is lost.
So, how do i make to store the link and redirect the user after login? (with CMS patterns).
News module question
Re: News module question
look to customcontent and FEU in the forge and on the forum... that’s an easy way to do this...
hope that helps,
cheers
jeremyBass
hope that helps,
cheers
jeremyBass
Re: News module question
Hi, thanks for help...JeremyBASS wrote: look to customcontent and FEU in the forge and on the forum... that’s an easy way to do this...
hope that helps,
cheers
jeremyBass
I did the login module that implements the security logic for my case...
but this is my first project that I used the CMS system and I'm a little confused ...
In this case, I did a copy of the News module and I did some changes to when user creates a new article a function is called to send a mail.
so, can you send me any example to how could I use the Custom Content in this situation?
PS: sorry about my english.... i'm brazilian
Re: News module question
Hello, really there are few things you can't find in here on the forum... and this is one of them... you should always search first... but this a start
{if $ccuser->loggedin()}
{news}
{else}
not logged in
{/if}
cheers
jeremyBass
{if $ccuser->loggedin()}
{news}
{else}
not logged in
{/if}
cheers
jeremyBass
Re: News module question
ok.... thanks for help
I'll try this way
I'll try this way