[FLOW3-general] Getting Started Question

Sebastian Wojtowicz s.wojtowicz at fu-berlin.de
Tue Dec 8 08:01:43 CET 2009


Hi Marco,

in r3354 the syntax of the ResourceViewHelper has changed. You can find this information in the changelog. 

Try this syntax {f:uri.resource(path: 'Blog.css')}

If you run into trouble again, look at Resources/Private/CheatSheet in your GettingStarted Package (you don't need to understand everything in there, there is some stuff that isn't explained in any docs, but it's good for comparison/ideas). If I remember correctly they had updated the CheatSheet code to comply with the new synatx. Only the Tutorial seems to be outdated.


Regards
Sebastian

Am 08.12.2009 um 01:17 schrieb Marco Weber:

> Hi,
> 
> I followed the getting started tutorial with flow3 and tried to reproduce every step.
> But i have a Problem with the following Step:
> http://flow3.typo3.org/documentation/tutorials/getting-started/gettingstarted.view/
> 
> I created the master.html under "|Blog/Resources/Private/Layouts/"
> And copied the gettings started stuff to "Blog/Resources/Public"
> |
> flow at websrv2:~/Packages/Application/Blog/Resources/Public$ ls -al
> total 44
> drwxrwxrwx 3 flow flow 4096 2009-09-30 08:46 .
> drwxrwxrwx 4 flow flow 4096 2009-09-30 07:45 ..
> -rw-r--r-- 1 flow flow 4465 2009-09-30 08:46 Blog.css
> -rw-r--r-- 1 flow flow 2984 2009-09-30 08:46 FLOW3-Logo-11px.png
> -rw-r--r-- 1 flow flow  562 2009-09-30 08:46 gravatar_default.gif
> drwxr-xr-x 3 flow flow 4096 2009-09-30 08:46 Icons
> -rw-r--r-- 1 flow flow 6462 2009-09-30 08:46 typo3.all-main.css
> -rw-r--r-- 1 flow flow  935 2009-09-30 08:46 typo3.css
> -rw-r--r-- 1 flow flow  935 2009-09-30 08:46 typo3.org-main.css
> 
> 
> But FLUID returns the following HTML (just showing the beginning):
> 
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html
>    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
> 	<head>
> 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> 		<base href="http://flow.websrv2.qxs.ch/ <view-source:http://flow.websrv2.qxs.ch/>"></base>
> 		<title></title>
> 		<link rel="stylesheet" href="{f:uri.resource('Blog.css')} <view-source:http://flow.websrv2.qxs.ch/%7Bf:uri.resource%28%27Blog.css%27%29%7D>" type="text/css" />
> 	</head>
> 	
> 
> It seems like it doesn't replace any of the {f:uri.resource} markers...
> 
> 
> What went wrong here?
> 
> 
> Thanks in Advance for every reply
> 
> See you
>   Marco Weber
> 
> 
> BTW: Flow3 rocks :)
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list