Search the web
Sign In
New User? Sign Up
vanilla-pudding · Vanilla is a simple hypertext system which subscribes to the Wiki philosophy.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [vanilla] How to use linked Cascading Style Sheets in Vanilla ?   Message List  
Reply | Forward Message #48 of 980 |
Re: [vanilla] How to use linked Cascading Style Sheets in Vanilla ?

Yes Bingo!
Thanks

For the record here's what works:

My Vanilla is installed and running under apache in E:\VanillaSBX\apache

I revised http.conf thus:

DocumentRoot E:/VanillaSBX/apache

Now inside any file such as /sources/vanilla-template.snip I can link to my
own external stylesheet file:

<html>
<head>
<title>{.name}</title>
<link rel="stylesheet" href="/static/vanilla_jason.css" type="text/css">
</head>

Any CSS definitions can be used and revised on the fly in Vanilla, and also
directly onscreen in Dreamweaver or using its own 'Preview in Browser' mode
:-))

Everything behaves as it should - so can edit the external .css file and see
changes everywhere. This means it can also be manipulated by REBOL from
Vanilla for example..

oh simple joys!

- Jason

PS. Did I say I love Vanilla?

----- Original Message -----
From: "James Adam" <bulk@...>
To: <vanilla-pudding@yahoogroups.com>
Sent: Saturday, November 03, 2001 9:10 AM
Subject: Re: [vanilla] How to use linked Cascading Style Sheets in Vanilla ?


> in your apache config file [httpd.conf], you should hsave set the document
> root for the server that is running vanilla. all relative links within
this
> server are based from this path. for instance, imagine on windows you have
>
> Apache in c:\apache
> document root as c:\apache\htdocs
> vanilla in c:\apache\vanilla (but of course, the vanilla.r files are
> probably in c:\apache\cgi-bin or something)
>
> if you link to [http://www.yourserver.com]/my_stylesheet.css , apache will
> look for it in c:\apache\htdocs
>
> if you specifiy that your stylesheet is /styles/stylesheet.css , apache
will
> look for it in a styles directory in htdocs.
>
> hope this helps..
>
> James





Sat Nov 3, 2001 7:00 pm

jasonic@...
Send Email Send Email

Forward
Message #48 of 980 |
Expand Messages Author Sort by Date

in your apache config file [httpd.conf], you should hsave set the document root for the server that is running vanilla. all relative links within this server...
James Adam
jamez_adam
Offline Send Email
Nov 3, 2001
2:11 pm

Yes Bingo! Thanks For the record here's what works: My Vanilla is installed and running under apache in E:\VanillaSBX\apache I revised http.conf thus: ...
Jason Cunliffe
jasonic@...
Send Email
Nov 3, 2001
6:59 pm

Hi Jason, 1.- compliments ! 2.- can you write a snips in Official Vanilla site or in Vanilla Developer Site about your result ? thanks a lot Maurizio Converso...
Maurizio Converso
m.converso@...
Send Email
Nov 3, 2001
8:22 pm

... Site ... Hi Maurizio I'll be glad to write it up .. meanwhile I am not 100% sure if it is stable yet. Some problems here now; maybe WinDoze or could be...
Jason Cunliffe
jasonic@...
Send Email
Nov 3, 2001
11:33 pm

... user ... hmmm.. Ran some tests with a clean Vanilla installation on another identical PC. Seems to have been caused by a local WinDoze corruption and not ...
Jason Cunliffe
jasonic@...
Send Email
Nov 4, 2001
7:31 am

Some short official summary regarding the use of CSS in Vanilla. - A short (not really technical) overview Vanilla is (currently) a CGI-based system, that...
earl.walker@...
lord_earl_wa...
Offline Send Email
Nov 4, 2001
4:11 pm

... What exactly do you mean by "clean out"? Delete all of them? The "official way" is to disable users (only the master user can do that - click on "admin"). ...
Christian Langreiter
chris@...
Send Email
Nov 4, 2001
12:17 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help