So, you're saying there's no way to just make it a standard html reference (as in, something you can easily preview in dreamweaver, like <img src="/some/directory/path/imagename.jpg">?

Also, for my css file, are you saying that I'd have to have:
<link rel="stylesheet" type="text/css" media="all" href="$content.getURI("templates/layouts/blue/style.css")" />


Once again, is there any way I could reference the css file using standard references:
<link rel="stylesheet" type="text/css" media="all" href="/some/directory/path/style.css" />


Sorry to be a pain, but it'd make my VIEW programmer's job a lot easier if he could actually VIEW his work offline.

Thanks
Keith

On Thursday, June 19, 2003, at 04:43 PM, Henning P. Schmiedehausen wrote:

keith <[EMAIL PROTECTED]> writes:

location you suggest), how (prefferably using simple html references)
would this line look:

------------- file: theme.vm -------------------
...
<img src="?what directory do I put here?/bluelogo.jpg">
...
--------------------------------------------------

if you use the images directory in the webapp root, you use


<img src="$content.getURI("images/bluelogo.jpg")">

if you put it into

templates/layouts/images/bluelogo.jpg

then you use

<img src="$content.getURI("templates/layouts/images/bluelogo.jpg")">

Please read the docs on http://jakarta.apache.org/turbine/, this is
pretty good described in the various HOWTOs.

        Regards
                Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development  -- hero for hire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to