IRC logs

20140512

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

IRC log range: 20140512*

20140512

  • 09:38:55 <P0RING> Hi guys. is there a viewhelper to check whether there is content in a column?
  • 09:41:21 <P0RING> ie a way to basically do a num rows on the content query from inside a fluid template
  • 10:10:21 <soee> P0RING: probably not
  • 10:10:30 <soee> you shoudl go for content.get
  • 10:10:36 <soee> and do a condition on it
  • 10:12:10 <P0RING> soee, I guess that works. I was overthinking it :)
  • 10:12:40 <soee> probably you would show the content anyway if exist
  • 10:12:58 <soee> so one query to check and secodn to fetch isnt good isea
  • 10:13:03 <soee> *idea
  • 11:22:59 <woodyc79> Hello! I've got a problem with the v:security.allow Tag - it's simply not working.
  • 11:23:11 <woodyc79> This is working: {v:security.allow(anyFrontendUser: TRUE, then: 'jaaaa-eingelogged', else: 'nein-nicht eingelogged')}
  • 11:23:22 <woodyc79> none of these are working: <v:security.allow anyFrontendUser="1" then="eingelogged (1)" else="nicht (1)!"></v:security.allow>
  • 11:23:22 <woodyc79> <v:security.allow anyFrontendUser="TRUE" then="eingelogged (TRUE)" else="nicht (TRUE)!"></v:security.allow>
  • 11:23:49 <woodyc79> (Flux 7)
  • 11:27:04 <moger> hey there. we are using TYPO3 6.2 and use responsive images
  • 11:27:46 <moger> now text/textpic elements are being rendered "nicely" in responsive ways. but what about images in fluid like <f:image>?
  • 11:45:36 <cedricziel> moger: honestly: i dont know. i'd suspect f:image to follow the system setting
  • 11:48:24 <BenjaminR> hi guys
  • 12:08:49 <cedricziel> ohai BenjaminR
  • 12:41:09 <georg_t> hi FluidTYPO3!
  • 12:42:05 <georg_t> anybody using flux:field.select with flux:wizard.list or flux:wizard.suggest? I can't get them working.
  • 13:01:30 <moger> unfortunately f:image seems so use a separate logic.
  • 13:02:30 <moger> we'll use a partial with f:uri.image sub viewhelpers as a workaround
  • 13:04:33 <BenjaminR> moger what was the task?
  • 13:05:59 <moger> we use TYPO3 6.2 with globally defined responsive images including retina versions.
  • 13:06:27 <moger> now everything basically works when using core tt_content elements
  • 13:07:21 <moger> but when rendering images from fluidcontent FCEs using f:image the tt_content settings of course dont take effect
  • 13:08:16 <moger> so i was wondering if there is such thing as an image viewhelper which can handle responsive images.
  • 13:08:27 <moger> so i was wondering if there is such thing as a fluid or vhs image viewhelper which can handle responsive images.
  • 13:13:15 <BenjaminR> https://forge.typo3.org/issues/57417
  • 13:15:19 <BenjaminR> thats what i know about it - not yet supported
  • 13:16:04 <BenjaminR> but would be worth the work to investigate ttcontent and extend imagevh i guess
  • 13:16:26 <BenjaminR> or create a cobject representing these settings done there (by ts i guess)
  • 13:49:54 <woodyc79> Hello! Any Idea why v:security.allow with anyFrontendUser: 'TRUE' does not recognize a logged in frontend user? are there any caching mechanism that could prevent this functionality?
  • 13:52:43 <anhadikal> hi all!
  • 13:53:25 <anhadikal> I need help with flux:field.relation and transform attribute
  • 13:54:09 <anhadikal> I set transform to my Model. In backend I can select the Records of the Model. But int the Frontend the value of the object ist null
  • 13:54:53 <anhadikal> It looks like the storagePid of my Extension is not used, because it always is 0
  • 13:59:23 <anhadikal> no one idea?
  • 14:03:23 <Denyerec> i'm afraid I've never used that :(
  • 14:03:39 <BenjaminR> same here (after it didnt work for a long while=
  • 14:20:37 <cedricziel> woodyc79: for the records: the vh is cached.
  • 14:20:51 <cedricziel> ah, he's away -.-
  • 14:56:03 <rahulthewall> Hi guys
  • 14:56:13 <rahulthewall> Was looking at the source of my website: view-source:http://test.ageweb.ch/
  • 14:56:56 <rahulthewall> Why is JS being included in the head of the page (where does that come from, and how can I remove it)
  • 14:57:14 <rahulthewall> similarly there is <meta charset="utf-8"> that I need to get rid of
  • 14:57:18 <rahulthewall> any idea how to do that
  • 15:21:50 <Denyerec> rahulthewall
  • 15:22:03 <Denyerec> the meta charset will be coming in from typo3 as standard, I expect.
  • 15:22:21 <rahulthewall> Denyerec: I found some answers at #typo3
  • 15:22:23 <Denyerec> JS will be included via static templates, typoscript, or your fluidtypo3 templates
  • 15:22:31 <rahulthewall> let me try those out, and I will come back :)
  • 15:29:11 <cedricziel> standard way is to let typo3 construct anything outside the body tags
  • 15:29:28 <cedricziel> (except vhs assets ofc, but you get the point)
  • 15:30:00 <cedricziel> you have the option to turn of all headercode and set anything yourself in the layout
  • 15:30:20 <cedricziel> but then you'd also have to respect 3rd party assets in terms of manual inclusion
  • 15:34:36 <rahulthewall> well cedricziel, I set config.removeDefaultJS = 1 just now
  • 15:34:42 <rahulthewall> doesn’t seem to have any effect
  • 15:35:54 <rahulthewall> This is what I see: http://pastebin.com/CK1jMvrP
  • 15:36:02 <rahulthewall> I don’t want to include jquery 1.6
  • 15:48:41 <cedricziel> one thing's for sure: that's no defaultJS :)
  • 15:49:01 <cedricziel> there is an extension of yours that's inserting it
  • 16:02:58 <rahulthewall> The only extension that I installed is Fluid
  • 16:03:15 <rahulthewall> But fluid does not insert that JS, does it cedricziel?
  • 16:08:30 <anhadikal> EXT:flll -> HP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule()
  • 16:08:33 <anhadikal> any ideas?
  • 16:08:44 <anhadikal> @NamelessCoder
  • 16:10:31 <cedricziel> rahulthewall: i highly doubt that fluid is the only extension installed.
  • 16:11:04 <rahulthewall> cedricziel: rest are all what came with typo3 6.2; the only plugin that I installed on my own was fluid
  • 16:11:26 <cedricziel> please be exact.. fluid is installed by default in 6.2
  • 16:13:01 <cedricziel> there have to be at least 3 other extensions: fluidcontent, flux and your provider extension
  • 16:13:33 <cedricziel> if it's not one of them, there is either a flaw in one of your templates, or an extension thats added statically in ext_tables or so
  • 16:17:36 <rahulthewall> cedricziel: So, I have these extensions: Fluid Flexforms, Fluid Parse Engine, Fluid Content Rngine, VHS, and my provider extension
  • 16:19:44 <cedricziel> one thing that comes to my mind immediately: powermail
  • 16:20:49 <cedricziel> if this isnt the case-grep your project for the urls in question
  • 16:21:13 <cedricziel> if you still cant find something: use the template module to find what you're searching
  • 16:33:06 <rahulthewall> doing that
  • 16:33:12 <rahulthewall> powermail is not installed though
  • 16:33:56 <rahulthewall> downloading the project (no ssh :( )
  • 16:34:27 <xaver> hi i got an error and it looks liek the dev versions of the different exts are incompatible?
  • 16:37:10 <xaver> every ext is in the dev branch
  • 18:53:37 <BenjaminR> What was the workaround for using variables in variableNames
  • 18:55:02 <BenjaminR> v:var.get ^^
  • 23:13:42 <TYPO3ua> Hello, all!
  • 23:14:11 <TYPO3ua> How get uid of parent page?
  • 23:16:21 <TYPO3ua> <v:page.menu.directory pages="{Here I need to uid of parent page}"/>
  • 23:24:51 <danilobuerger> TYPO3ua http://fluidtypo3.org/viewhelpers/vhs/master/Page/RootlineViewHelper.html
  • 23:25:33 <TYPO3ua> need example please
  • 23:26:50 <danilobuerger> you will figure it out
  • 23:31:08 <TYPO3ua> no ...
  • 23:32:48 <TYPO3ua> {v:page.rootline(pageUid: '15')} ... output ... Array ... why?
  • 23:33:15 <danilobuerger> use f:debug to see the contents of the array
  • 23:39:13 <TYPO3ua> Extbase Variable Dump ... 'Array ' (6 chars)
  • 23:39:40 <TYPO3ua> nothing ...
  • 23:39:58 <danilobuerger> because you have an empty space after your } and before your </f:debug>
  • 23:46:14 <TYPO3ua> hm ... <f:debug> {v:page.rootline(pageUid: '15')} </f:debug>
  • 23:46:36 <TYPO3ua> what not wrong?
  • 23:46:45 <danilobuerger> ?
  • 23:47:44 <TYPO3ua> it <f:debug> {v:page.rootline(pageUid: '15')} </f:debug> ... output ... 'Array ' (6 chars) ... what not wrong?
  • 23:48:14 <danilobuerger> as i said you have a space after } .. you will need to remove that
  • 23:48:41 <danilobuerger> also you have a space before { .. you will need to remove that too
  • 23:55:29 <TYPO3ua> i have ... array(3 items)
  • 23:55:29 <TYPO3ua> 2 => array(28 items)
  • 23:55:29 <TYPO3ua> 1 => array(28 items)
  • 23:55:29 <TYPO3ua> 0 => array(28 items)
  • 23:56:20 <danilobuerger> and that is your rootline of page uid 15
  • 23:57:04 <TYPO3ua> And further that?
  • 23:57:50 <danilobuerger> well did you click on the "+" icons in your debug output and see whats in those 3 arrays?