IRC logs

20140820

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20140820*

20140820

  • 10:21:14 <benjamin_654> soee: the last time i used vhs assets to put the og-tags into the <head >; when i have time i also want to write a view helper to get the first content image of a page ang generate the image og tag; maybe this would be a good addition to vhs ..
  • 11:51:06 <batjony> yo guys
  • 11:51:51 <batjony> how can I use a php class constant like \Blabla\Extentsion::DOKTYPE in an html fluid template ?
  • 12:14:23 <xaver> via assign or a viewhelper
  • 13:05:31 <batjony> xaver: with assing you mean using the ContentController ?
  • 13:14:14 <batjony> lets say I have a custom content element "Footer", and a ContentController which has a footerAction, and a html fluid content template in Resources/Private/Templates/Content/Footer.html
  • 13:15:00 <batjony> if I assign a variable in the footerAction for example $this->view->assign('test', 'uaaauuuu'); and when I dumpt it in the template <f:debug>{test}</f:debug> I see NULL
  • 13:15:01 <FT3BOT> ¯\_(ツ)_/¯
  • 13:15:38 <batjony> some ideas why I cant assign a variable using the ContentController ?
  • 13:30:59 <batjony> NamelessCoder: any idea ? :)
  • 13:34:29 <batjony> actually seems that the ContentController is not used at all, i have just put die("uauuu") in the footerAction, but it does not die....
  • 13:49:09 <batjony> I found it, it was because of missing Migration file :)
  • 13:58:34 <hans_> hi
  • 13:59:54 <hans_> i need a condition like this: <f:if condition="{page.uid} == '373' || {page.uid} == '374'">
  • 13:59:55 <FT3BOT> ¯\_(ツ)_/¯
  • 14:00:06 <hans_> how can i do it?
  • 14:03:19 <soee_> build condition using array :)
  • 14:03:50 <hans_> u got an example ?
  • 14:04:33 <soee_> uhm, someone posted link here yesterday
  • 14:06:02 <soee_> https://github.com/FluidTYPO3/vhs/pull/401
  • 14:12:30 <hans_> ok, thx, my vhs version is to old on this typo3installation
  • 14:12:34 <hans_> :-(
  • 14:12:40 <hans_> stack is not present!
  • 14:23:06 <hans_> ok, if have solved it by setting a var! dnoe!
  • 14:23:08 <hans_> done
  • 14:23:10 <hans_> thx!