brett-mclaren
Posts: 1
|
| Posted: 07/21/2010, 2:04 AM |
|
Hi All,
I am looking for a way in php to retrieve the name of the style my page is using. I have look around on the forum and all i could find was a 'CCProjectStyle' but i can't get this to work or find and reference of this variable in the CC documentation.
Any ideas?
Thanks in advance.
Brett
|
 |
 |
datadoit
|
| Posted: 07/21/2010, 5:23 AM |
|
Under Project Settings -> Styles, you should have 'Dynamically Use
Styles' checked. Then look at the advanced settings and you'll see how
the style is referenced, via a session variable, a URL parameter, or a
cookie.
Typically it can be found in CCGetSession("style",""). But, if you
never changed the style, then it won't have a value and CCS will default
to 'None'.
|
|
|
 |
|