[Zope-CMF] portal_skin variable...

larry_prikockis@natureserve.org larry_prikockis@natureserve.org
Thu, 6 Jun 2002 08:50:31 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C20D58.BDD3E960
Content-Type: text/plain;
	charset="ISO-8859-1"

ok... it *was* silly... 
 
The skins tool in my Plone/CMF has the REQUEST variable set to "plone_skin"
rather than "portal_skin".  Using "plone_skin" in my previous example works,
not surprisingly, perfectly.

-----Original Message-----
From: Meilicke, Scott [mailto:scott.meilicke@intp.com]
Sent: Wednesday, June 05, 2002 7:15 PM
To: 'larry_prikockis@natureserve.org'; zope-cmf@zope.org
Subject: RE: [Zope-CMF] portal_skin variable...



This works on my 2.4.3 with cmf1.1 on windoze. 

-----Original Message----- 
From: larry_prikockis@natureserve.org 
[ mailto:larry_prikockis@natureserve.org
<mailto:larry_prikockis@natureserve.org> ] 
Sent: Wednesday, June 05, 2002 2:46 PM 
To: zope-cmf@zope.org 
Subject: [Zope-CMF] portal_skin variable... 


quick silly question-- 

(using Zope 2.5.1, CMF 1.3beta, Plone from CVS) 
  
if I have a skin named "bob" (for the sake of arguement), is there any 
reason why I can't issue a url such as 
http://mysite/mycmfsite/bobs_page?portal_skin=bob
<http://mysite/mycmfsite/bobs_page?portal_skin=bob>  in order to have the
page 
rendered using the "bob" skin?  

Doing so on my site produces no error, but neither does it appear to change 
the skin as desired.   Note that I *can* go to user preferences and change a

user's skin to "bob" or whatever else I want and it works.... so why not 
using the request string??? 


------_=_NextPart_001_01C20D58.BDD3E960
Content-Type: text/html;
	charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>RE: [Zope-CMF] portal_skin variable...</TITLE>

<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=182535012-06062002><FONT face=Arial color=#0000ff size=2>ok... 
it *was* silly... </FONT></SPAN></DIV>
<DIV><SPAN class=182535012-06062002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=182535012-06062002><FONT face=Arial color=#0000ff size=2>The 
skins tool in my Plone/CMF has the REQUEST variable set to "plone_skin" rather 
than "portal_skin".&nbsp; Using "plone_skin" in my previous example works, not 
surprisingly, perfectly.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Meilicke, Scott 
  [mailto:scott.meilicke@intp.com]<BR><B>Sent:</B> Wednesday, June 05, 2002 7:15 
  PM<BR><B>To:</B> 'larry_prikockis@natureserve.org'; 
  zope-cmf@zope.org<BR><B>Subject:</B> RE: [Zope-CMF] portal_skin 
  variable...<BR><BR></FONT></DIV>
  <P><FONT size=2>This works on my 2.4.3 with cmf1.1 on windoze.</FONT> </P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
  larry_prikockis@natureserve.org</FONT> <BR><FONT size=2>[<A 
  href="mailto:larry_prikockis@natureserve.org">mailto:larry_prikockis@natureserve.org</A>]</FONT> 
  <BR><FONT size=2>Sent: Wednesday, June 05, 2002 2:46 PM</FONT> <BR><FONT 
  size=2>To: zope-cmf@zope.org</FONT> <BR><FONT size=2>Subject: [Zope-CMF] 
  portal_skin variable...</FONT> </P><BR>
  <P><FONT size=2>quick silly question--</FONT> </P>
  <P><FONT size=2>(using Zope 2.5.1, CMF 1.3beta, Plone from CVS)</FONT> 
  <BR><FONT size=2>&nbsp; </FONT><BR><FONT size=2>if I have a skin named "bob" 
  (for the sake of arguement), is there any</FONT> <BR><FONT size=2>reason why I 
  can't issue a url such as</FONT> <BR><FONT size=2><A 
  href="http://mysite/mycmfsite/bobs_page?portal_skin=bob" 
  target=_blank>http://mysite/mycmfsite/bobs_page?portal_skin=bob</A> in order 
  to have the page</FONT> <BR><FONT size=2>rendered using the "bob" skin?&nbsp; 
  </FONT></P>
  <P><FONT size=2>Doing so on my site produces no error, but neither does it 
  appear to change</FONT> <BR><FONT size=2>the skin as desired.&nbsp;&nbsp; Note 
  that I *can* go to user preferences and change a</FONT> <BR><FONT 
  size=2>user's skin to "bob" or whatever else I want and it works.... so why 
  not</FONT> <BR><FONT size=2>using the request string???</FONT> 
</P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C20D58.BDD3E960--