CssSwitcher
Votes: 21
Tags: Personalization, Style, snippet, display
Submitted: Mar 25, 2008
Released: Mar 25, 2008
Downloads: 914
License: Other
Package Website
CssSwitcher 0.5
Works with the following Version(s): 0.9.6
A small snippet for users to switch between different style sheets, from the frontend.
Download
- repo-1931.zip (914 downloads)
Description
A small snippet for users to switch between different style sheets, from the frontend.
Features:
(1) If a sheet exists with the same name of the sheet selected for the screen, this sheet will used. Else, if the sheet defined by &cssprint exists, it will be used.
Otherwise, the sheet selected for the screen will be used.
Instructions
Installation:
Configuration:
Parameters: default
General display parameters (select or htmllist):
Select and selectb display parameters:
Htmllist display parameters:
Examples:
!CssSwitcher? &defaultcss=`relative`!
!CssSwitcher? &parsefolder=`1` &display=`select` &defaultcss=`relative`!
!CssSwitcher? &defaultcss=`site` &parsefolder=`1` &display=`htmllist` &tplhtmllist=`myhtmllist`!
!CssSwitcher? &parsefolder=`1` &display=`selectb` &cssreverse=`1` &cssignored=`print`!
!CssSwitcher? &print=`1` &cssprint=`print`!
!CssSwitcher? &print=`1` &cssprintpre=`print_`!
UpdatesThis version adds more flexible templating usages based on the chunckie class and a correction to the redeclare getchunck error of 0.4 version.
- select class, to build a select drop down menu (with or without submit button)
- htmllist class, to build a html list (with or without background image)
Sub-Packages
Previous Releases
0.4.1
Votes: 15
Tags: Personalization, Style, snippet, display
Submitted: Jul 26, 2006
Released: Jul 26, 2006
Downloads: 2213
License: Other
Package Website
CssSwitcher 0.4.1
Works with the following Version(s):
A small snippet for users to switch between different style sheets, from the frontend.
Download
- repo-857.txt (2213 downloads)
Description
A small snippet for users to switch between different style sheets, from the frontend.
Features:
(1) If a sheet exists with the same name of the sheet selected for the screen, this sheet will used. Else, if the sheet defined by &cssprint exists, it will be used.
Otherwise, the sheet selected for the screen will be used.
Instructions
Installation:
Configuration:
Parameters: default
Tags in chunk for dropdown menu:
Tags in chunk for html list:
Examples:
!CssSwitcher? &defaultcss=`site` &display=`0`!
!CssSwitcher? &defaultcss=`site` &display=`1` &chunk=`CssSwitcher`!
!CssSwitcher? &parsefolder=`1` &cssreverse=`1` &cssignored=`print`!
!CssSwitcher? &parsefolder=`1` &htmllist=`1`!
!CssSwitcher? &print=`1` &cssprint=`print`!
!CssSwitcher? &print=`1` &cssprintpre=`print_`!

Please login to comment.