abakht
Posts: 2
|
| Posted: 03/24/2006, 10:01 AM |
|
Greetings,
I am trying to include a header file based on the user group. For example:
I have 3 header file called AHeader, BHeader and CHeader,
I want include AHeader when groupid is 1, BHeader when GroupId is 2 and CHeader when groupid is 3.
Would some one show me where and how to accomplish this?
Thank you.
Alex
_________________
abakht |
 |
 |
zolw
Posts: 51
|
| Posted: 03/24/2006, 12:19 PM |
|
Alex,
As long as I know it is not possible to add an include dynamically.
What you can do if you are using CCS 3 is....
......in the same Include (lets call it Header) you add 3 panels and set the visible property as NOT visible and then using code and depending on the user level you show the panel with the content for the proper group.
If I can help you with this just PM me.
_________________
Zolw
http://www.xlso.com |
 |
 |
mhope
Posts: 37
|
| Posted: 03/24/2006, 2:09 PM |
|
Or just set the include files with the groupID assigned to them via CCS
|
 |
 |
abakht
Posts: 2
|
| Posted: 03/25/2006, 10:49 AM |
|
Thank you so much for the help. It works perfectly.
Alex,
_________________
abakht |
 |
 |
wayner
Posts: 37
|
| Posted: 04/24/2006, 10:52 AM |
|
I would be interested in getting a copy of both techniques and code, I am looking at a way to include differents headers and storing the header graphics to the CCS Horizontal Menu System tables.
_________________
Have it your way, sort of!
1. You can have it fast.
2. You can have it cheap.
3. You can have it accurate.
Pick 2 out of the 3! |
 |
 |
Waspman
Posts: 948
|
| Posted: 04/27/2006, 2:19 AM |
|
I do this all the time.
I just create a table called headers (images, welcome statements,links etc.) assign the group ID and show it using where etc.
All managed by the client via their admin area.
_________________
http://www.waspmedia.co.uk |
 |
 |
|