Skip to content

Instantly share code, notes, and snippets.

@beelbrecht
Last active December 12, 2015 01:38
Show Gist options
  • Save beelbrecht/4692685 to your computer and use it in GitHub Desktop.
Save beelbrecht/4692685 to your computer and use it in GitHub Desktop.
<f:render section="Main" />
{namespace v=Tx_Vhs_ViewHelpers}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8"/>
<title>TYPO3 Template</title>
</head>
<body>
<f:layout name="Default" />
<f:section name="Main">
<v:page.content.render />
</f:section>
</body>
</html>
page.10 = FLUIDTEMPLATE
page.10 {
file = EXT:website_template/Resources/Private/Templates/Site/Index.html
layoutRootPath = EXT:website_template/Resources/Private/Templates/Site/Layouts/
partialRootPath = EXT:website_template/Resources/Private/Templates/Site/Partials/
}
@beelbrecht
Copy link
Author

Output of var_dump($this->arguments)
object(Tx_Fluid_Core_ViewHelper_Arguments)[137]
protected 'arguments' =>
array (size=11)
'column' => int 0
'limit' => null
'order' => string 'sorting' (length=7)
'sortDirection' => string 'ASC' (length=3)
'pageUid' => null
'contentUids' => null
'slide' => int 0
'slideCollect' => int 0
'slideCollectReverse' => int 0
'loadRegister' => null
'as' => null

BUT output of "isset($this->arguments['pageUid'])" gives me a TRUE

I think, that this is the problem...

@NamelessCoder
Copy link

  • great minds think alike ;)

@beelbrecht
Copy link
Author

yeah! It works!
Big thanks for your support :-)

@NamelessCoder
Copy link

You're very welcome. Anytime :)

Hope you enjoy your weekend. And VHS!

/C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment