![]() |
|
|
#1
|
|||
|
|||
|
When you create a new skin, its a simple process of creating some additional forms to allow users to register, and restrict content to specific groups of users.
The first part is creating a login box somewhere on your site. This is a simple form. PHP Code:
PHP Code:
PHP Code:
PHP Code:
__________________
http://www.cscomputerservices.co.uk/ | Providing complete computer solutions | Web hosting with MonkeyCMS pre-installed Last edited by chrisjlocke : 05-17-2009 at 04:18 PM. |
|
#2
|
|||
|
|||
|
This has been really useful, thanks Chris.
How do you set where a user ends up once logged in? At the moment if I log in from my custom Skin, once logged in I end up at the Default page but using the Default skin. |
|
#3
|
|||
|
|||
|
Found the answer in another post:
http://www.monkeycms.com/forum/showp...52&postcount=1 I was looking to have a section for registered users which will have a different colour scheme and extra content. Will I have overwrite the templates in the Default skin, or can I specify the skin which registered users will use? |
|
#4
|
|||
|
|||
|
You can disable the Default skin and then it won't be selected in the user settings. I can also look at adding a setting to change the registered users default skin if you want for the next release.
|
|
#5
|
|||
|
|||
|
If its easily do-able then I think I might be quite useful Colin
|
|
#6
|
|||
|
|||
|
I will try and get something done next week
![]() Might be a struggle though as I've got to do my accounts too as the accountant is now pestering me loads ![]() |
|
#7
|
|||
|
|||
|
This is now into 1.5.0-3 which I'll try and release in the next 48 hours
![]() |
|
#8
|
|||
|
|||
|
Looking forward to the new release Colin!
Is there any way of dictating which page a user is taken to when they log in or log out? |
|
#9
|
|||
|
|||
|
Quote:
That said, I need to look at the logout process as there are issues with it - so I'll be doing that shortly. |
|
#10
|
|||
|
|||
|
Quote:
![]() Just enter the alternative URLs in the Login Options section of the site settings in 1.5.0-3 + |
![]() |
| Thread Tools | |
| Display Modes | |
|
|