Kurt D. Starsinic on Thu, 8 Jun 2000 17:39:38 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: style sheets, html::template, etc


On Thu, Jun 08, 2000 at 05:27:08PM -0400, JR Mayberry wrote:
> I'm having a dilemma maybe someone can help..
> 
> I figure we can use HTML::Template and style sheets to allow us to create
> dynamic content for visitors..
> 
> In the scenario I'm working on, a persons font color, size, etc is kept in
> a style sheet, and that style sheet is loaded based on what company the
> person is coming from..
> 
> So, in theory, if a person authenticated from Company A, they could see a
> completely different look and feel then a person from Company B, all using
> the same template file, just with different style sheets..
> 
> The problem I'm having is -- style sheets dont support graphics as far as
> I can tell.. 
> 
> So, say I wanted a logo to appear when a person logged in, and that logo
> would be their company logo, theres no way to do it in style sheets,
> right?
> 
> Is there a better way to do it in perl?
> 
> I suppose I could do it via HTML::Template variables, but I wanted to
> avoid this as it would potentially take away the control from the HTML
> developer.. (unless i coded some admin interface)..
> 
> Any thoughts of other ways to go about it? Thanks!

    HTML::Mason.

    http://www.masonhq.com/

    Peace,
* Kurt Starsinic (kstar@orientation.com) ---------- Senior Network Engineer *
|      `It is always possible to aglutenate multiple separate problems      |
|       into a single complex interdependent solution.  In most cases       |
|       this is a bad idea.' - Ross Callon                                  |

**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**