 |
 |
 |
 |
 |
| Author |
Message |
shoesoff
Joined: 04 Oct 2005 Posts: 13
|
|
Client centered system |
|
i need help creating this client-centered system.
I want to implent cutenews in all my future client projects.
_______
i would still log in as admin, script standard, so i can add articles/categories etc....
now, when the client logs in,
i would want him to see the script like this:
do you think i would have to hardcode this?
or is there another way?
if i hav to hardcode this,
how do i assign a skin to one specific user category?
so a new skin for "editors' for example
thx in advance,
your help is greatly appreciated
|
|
| Wed Jan 11, 2006 4:36 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
shoesoff
Joined: 04 Oct 2005 Posts: 13
|
|
|
|
FI-dd? or anyone who like's to help?
this way we could even code a cuteCMS?
|
|
| Thu Jan 12, 2006 10:38 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | how do i assign a skin to one specific user category?
so a new skin for "editors' for example |
In index.php there is this:
 |  | if (isset($config_skin) and $config_skin and file_exists($cutepath.'/skins/'.$config_skin.'.skin.php')){
require_once $cutepath.'/skins/'.$config_skin.'.skin.php';
} else {
$using_safe_skin = true;
require_once $cutepath.'/skins/default.skin.php';
} |
You can add conditions like
if($member['level'] == '2') //User category
or
if($member['username'] == 'client') //Username
|
|
| Thu Jan 12, 2006 11:07 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|