[[!Wayfinder? &startId=`0` &level=`2` &cssTpl=`wayfindercss` &rowTpl=`rowtemplate`]]
<title>MODX Revolution - Reporting</title> <base href="http://localhost/mysite/" /> <link rel="stylesheet" type="text/css" href="assets/base.css"> <link rel="stylesheet" href="ul { list-style-type: none; padding: 0px; margin: 0px; }" type="text/css" />
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /Forms/ul{list-style-type: none;padding: 0px;margin: 0px;} on this server.</p> </body></html>
This question has been answered by ottogal. See the first response.
<style type="text/css"> your styles </style>
That's not a css stylesheet file. You need to make a css file, and reference the location.
Or if you're going to use an inline style in the head, use
<style type="text/css"> your styles </style>
If the generated output of a Wayfinder call requires the presence of certain CSS or JavaScript, you can store the CSS in one chunk and the JavaScript in another, then use these parameters to have Wayfinder copy one or both chunks into the HEAD section of the webpage in which the Wayfinder call is made.
&cssTpl: Name of a chunk containing the CSS you would like added to the page when the Wayfinder call is present.
ul { list-style-type: none; padding: 0px; margin: 0px; }
<link rel="stylesheet" type="text/css" href="assets/base.css"> <link rel="stylesheet" type="text/css" href="assets/nav.css">
If your use of Wayfinder's output requires a CSS stylesheet you can do the following to insure that the CSS is available:(Cited from the Wiki documentation about Wayfinder for Evo, but I don't think the behaviour of &cssTpl has changed in the Revo version.) [ed. note: ottogal last edited this post 11 years, 5 months ago.]
Create a CSS file, and place all your style defintions within.
Create a chunk, and place within it the URL of the CSS file.
Set the &cssTpl parameter to the name of the chunk.
Then, when Wayfinder runs, it will place a link to the CSS file in the HEAD section of the current webpage. The link will look like this: <link rel="stylesheet" href="URL-of-CSS-file" />.
<link rel="stylesheet" type="text/css" href="assets/base.css"> <link rel="stylesheet" href="assets/nav.css" type="text/css" />