Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Programmatically edit/create Theme

Reply
Thread Tools

Programmatically edit/create Theme

 
 
jjack100@gmail.com
Guest
Posts: n/a
 
      05-23-2005
In asp.net 2.0 you can apply custom themes based on a user profile,
etc. And you can change the theme programmatically, etc. But how do you
edit or create a theme programmatically? I am working on a content
management system where the user needs to be able to select fonts,
colors, etc. Right now I can only see how to let the user select from
a pre-defined set of themes.

In the old days, you could generate the css file from user input stored
in the db, and then upload this css file to the server. (this is an
authenticated user).

Is there any way to edit or generate a theme through the user interface?

 
Reply With Quote
 
 
 
 
jjack100@gmail.com
Guest
Posts: n/a
 
      05-23-2005
I should clarify: the user in this case is the site owner and the
theme he creates/edits would apply globally (for all users of the
site). In other words, think of it like .Text or blogger. I am NOT
talking about personalizing a certain user's interface. I am talking
about creating/editing a theme through a management interface like
blogger. Blogger lets you do this kind of thing by either selecting a
pre-defined theme or by editing the CSS directly. Just trying to
figure out if there is a less clunky way of doing that in 2.0.

 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-24-2005
Well, Themes might not be the right choice then. You can always programmatically
add elements to the head tag of the page (since in ASP.NET 2.0 that's a server
side control). Doing this in your master page would be a good choice.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I should clarify: the user in this case is the site owner and the
> theme he creates/edits would apply globally (for all users of the
> site). In other words, think of it like .Text or blogger. I am NOT
> talking about personalizing a certain user's interface. I am talking
> about creating/editing a theme through a management interface like
> blogger. Blogger lets you do this kind of thing by either selecting a
> pre-defined theme or by editing the CSS directly. Just trying to
> figure out if there is a less clunky way of doing that in 2.0.
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to set theme programmatically Juan Romero ASP .Net 1 07-02-2007 08:06 PM
How To? Programmatically Set Theme For Master Page Joey ASP .Net 1 04-17-2006 11:25 PM
[Thunderbird] How can I create my theme? Charles Firefox 0 11-02-2003 07:11 PM
Installing Aqua Theme nikoli Firefox 0 10-14-2003 06:55 AM
Theme download? Thomas Straumann Firefox 1 09-19-2003 02:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57