IRC logs

20141016

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

IRC log range: 20141016*

20141016

  • 08:37:54 <denis-fluid> Good morning.
  • 08:37:55 <denis-fluid> :-)
  • 08:38:46 <denis-fluid> Does someone know of a possibility to add a custom class to every list item (li) in v:page.menu?
  • 08:58:13 <bjo3rn> hi denis-fluid
  • 08:58:19 <bjo3rn> sure, manual rendering
  • 08:58:23 <denis-fluid> hi bjo3rn
  • 08:58:43 <bjo3rn> do you know how to do that=
  • 08:58:44 <bjo3rn> ?
  • 08:59:09 <denis-fluid> I have read throught this blog post: https://worksonmymachine.org/blog/a-guide-to-menu-rendering-with-fluidtypo3
  • 08:59:26 <bjo3rn> ah, ok.
  • 08:59:37 <bjo3rn> looks familiar to me ^^
  • 08:59:40 <denis-fluid> Is there a reference for what properties "item" contains.
  • 08:59:51 <denis-fluid> To do sth like "item.hasSubPages"
  • 09:00:02 <bjo3rn> item is a full page record
  • 09:00:06 <denis-fluid> I need to know that there is something like "hasSubPages" :D
  • 09:00:16 <bjo3rn> you can do {item -> f:debug()}
  • 09:00:18 <denis-fluid> Ok I see.
  • 09:00:31 <denis-fluid> (bear with me I am really new to T3 :D)
  • 09:00:36 <bjo3rn> no worries
  • 09:07:30 <denis-fluid> Oh that was easy. Just adding "{item.class}" to my manual rendering. No need of any conditions in manual rendering atm. :-D
  • 09:07:40 <denis-fluid> Thank you bjo3rn!
  • 09:07:58 <bjo3rn> yw :)
  • 09:33:35 <denis-fluid> bjo3rn: I got one more question. Is it normal that the column field in a content item which is nested in a multi column content element (both fluid content elements) shows a "INVALID VALUE 181818?
  • 09:34:43 <bjo3rn> yes, that's normal. it's only a cosmetic issue though and will be fixed in the next release.
  • 09:39:05 <denis-fluid> bjo3rn: Ok fine. It just looks weird to the none technical users here. :-)
  • 09:39:27 <bjo3rn> it sure does
  • 09:40:29 <denis-fluid> From a user/editor point of view the referencing of global elements is a bit more of a problem. Using only Fluid Content Elements which are not listed in the referencing selection due to the empty header field.
  • 09:41:17 <denis-fluid> (technically it works but from a usability point of view it is difficult to find the right element with each element being rendered as "not title".
  • 09:47:38 <crewcut> Hi bjo3rn, if you got time - i made a onepage setup much like your idea on your blog post, and i am trying to insert a class value from a page setting like this: <section id="{mainPage.linktext}" class="{settings.theme}">. My page flux field select looks like this: <flux:field.select label="Background Settings"
  • 09:47:38 <crewcut> name="settings.theme"
  • 09:47:39 <crewcut> items="dark,light,transparent"
  • 09:47:39 <crewcut> inherit="0"/>
  • 09:48:43 <bjo3rn> crewcut so you need to access the flexform data from the parent/containing page, right?
  • 09:49:03 <crewcut> But the output is only class="light" - it does not change
  • 09:49:33 <crewcut> I need to access the flexform data on the subpages
  • 09:50:30 <bjo3rn> ok, you can do that with <flux:form.data />
  • 09:50:52 <bjo3rn> I have this in my page:
  • 09:50:53 <bjo3rn> {section -> flux:form.data(table: 'pages', field: 'tx_fed_page_flexform') -> v:variable.set(name: 'sectionFormData')}
  • 09:51:34 <bjo3rn> where section is a page record fetched with the menu vh
  • 09:52:10 <crewcut> ok, will try that
  • 09:52:46 <bjo3rn> {record -> flux:form.data(table: 'pages', field: 'tx_fed_page_flexform')} will return the flexform data from record as an array
  • 09:53:35 <crewcut> I just discovered your blog from the post with denis-fluid and found your onepage layout, which is very similar to my own, so was a bit proud of my self (being new in fluidtypo3)
  • 09:54:21 <bjo3rn> hehe, good to know. I could say the same then :)
  • 09:54:39 <crewcut> :-)
  • 09:54:48 <denis-fluid> So worksonmymachine.org is bjo3rn's blog? Good to know. :-)
  • 09:55:02 <bjo3rn> yes, that's mine ^^
  • 09:59:36 <denis-fluid> Are the fluidcontent and fluidpages compatible with workspaces?
  • 10:01:15 <bjo3rn> denis-fluid there's basic support, yes
  • 10:01:29 <denis-fluid> bjo3rn: basic means? :-D
  • 10:01:39 <bjo3rn> sec, I'll get the link ^^
  • 10:03:08 <bjo3rn> dangit. there's an issue on the project's site atm :S
  • 10:06:37 <drlimbo> good morning
  • 10:06:56 <drlimbo> is there a way to limit "Elements" to Colums?
  • 10:07:47 <drlimbo> i'd like to only "allow" the Element X in column colPos="1"
  • 10:07:54 <denis-fluid> And is there a way to add only specific elements to a column?
  • 10:07:59 <drlimbo> and Element Y, Text, Images only in column colPos="0"
  • 10:36:11 <denis-fluid> bjo3rn: Is it possible to change the column width of page layout columns. (I know how it works for the content element columns)
  • 10:40:22 <bjo3rn> denis-fluid <flux:grid.column style="width: 33%" ... />
  • 10:40:38 <bjo3rn> same as in content element grids
  • 10:58:32 <denis-fluid> bjo3rn: I have tried that but it is always 50%/50% when I have 2 cols.
  • 10:58:50 <bjo3rn> did you select the fluidpages backend layout?
  • 10:59:52 <denis-fluid> I did. I can see my page layout but with 50%/50%
  • 11:00:14 <bjo3rn> can you pastebin/gist your template please?
  • 11:00:57 <denis-fluid> https://gist.github.com/DenisMir/8b154bc23179808eb5ae
  • 11:01:52 <bjo3rn> wild guess: make the sum 99% like 24/75 or 25/74
  • 11:02:24 <denis-fluid> It is the same result.
  • 11:02:48 <bjo3rn> .oO
  • 11:03:18 <denis-fluid> When defining the column styles in content elements it works as expected.
  • 11:03:38 <denis-fluid> Just the page layout column styles don't work. :-)
  • 11:04:07 <mrboe> colspan
  • 11:04:15 <mrboe> @denis-fluid
  • 11:04:47 <bjo3rn> not necessarily. I have a working setup with style only
  • 11:04:55 <denis-fluid> Hmpf :-D
  • 11:05:03 <denis-fluid> Ok I will try colspan right now
  • 11:07:56 <denis-fluid> mrboe: But colspan of which number of columns?
  • 11:08:40 <denis-fluid> I got two columns in one row. :-)
  • 11:09:28 <bjo3rn> colspan="1" and colspan="3" fx
  • 11:10:42 <mneuhaus> hey guys
  • 11:10:54 <mneuhaus> did you know your site has some problems?
  • 11:10:54 <mneuhaus> https://fluidtypo3.org/community.html
  • 11:11:03 <mneuhaus> throws:
  • 11:11:03 <mneuhaus> Fatal error: require_once(): Failed opening required '/var/www/master.fluidtypo3.org/typo3conf/ext/fluidcontent_core/Classes/Provider/ContentProvider.php' (include_path='/var/www/master.fluidtypo3.org/typo3/contrib/pear/:.:/usr/share/php:/usr/share/pear') in /var/www/master.fluidtypo3.org/TYPO3.CMS/typo3/sysext/core/Classes/Core/ClassLoader.php on line 182
  • 11:12:02 <denis-fluid> Ok fine perhaps I'm to stupid but when adding colspan to my columns I'm getting no columns at all in the backend :P
  • 11:21:28 <bjo3rn> mneuhaus yes, defunct. those with the right powers are pinged ^^
  • 11:21:48 <bjo3rn> denis-fluid your gist is still valid?
  • 11:22:17 <denis-fluid> the gist is valid except that I added the colspan of 1 and 3 to the columns
  • 11:22:39 <denis-fluid> When I do that no columns are rendered in the backend
  • 11:22:48 <denis-fluid> when dropping the colspan it is back to normal
  • 11:25:24 <mneuhaus> is there a way to tell the "<flux:field.text enableRichText="TRUE">" viewHelper to use the configuration selected in the rtehtmlarea extensions settings?
  • 11:25:46 <mneuhaus> i mean without doing it manually everywhere through defaultExtras
  • 11:28:16 <bjo3rn> mrboe is right. colspan is the way. my template was a little different. so, why no rendering at all? cleared all available caches denis-fluid?
  • 11:30:15 <denis-fluid> I did clear all caches and my template looks like this: https://gist.github.com/DenisMir/8b154bc23179808eb5ae
  • 11:30:33 <bjo3rn> ah. hehe
  • 11:30:38 <bjo3rn> colspan
  • 11:30:42 <bjo3rn> lower case 's'
  • 11:30:49 <denis-fluid> arghs
  • 11:31:12 <bjo3rn> ^^
  • 11:31:21 <denis-fluid> bjo3rn: perfect. :-)
  • 11:31:27 <denis-fluid> Now the sidebar looks like a sidebar ;)
  • 11:31:33 <bjo3rn> cool. thx to mrboe as well.
  • 11:32:03 <mrboe> yw
  • 11:37:35 <denis-fluid> mrboe: +1 :-)
  • 11:38:14 <mrboe> @denis-fluid have you seen fluidboostraptheme
  • 11:38:47 <denis-fluid> I got one more question. Is it a bug that you can't drag and drop content elements inside another content element with "<flux:form.content name="content" />". I can drag and drop it when there is at least one element inside the wrapper.
  • 11:38:59 <denis-fluid> mrboe: Yeah I have it opened. It helped me a lot.
  • 11:39:30 <mrboe> i also have that drag an drop issue when i have a tow col container
  • 11:39:40 <mrboe> i can drop in the "right" side
  • 11:39:45 <mrboe> but not in the left
  • 11:40:05 <mrboe> after the right has some content i can drop content in the left
  • 11:41:17 <Xatenev> heya
  • 11:41:21 <Xatenev> peeps
  • 11:41:26 <Xatenev> Anybody here to help? :P
  • 11:41:39 <mrboe> perhabs
  • 11:41:50 <Xatenev> Ive got some orders
  • 11:41:56 <Xatenev> and i wanna list them
  • 11:42:03 <Xatenev> ok again
  • 11:42:05 <Xatenev> i got a shop
  • 11:42:08 <Xatenev> in that shop, u can book events
  • 11:42:17 <Xatenev> now i wanna list all orders to the specifical events
  • 11:42:21 <Xatenev> <f:groupedFor each="{orders}" as="order" groupBy="eventid" groupKey="eventid">
  • 11:42:51 <Xatenev> How can i count how much orders the specifical event has?
  • 11:43:07 <mrboe> iterartion="mycount"
  • 11:43:18 <Xatenev> and then?
  • 11:43:38 <Xatenev> *trying*
  • 11:43:46 <Xatenev> argument iteration was not registeed
  • 11:44:04 <mrboe> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ThumbnailBox.html
  • 11:44:22 <Xatenev> thats a normal for each
  • 11:44:24 <Xatenev> but i got a groupedfor
  • 11:44:30 <Xatenev> obv iteration doesnt work for grouped for
  • 11:44:39 <mrboe> oh, never used that
  • 11:44:54 <mrboe> what is f:groupedFor
  • 11:45:01 <Xatenev> For example
  • 11:45:02 <Xatenev> u have 10 orders
  • 11:45:07 <Xatenev> 8 of them have eventid 1
  • 11:45:11 <Xatenev> 2 of them have event id 2
  • 11:45:23 <Xatenev> now u group it by event id so it only displays event id 1 and event id 2 once
  • 11:45:26 <Xatenev> and not 8x eventid 1
  • 11:45:34 <Xatenev> quite useful
  • 11:46:10 <Xatenev> but now its quite tricky to count that
  • 11:46:10 <Xatenev> xd
  • 11:47:32 <mrboe> @NamelessCoder https://fluidtypo3.org/ Fatal error: require_once(): Failed opening required '/var/www/master.fluidtypo3.org/typo3conf/ext/fluidcontent_core/Classes/Provider/ContentProvider.php' (include_path='/var/www/master.fluidtypo3.org/typo3/contrib/pear/:.:/usr/share/php:/usr/share/pear') in /var/www/master.fluidtypo3.org/TYPO3.CMS/typo3/sysext/core/Classes/Core/ClassLoader.php on line 182
  • 11:48:17 <mrboe> can‘t you make a f:for inside the group
  • 11:48:32 <mrboe> for each grupid 1 iteration iter
  • 11:48:48 <denis-fluid> bjo3rn: Is it possible to limit the content of a column to a specific amount of items?
  • 11:49:27 <Xatenev> dunno what u mean mrboe
  • 11:49:34 <Xatenev> I dont think that will give me the result
  • 11:49:35 <Xatenev> ^^
  • 11:52:02 <cedricziel> denis-fluid: use the limit argument
  • 11:53:16 <denis-fluid> cedricziel: Thank you. I'm sorry that I missed it. I've got one more. How do I check if there are items in the column? (to render parts of the template only if there is some content available)
  • 11:53:38 <cedricziel> use v:content.get and then count
  • 11:54:15 <Xatenev> is it possible to generate something like a WHERE condition in a f:for each
  • 11:54:16 <Xatenev> ?
  • 11:54:41 <denis-fluid> cedricziel: Thank you. Regarding the limit argument. I couldn't find it here: https://fluidtypo3.org/viewhelpers/flux/master/Grid/ColumnViewHelper.html
  • 11:54:55 <cedricziel> ah.
  • 11:55:10 <cedricziel> no you cant limit the amount of items that can be placed in there
  • 11:55:22 <cedricziel> i thought it was about reading
  • 11:55:28 <denis-fluid> Ok. That's what I meant. :D
  • 11:59:52 <Xatenev> Can i write something like conut = count + 1
  • 11:59:55 <Xatenev> in fluid?
  • 12:00:38 <Xatenev> if yes how
  • 12:02:09 <mrboe> {v:math.sum(a: iteration.index, fail: 1, b: 1)}
  • 12:07:00 <denis-fluid> mrboe: Is there something like a multiselect field in flux?
  • 12:07:39 <mrboe> what you want to select?
  • 12:08:01 <randomresult> he means instead of a dropdown i guess
  • 12:08:24 <randomresult> ping @NamelessCoder FatalError on fluidtypo3.org
  • 12:51:11 <denis-fluid> mrboe: I'm sorry I had lunch. :-) I just want to select more than one modification css class
  • 12:52:41 <mrboe> @denis-fluid https://fluidtypo3.org/viewhelpers/flux/master/Field/SelectViewHelper.html
  • 12:52:47 <mrboe> itemListStyle
  • 12:52:54 <mrboe> maxItems
  • 12:52:56 <denis-fluid> ahhh grml :/
  • 12:53:07 <mrboe> multiple
  • 12:57:08 <mneuhaus> hey, has anyone an idea why my fluidcontent elements aren't showing up in the new content element wizard?
  • 12:57:22 <mneuhaus> latest typo3 6.2.5 + fluidtypo3 extensions from ter
  • 12:57:33 <mrboe> @mneuhaus have you cleard cache and
  • 12:57:47 <mrboe> and temp files
  • 12:58:24 <mrboe> in temp there is a .FED... file which is not removed by rm -r
  • 12:58:32 <mneuhaus> i think i tried, will try again
  • 12:58:55 <mrboe> clear cache in install tool
  • 13:01:56 <mneuhaus> hmm, cleared cache in install tool, cleared frontend + general + system cache and i even renamed typo3temp to typo3temp_ to completely "remove" it
  • 13:01:59 <mneuhaus> still not working
  • 13:02:21 <mneuhaus> could it be, that the "uncache" ext from clause prevents the wizard to work?
  • 13:02:28 <mneuhaus> will uninstall to try that
  • 13:03:03 <mrboe> never used that
  • 13:03:26 <mneuhaus> still no fluidcontent elements in the wizard
  • 13:03:49 <mneuhaus> i'll dial the error level of flux up
  • 13:04:18 <mrboe> have you had them bevore
  • 13:04:27 <mrboe> or did you just started
  • 13:04:34 <mneuhaus> just started
  • 13:04:58 <mrboe> have you used "builder" to create your ext
  • 13:05:38 <mneuhaus> i have a "template" ext that i use as a base extension
  • 13:06:04 <mrboe> i would youse builder to create a new ext
  • 13:06:22 <mneuhaus> it's a ext that contains the template itself
  • 13:06:22 <mrboe> and then you should see a pagetemplate and a content elment
  • 13:06:34 <mneuhaus> i can see the pagetemplate + content element
  • 13:06:46 <mneuhaus> but the content elements don't show up in the wizard
  • 13:07:05 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/e4-ndy4rt2~3.png
  • 13:07:07 <mneuhaus> here they are
  • 13:07:23 <mneuhaus> here not
  • 13:07:24 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/vw3-njji9j3r.png
  • 13:07:47 <mrboe> paste your template please
  • 13:08:02 <mneuhaus> one of them?
  • 13:08:07 <mrboe> yes
  • 13:08:16 <mneuhaus> https://gist.github.com/mneuhaus/ea6e9f302bda00fb53a3
  • 13:09:06 <mneuhaus> https://gist.github.com/mneuhaus/1579c1a2ba2d7973b5c7
  • 13:09:11 <mneuhaus> here are 2
  • 13:09:17 <mrboe> have a look here
  • 13:09:17 <mrboe> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/TwoColumn.html
  • 13:09:20 <mneuhaus> weird
  • 13:09:25 <mrboe> <flux:form id="grid2" options="{useTypoScript: 0, group: 'Grid', Fluidcontent: {sorting: 50}, icon: '{f:uri.resource(path: \'Icons/bootstrap/glyphicons_155_show_big_thumbnails.png\')}'}">
  • 13:09:49 <mneuhaus> i just opened the new content wizard in a new window, not an iframe and did a "hard refresh" cmd+shift+r
  • 13:09:53 <mneuhaus> then they apeared
  • 13:10:08 <mneuhaus> seems, like the browser cache played me for a fool :(
  • 13:10:27 <mneuhaus> sorry
  • 13:11:02 <mneuhaus> it works now :)
  • 13:11:12 <Akii> it's always the cache eh?
  • 13:11:23 <mneuhaus> yea, shitty titty caching ^^
  • 13:11:32 <mneuhaus> didn't think about the browser cache fooling me there
  • 13:11:50 <Akii> always the cache you suspect the least
  • 13:12:01 <mneuhaus> thanks for the help :)
  • 13:12:35 <mrboe> but @mneuhaus by the way - have a look at fluidboostraptheme
  • 13:12:49 <mrboe> there are boostrap grids in tehre
  • 13:13:06 <mneuhaus> yea, i know, but i want it more simple and foolproof for my customer
  • 13:13:22 <mneuhaus> i'm using fluidboostraptheme as a source of some snippets and stuff
  • 13:13:42 <mneuhaus> too much stuff the customer could screw up in there
  • 13:14:30 <mrboe> ok
  • 13:14:58 <randomresult> anyone here knows if there is a way to run the migration wizzard (update from 4.7 to 6.2) from shell?
  • 13:15:19 <randomresult> seem that its not possible for me to run the wizzard in the installtool as the DB seems to be to big
  • 13:46:01 <denis-fluid> mrboe: Has the "itemListStyle" to be set to something in the select field? At the moment I got the following: https://gist.github.com/DenisMir/744480b20fe9fbc97d77
  • 13:46:29 <denis-fluid> When I'm trying that one I get two single select fields besides each other but multiple selection is not possible.
  • 13:50:18 <denis-fluid> mrboe: It looks like this one -> http://imgur.com/EF14dGq
  • 13:54:35 <rosieres> As soon as a fluidpages pageLayout is selected in page configuration all newContent Wizards disappear except of Standard:Text -> Is this autogenerated or where does this come from?
  • 14:10:43 <rosieres> answer my own question -> flux:form.variable name="allowedContentTypes"
  • 14:43:47 <Luck> hello, is there a viewhelper for render a fal (pdf file) as link to open or download
  • 14:48:47 <drlimbo> Luck: just use the link viewhelper
  • 14:48:48 <danilobuerger> Luck yes several depending on your needs in v:resource
  • 14:48:56 <drlimbo> or the image-viewhelper to generate preview-images from pdf
  • 14:50:44 <Lirrec> hi, could someone tell me how to manually clear/reset the configuration from fluidpages in page settings -> "Page Configuration" ?
  • 14:51:10 <Lirrec> the Clear value checkboxes only work for the "subpages" part
  • 14:52:06 <Luck> yes i can render the pdf (image-preview) with <v:media.image treatIdAsReference="1" src="{item.logo}" alt="{item.alt}"/>
  • 14:52:12 <Luck> but i cant get the link to pdf
  • 14:52:16 <Lirrec> so i'm searching for a way to delete the values manually, maybe from the database ( i don't know where they are stored exactly )
  • 14:52:30 <danilobuerger> Lirrec sledgehammer method: access database "pages" table, clear field "tx_fed_page_flexform" of the appropriate record
  • 14:52:47 <mneuhaus> is there a way to include the value of a field in the "form.object" header?
  • 14:52:48 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/mafogwy31m9q.png
  • 14:53:01 <Luck> v:ressource need field and table
  • 14:53:21 <danilobuerger> Luck https://fluidtypo3.org/viewhelpers/vhs/master/Resource/FileViewHelper.html
  • 14:53:36 <mneuhaus> if you collapse one it shows some stuff, but i would like to customize that + that doesn't show on opening an existing fluidcontent element
  • 14:53:36 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/-~6z3o1cwh63.png
  • 14:54:06 <danilobuerger> mneuhaus good question, if you find out let me know please
  • 14:54:27 <drlimbo> on my page, i have to Columns 1/0 -> <flux:grid.column colPos="1" name="Header Content" /> /// <flux:grid.column colPos="0" name="Main Content" />
  • 14:54:57 <drlimbo> as admin, i can add an element to col1 and it will be stored there, as a backend-user i can add an element to col1, but it will be stored at col 0
  • 14:55:05 <drlimbo> its possible to move to col 1 as a user after
  • 14:55:19 <drlimbo> are there any rights missing?
  • 14:56:16 <mneuhaus> danilobuerger: seems to be a hardcoded concatination of inputs in the form :(
  • 14:56:16 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/8rzpr0t3at-l.png
  • 14:56:31 * mneuhaus sad panda
  • 14:56:42 <danilobuerger> drlimbo colPos is a exclude field, did you set it to allowed for your BE user?
  • 14:57:12 <drlimbo> danilobuerger:thanks, this was the problem
  • 14:57:15 <danilobuerger> mneuhaus is that from the core or which file is that?
  • 14:57:23 <drlimbo> but crazy that a move after was possible without the rights
  • 14:57:43 <danilobuerger> drlimbo those can be cached and not actually executed on the DB
  • 14:58:06 <drlimbo> crazy, but now i fixed it
  • 14:58:22 <drlimbo> danilobuerger: is there a way to enable only specific Elements in a Col?
  • 14:58:46 <drlimbo> ex. col 1 should only contain Element X -- col 0 can contain element y, text, text with image etc.
  • 14:59:36 <mneuhaus> typo3/sysext/backend/Classes/Form/FormEngine.php:6079
  • 14:59:43 <mneuhaus> ^danilobuerger
  • 14:59:51 <danilobuerger> mneuhaus ah too bad :-(
  • 14:59:59 <mneuhaus> yep :)
  • 15:00:00 <mneuhaus> :(
  • 15:00:26 <mneuhaus> thinking about jamming/injecting some js into the backend to bend it to my will
  • 15:00:34 <Akii> :D
  • 15:00:34 <mneuhaus> but that doesn't sound pretty
  • 15:00:40 <Akii> sounds brutal
  • 15:00:58 <mneuhaus> that's what it was supposed to sound like ;)
  • 15:01:07 <danilobuerger> mneuhaus yeah that aint pretty
  • 15:01:50 <mneuhaus> i think i better ignore that for now :)
  • 15:02:16 <drlimbo> is there a way to enable only specific Elements in a Col? --> ex. col 1 should only contain Element X -- col 0 can contain element y, text, text with image etc.
  • 15:02:32 <danilobuerger> drlimbo i thought claus did something like that a while ago, but cant remember
  • 15:03:40 <drlimbo> oh, is there a way to find this?
  • 15:03:52 <danilobuerger> ask NamelessCoder
  • 15:04:41 <drlimbo> NamelessCoder idles for 01:23h, but i'll ask im later, thanks danilobuerger
  • 15:07:52 <drlimbo> is there a way to create some fx-effects on images with a viewhelper? like "make 10% darker" or something?
  • 15:08:58 <rosieres> drlimbo -> flux:form.variable name="allowedContentTypes"
  • 15:10:16 <Luck> i still cant render a fal file with his uid
  • 15:10:25 <drlimbo> mh rosieres, i have a flux.form containing two flux.column - is there a way to set this for the column?
  • 15:10:28 <Luck> v:ressource give me array
  • 15:11:02 <rosieres> drlimbo -> just put each into the column
  • 15:11:19 <drlimbo> ah, thats great
  • 15:11:25 <drlimbo> <flux:grid.column colPos="1" variables="{allowedContentTypes: 'text,textpic'}" />
  • 15:11:33 <drlimbo> where i can find all contentTypes?
  • 15:11:51 <rosieres> <flux:grid.column colPos="0" name="FOO">
  • 15:11:54 <rosieres> <flux:form.variable name="allowedContentTypes" value="header,text,shortcut,div,html" />
  • 15:11:56 <rosieres> </flux:grid.column>
  • 15:13:10 <drlimbo> thx rosieres
  • 15:13:23 <drlimbo> is there also a disallowedContentTypes?
  • 15:13:38 <rosieres> drlimbo look into the documentation
  • 15:14:36 <drlimbo> theres nothing like this there rosieres
  • 15:16:28 <rosieres> drlimbo: https://github.com/FluidTYPO3/fluidcontent/commit/5d63b574fa84564896c4dd3b198523508d21f9d4
  • 15:16:55 <denis-fluid> Does someone know how to set a readable label for each selectable item in a flux select field?
  • 15:17:11 <drlimbo> ah, deniedContentTypes is the trick =P
  • 15:17:18 <drlimbo> thx rosieres
  • 15:17:20 <mneuhaus> are you using a simple csv currently ?
  • 15:17:24 <mneuhaus> @denis-fluid
  • 15:17:28 <mneuhaus> foo,bar,baz
  • 15:17:35 <denis-fluid> mneuhaus: At the moment it looks like that yeah.
  • 15:18:02 <denis-fluid> mneuhaus: items="none,block--padded-t-b"
  • 15:18:05 <mneuhaus> you can use items="{foo: 'Foo :)', bar: 'Bar :P'}"
  • 15:18:10 <denis-fluid> ahhhh
  • 15:18:15 <denis-fluid> perfect :-)
  • 15:18:19 <denis-fluid> that simple :-)
  • 15:18:38 <mneuhaus> only downside is, that you're "a bit" limited with you characters for the keys
  • 15:18:47 <denis-fluid> mneuhaus: Can I translate them?
  • 15:18:59 <denis-fluid> Or do I have to fix the used labels there
  • 15:19:15 <mneuhaus> hmm, not sure
  • 15:19:35 <mneuhaus> items supports: array / CSV / Traversable / Query supported
  • 15:20:12 <denis-fluid> I have looked at the bootstrap example but they use the css classes directly. (which customers won't accept since they don't know anything about css :-) )
  • 15:20:21 <drlimbo> rosieres: I have a flux:flexform id="Header-Slider" i'd like to allow with variables="{allowedContentTypes: 'Header-Slider'}" - but this seems to be the wrong ID =)
  • 15:20:32 <mneuhaus> do you need translated select options in the backend?
  • 15:21:10 <denis-fluid> mneuhaus: Well pretty sure we will need them at a specific point of time. (having users from multiple countries access the be)
  • 15:21:22 <rosieres> drlimbo: you must study the code of headerSlider extension, to determine how the Content is built
  • 15:22:08 <rosieres> drlimbo: i'd bet it's 'plugin'
  • 15:22:18 <drlimbo> rosieres: the Header Slider is an Element i created
  • 15:22:35 <rosieres> drlimbo: then you should know
  • 15:22:38 <drlimbo> its a flux:flexform you can add like a content element (text, images ..)
  • 15:22:59 <rosieres> how did you create? fluidcontent?
  • 15:24:32 <drlimbo> yes fluidcontent
  • 15:24:59 <rosieres> danilobuerger any idea what a fluidcontent get's for a ContentType identifier?
  • 15:25:31 <rosieres> drlimbo: did you try the area name?
  • 15:26:17 <rosieres> drlimbo: perhaps "as" does the trick -> https://fluidtypo3.org/viewhelpers/flux/master/Content/GetViewHelper.html
  • 15:26:21 <drlimbo> how can i get the area name?
  • 15:26:49 <rosieres> you set it
  • 15:27:40 <drlimbo> nope, i dont think so
  • 15:27:56 <drlimbo> <flux:flexform wizardTab="Frontpage" id="Header-Slider" label="Frontpage Header-Slider" description="Creates an Image-Slider">
  • 15:28:23 <drlimbo> oh, is there no documentation for flexform? or is flux:form the new flexform?
  • 15:28:35 <rosieres> flexform?
  • 15:29:16 <rosieres> is replaced - isn't it?
  • 15:30:01 <drlimbo> ah, flux:form.container is in the flux:flexform
  • 15:30:53 <rosieres> drlibmbo: could you try to remove the '-' from the id and go with camelCase for example?
  • 15:31:16 <drlimbo> ah, ill try
  • 15:32:27 <rosieres> drlimbo: btw: form.container has no ID
  • 15:33:03 <rosieres> drlimbo: you are good advised to use an IDE wich supports xsd -> then you have fluid cod completition
  • 15:33:24 <drlimbo> im using netbeans, maybe theres a plugin
  • 15:37:13 <rosieres> drlimbo: http://forums.netbeans.org/topic46675.html
  • 15:38:51 <drlimbo> thx rosieres, ill check the netbeans-support
  • 15:39:16 <drlimbo> allright, but ID without - also doesn't work =(
  • 15:39:37 <drlimbo> i also tried "ogbase:HeaderSlideshow.html" -> extension-name:Filename.html
  • 15:40:21 <rosieres> drlimbo: then ask the question via github, so you can keep tracking it and the NamelessCoder takes care
  • 15:40:42 <drlimbo> allright, ill try rosieres -> thanks
  • 15:44:03 <drlimbo> what was your aproach with area rosieres?
  • 15:47:04 <drlimbo> mh, why is my DB-Field "tx_flux_column" empty?
  • 15:47:18 <drlimbo> i think there must be stored, in what column the element is?
  • 15:50:03 <drlimbo> ah rosieres, variables="{allowedContentTypes:'fluidcontent_content'}" <- only show my FluidContent FCE's - but i cant find a way to differ them
  • 15:50:05 <danilobuerger> rosieres ctype?
  • 15:50:27 <drlimbo> yup danilobuerger - fluidcontent_content is the ctype
  • 15:50:37 <danilobuerger> yeah i know ;-)
  • 15:50:56 <drlimbo> but i need to specify the FCE like "tx_fed_fcefile" or something
  • 15:51:11 <drlimbo> maybe u know a way?
  • 15:51:31 <danilobuerger> the template file name is stored in tx_fed_fcefile
  • 15:51:57 <drlimbo> yup, but allowedContentTypes:'fce_file.html' doesnt work
  • 15:52:12 <danilobuerger> no idea about that
  • 15:52:12 <drlimbo> so i need something like allowedContentTypes:'fluidcontent_content->fce_file.html'
  • 15:54:54 <danilobuerger> drlimbo try specifying the tx_fed_fcefile properly -> "yourextname:yourfcefilename.html"
  • 15:56:45 <drlimbo> i already tried danilobuerger
  • 15:58:07 <drlimbo> danilobuerger: variables="{ogbase:HeaderSlideshow.html'}" -> will not display the column in the backend
  • 15:58:25 <danilobuerger> because thats wrong
  • 15:58:31 <drlimbo> maybe something like fluidcontent_content:ogbase:HeaderSlideshow.html
  • 15:58:48 <danilobuerger> variables="{allowedContentTypes:'ogbase:HeaderSlideshow.html'}"
  • 16:00:01 <drlimbo> oh, im sorry, but also this doesnt work =(
  • 16:00:54 <drlimbo> and variables="{allowedContentTypes:'fluidcontent_content,ogbase:HeaderSlideshow.html'}" will show all Elements
  • 16:02:37 <danilobuerger> can you gist your template please
  • 16:02:54 <drlimbo> gist? is nopaste?
  • 16:03:00 <danilobuerger> fx
  • 16:03:09 <drlimbo> fx?
  • 16:03:15 <danilobuerger> for example
  • 16:03:29 <denis-fluid> Is it normal that wrapper content elements don't get rendered when putting fluidcontent core elements are used inside them. I have tried the fluidcontent_core from FER but only none wrapped content elements get rendered.
  • 16:04:04 <drlimbo> danilobuerger: here are both templates -> http://nopaste.info/f8e1e25ced.html
  • 16:06:21 <drlimbo> danilobuerger: first is the "ogbase:HeaderSlideshow.html", second is the "SubPage.html"
  • 16:07:24 <drlimbo> danilobuerger: I found this on Github: variables="{Fluidcontent: {allowedContentTypes: 'fluidcontent_bootstrap:Alert.html'}}
  • 16:10:14 <rosieres> When the solution arrives -> IMHO:this is a case for the library -> https://fluidtypo3.org/library/code-examples.html
  • 16:10:52 <drlimbo> but its not working =( danilobuerger
  • 16:11:24 <drlimbo> variables="{Fluidcontent: {allowedContentTypes: 'ogbase:ogbase:HeaderSlideshow.html'}}" neither then variables="{fluidcontent_content: {allowedContentTypes: 'ogbase:ogbase:HeaderSlideshow.html'}}"
  • 16:11:39 <drlimbo> first shows NO FCE's - second shows all FCE's =(
  • 16:13:12 <drlimbo> hell, do i really wrote ogbase:ogbase
  • 16:25:50 <rosieres> drlimbo: does it work ?
  • 16:26:12 <drlimbo> rosieres: I found a way yes -> variables="{Fluidcontent: {allowedContentTypes: 'ogbase:HeaderSlideshow.html'}, deniedContentTypes: 'text'}"
  • 16:26:38 <drlimbo> shows FCE HeaderSlideshow and all elements but hide "text" element
  • 16:26:55 <rosieres> drlimbo: you are very welcome to file this here -> https://fluidtypo3.org/library/code-examples.html
  • 16:27:22 <drlimbo> i will rosieres
  • 16:27:25 <rosieres> thx
  • 16:27:42 <drlimbo> what tags should I add rosieres?
  • 16:28:36 <rosieres> It´s content. So content makes sense
  • 16:29:14 <drlimbo> i'll try to add, maybe someone needs to correct it later
  • 16:46:43 <randomresult> hey
  • 16:47:04 <randomresult> struggeling with a manually rendered menu. seems i have learned nothing the last 1.5 years.
  • 16:47:48 <randomresult> how do i get the state active as a class into the li ?
  • 16:51:08 <randomresult> can someone tell me pls whats wrong with this?
  • 16:51:08 <randomresult> http://pastebin.com/qwVRyqnE
  • 16:51:17 <randomresult> @bjo3rn maybe?
  • 16:53:32 <glucka> randomresult: no class attr?
  • 16:53:43 <randomresult> hehe
  • 16:53:45 <randomresult> no.
  • 16:53:47 <glucka> class="{active/inactive}"
  • 16:54:01 <randomresult> <li inactive="" else="" active="" then:="" submenuactive="" f:ifcondition:="">
  • 16:54:07 <randomresult> this is the output
  • 16:54:21 <randomresult> so, yeah class is missing and no, thats not my prob i guess.
  • 16:55:07 <glucka> this works: http://pastebin.com/i8whXVnX
  • 16:58:36 <randomresult> man... thx.
  • 16:58:39 <randomresult> a lot
  • 16:58:51 <glucka> ;)
  • 17:01:51 <glucka> randomresult: the new v:tag could be better/cleaner
  • 17:07:56 <randomresult> i have another problem:
  • 17:08:11 <randomresult> someone inserts an fce with an image in fileadmin
  • 17:08:13 <randomresult> all good
  • 17:08:42 <randomresult> so now someone deletes the image in fileadmin... then i get an error in the frontend. how can i supress this error ?
  • 17:09:47 <glucka> god question...I'm also interested
  • 17:11:55 <randomresult> if path exists..
  • 17:12:33 <randomresult> <v:media.exists
  • 18:49:46 <Luck> hi all
  • 18:50:08 <Luck> is there a condition in v:page:menu for 'if has no subpages class'?
  • 18:50:40 <Luck> because the attribut 'class' is setted for the <ul> and not the <li>
  • 18:50:57 <Luck> <v:page.menu pageUid="{categorie}" levels="3" classHasSubpages="withsub" class="nosub">
  • 18:51:26 <Luck> give me <ul class="nosub"> <li></li> </ul>
  • 18:51:40 <Luck> i need <ul> <li class="nosub"></li> </ul>
  • 18:54:59 <Luck> someone here?