Hi there..
What should i do for set up difference page after user login at Zikula ????
Example :
When someone user login, first page view after login is depend of group membership.
Thanks..
- craigh responded to »Is Zikula v.1.3.0 ready for production sites?« 09:05 AM
- MarcPare responded to »Increase timeout for Admins only« 08:27 AM
- mazdev responded to »PostWrap for zikula 1.2.8« 06:18 AM
- mazdev responded to »Flash Slideshow in Andreas08 Theme Header - LOAD FAIL« 06:11 AM
- eledril responded to »Links for Categories in Content« 05. Feb
- espaan responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 03. Feb
- Paustian responded to »Clip & Form validation« 02. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
How to set difference view page after user login at zikula
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2411
MMMMmmmmm
i'm afraid that is not possible to implement that without hack the core by now...
in Zikula 2.0, we'll have some global hooks (like 'systeminit'),
'afterlogin' can be another point to register a customized behavior,
but in this point, you need to add that customized code in the Users module
hacking and not in a clean way...
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Expert
- Registered: Nov 23, 2003
- Last visit: Dec 13, 2009
- Posts: 1487
Couldn't a plugin be used to cause a group membership based redirect from the default homepage?
--
Under Construction! -
- Rank: Softmore
- Registered: Aug 12, 2003
- Last visit: Mar 08, 2010
- Posts: 111
I do not know what exactly you want to achieve, but permissions may be your friend. You could create a Pagesetter document type for the front page, and then create two or three documents of that type. Next, set permissions for each document so that each group sees only one of the documents - or something along these lines, but with a different module...
--
And out of the chaos sounded a voice and spoke: "Be happy and smile, for it could have come worse."
And I was happy and smiled - and it came worse... -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
system/Users/pnuser.php
edit
Code
function users_user_login()
{
...
if ($login_redirect == 1) {
// WCAG compliant login
return pnRedirect($url);
} else {
// meta refresh
users_print_redirectpage(_USERS_LOGGINGYOUIN, $url);
}
...
}
and customize the $URL variable
with some modification this will help you to implement group check
http://community.zikula.org/module-Database-viewpub-tid-8-pid-23.htm
edited by: mumuri, Aug 30, 2008 - 09:03 AM
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
