IRC logs

20140617

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

IRC log range: 20140617*

20140617

  • 08:53:04 <Harpagophyt> Problem with language menu: https://gist.github.com/Harpagophyt/7185da23c9799ae9ca04
  • 09:46:41 <xaver> good morning :)
  • 09:47:28 <xaver> Harpagophyt: and what is your problem
  • 09:47:50 <Harpagophyt> hello, it stands in the gist
  • 09:48:05 <Harpagophyt> link rendering is wrong with english
  • 09:48:36 <xaver> mmh worked always fine on my project
  • 09:49:21 <xaver> bjo3rn: is the menu specialist :P
  • 09:49:40 <xaver> Harpagophyt: what vhs version is this?
  • 09:51:13 <Harpagophyt> xaver: it is 1.9.1
  • 09:52:30 <Harpagophyt> but thx for the info of bjo3rn :-)
  • 09:52:55 <Harpagophyt> eventually i test it with typoscript
  • 10:27:17 <Harpagophyt> how can i check if a column has a content?
  • 10:27:35 <Harpagophyt> how can i render a content element in the template?
  • 10:33:39 <Neophir> Hi everybody. I've a problem with my own fluid pages templates. I've added a flux:field.inline.fal to my template, for adding pictures. My subpage template also has this flux.field. If I add some pics to the main page, they also show in the configuration of the subpages. I think this is because the pics are linked by the pageid. Has anybody an idea how to solve this?
  • 10:39:56 <Harpagophyt> <- newbie: you can break the inherit on choosing the site template in the BE
  • 10:41:50 <Harpagophyt> this is also eventually a solution: http://fluidtypo3.org/viewhelpers/vhs/master/If/Page/IsChildPageViewHelper.html
  • 10:45:20 <Neophir> Thanks for your idea, but my problem is in the configuration tab provided by fluidpages.
  • 10:45:45 <Neophir> A condition in my template files wouldn't solve my problem
  • 10:49:31 <Harpagophyt> you know that you can choose the template on the subpage without the option: Parent decides
  • 10:50:16 <Neophir> yes that would be a workaround
  • 10:52:09 <Neophir> but I don't want to use this workaround ;)
  • 10:53:54 <bjo3rn> Harpagophyt I can't reproduce your issue.
  • 10:54:35 <bjo3rn> Neophir try adding inherit="FALSE" to the field
  • 10:55:27 <Harpagophyt> bjo3rn: hmm, any additional idea?
  • 10:55:29 <bjo3rn> in case you need that field on subpages also. if not, you'd have to go for Harpagophyt's proposal
  • 10:56:27 <Neophir> I will try it
  • 10:56:29 <bjo3rn> Harpagophyt maybe your l10n config is incorrect.
  • 10:56:50 <bjo3rn> you could try a ts menu and compare the results
  • 10:57:00 <Harpagophyt> ok
  • 10:57:16 <bjo3rn> it's the simplest to find out I guess
  • 10:57:16 <Harpagophyt> hope i check the way *ggg*
  • 10:59:26 <bjo3rn> Harpagophyt I posted my current config as a comment to your gist
  • 11:04:27 <Harpagophyt> hmmmmmmmmmm very funny
  • 11:04:34 <Harpagophyt> THX bjo3rn
  • 11:04:49 <bjo3rn> got it working?
  • 11:05:11 <Neophir> The solution with inherit="FALSE" didn't solve my problem. Perhaps my explanation wasn't good enough. If you edit a page you cann choose your Page Layout for this page and subpages. So long everythings okay. In the Page Configuration Tab I see my defined flux.field.inline.fal and can add images and save them. Everything okay. But dem Configuration of the subpage (shown in the same tab) adds the pics to its own flux.field.inline.fal defi
  • 11:05:11 <Neophir> nded in another template.
  • 11:05:44 <bjo3rn> Neophir both fields are named identically?
  • 11:07:20 <Harpagophyt> bjo3rn: sys_language_mode is the "trick"
  • 11:08:14 <Neophir> yes both fields are named identically
  • 11:08:31 <bjo3rn> Harpagophyt ok, but you'll not always want 'strict'. what did you set it to (if you set it)?
  • 11:08:47 <Harpagophyt> yes I changed it
  • 11:09:08 <Harpagophyt> i see, there is no default set - hmmmm bug or not ;-)
  • 11:10:32 <Harpagophyt> ah, wrong. there is a default value. It is only a problem if there is no translation
  • 11:10:51 <bjo3rn> Neophir maybe you should file an issue on github for fluidpages. it doesn't sound like the expected behavior.
  • 11:10:53 <Harpagophyt> i use content_fallback and all works as expected :-)
  • 11:11:11 <bjo3rn> ok, good to hear :)
  • 11:11:52 <Harpagophyt> can you guide me in the right direction too from this 2 questions:
  • 11:12:00 <Harpagophyt> how can i check if a column has a content?
  • 11:12:05 <Harpagophyt> how can i render a content element in the template?
  • 11:12:07 <Neophir> okay bjo3rn. thanks
  • 11:12:11 <bjo3rn> yw
  • 11:12:31 <bjo3rn> Harpagophyt v:content.get() -> f:count()
  • 11:13:03 <bjo3rn> and v:content.render()
  • 11:17:23 <Harpagophyt> v:content.render() for rendering eg. the file Private/Templates/Content/Dummy.html ?
  • 11:18:53 <bjo3rn> no, to render any ce of a given column or uid
  • 11:19:51 <Harpagophyt> mhm, i want render this dummy.html
  • 11:20:29 <bjo3rn> is it a content element or a partial?
  • 11:21:14 <Harpagophyt> Content element
  • 11:21:57 <Harpagophyt> but i think i make a partial and call it in the template and the content element?
  • 11:22:05 <bjo3rn> ehm, content elements are automatically rendered on those pages where they are added.
  • 11:22:40 <bjo3rn> if it contains static html only (no fields) then yex
  • 11:22:45 <bjo3rn> *yes
  • 11:23:51 <Harpagophyt> yes it is static html (with language switch). i need it as a default if there is no content written from the content author
  • 11:24:13 <bjo3rn> then it's a partial, yes
  • 11:24:20 <Harpagophyt> thx :-)
  • 11:24:25 <bjo3rn> yw
  • 11:26:33 <erredeco> hi: a question about <flux:field.checkbox />: is it possible to have it checked by default? I tried with default="1" but it does not seem to work...
  • 11:30:02 <bjo3rn> erredeco default="1" works for me.
  • 11:30:41 <bjo3rn> did you save the form already with an uncheckd state?
  • 11:31:41 <erredeco> I'll try again...I'm using flux beta 7.1.0 (If I remember, it's the one from staging branch)
  • 11:32:27 <bjo3rn> I tested it on current TER version.
  • 11:34:58 <erredeco> I confirm it does not work
  • 11:35:31 <bjo3rn> ok, which version of flux?
  • 11:37:43 <nimius|thephpjo> I am here again with another problem :(
  • 11:38:38 <nimius|thephpjo> My installation suddenly throws an "Fatal error: Class 'FluidTYPO3\Flux\Service\RecordService' not found in /Users/thephpjo/NIMIUS/TYPO3/6.2.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4302"
  • 11:38:48 <nimius|thephpjo> and yes, this time i cleared all of my caches
  • 11:40:52 <bjo3rn> nimius|thephpjo you are most probably using the dev branch of flux?
  • 11:41:29 <nimius|thephpjo> ok, nevermind… someone working on this project decided, it would be best to change to the master branch
  • 11:41:47 <nimius|thephpjo> switched to dev again, working fine now
  • 11:41:56 <bjo3rn> good :)
  • 11:42:10 <nimius|thephpjo> damn it, there is a reason, i am on dev ^^
  • 11:42:28 <bjo3rn> hehe
  • 11:45:38 <erredeco> 7.1.0
  • 11:46:07 <bjo3rn> erredeco ter version or cloned from github?
  • 11:46:27 <erredeco> was cloned from github
  • 11:46:37 <bjo3rn> ok, so which branch?
  • 11:49:02 <erredeco> I dl ... I was suggested to install it because of a bug on drag & drop
  • 11:49:04 <erredeco> sorry
  • 11:49:24 <erredeco> I don't remember... I was suggested to install it because of a bug on drag & drop
  • 11:49:36 <erredeco> I think it was a development version
  • 11:50:08 <bjo3rn> you can find out easily: git branch
  • 11:57:02 <bjo3rn> anyway, I just tested it again on the latest dev version of flux and it works as expected.
  • 11:57:37 <bjo3rn> is your checkbox inside a content element or a page template?
  • 12:00:40 <erredeco> it is inside a content element, but maybe I found the error: it seems it works only on new elements
  • 12:00:46 <erredeco> I'll test again
  • 12:00:54 <erredeco> thank you for your support :)
  • 12:01:22 <bjo3rn> that's what I meant with '<@bjo3rn> did you save the form already with an uncheckd state?'
  • 12:01:56 <bjo3rn> default values in saved forms don't make sense ;)
  • 12:02:09 <bjo3rn> and your're welcome :)
  • 12:51:36 <Harpagophyt> thx and bye
  • 13:01:42 <soee> someone tested this latest commit ?
  • 13:01:56 <soee> *index added to db table
  • 13:02:22 <soee> now when trying to do DB compare it results with Database update failed message
  • 13:08:56 <bjo3rn> confirmed. one sec pls
  • 13:10:42 <soee> okey :)
  • 13:59:33 * randomresult says hello again
  • 14:51:47 <bjo3rn> yo randomresult
  • 14:51:57 <randomresult> bjo3rn whats up bro
  • 14:52:00 <randomresult> sorry.
  • 14:52:08 <randomresult> WHATS UP?
  • 14:52:22 <bjo3rn> nothing special. just sayin' hello.
  • 14:52:40 <randomresult> cool - hows life treating you
  • 14:52:43 <bjo3rn> long time no see
  • 14:52:51 <randomresult> yeah man, holiday!
  • 14:53:04 <bjo3rn> well done.
  • 14:53:21 <randomresult> too short
  • 14:53:25 <randomresult> way too short
  • 14:54:31 <randomresult> came back, updated vhs and flux... and want to leave to italy again :)
  • 14:54:47 <Guest|51240> hey guys! I just installed a fresh TYPO3-6.2.3 and fluidcontents - the problem is, the defined flex-fields in my template are not shown up in the backend - i searched the web the last ours, pleas help
  • 14:54:49 <randomresult> good i have mrboe - he told me what to do o_O
  • 14:55:22 <randomresult> Guest|51240 can you paste one of your templates?
  • 14:55:58 <randomresult> Guest|51240 use gist or pastebin (or similar)
  • 14:56:11 <Guest|51240> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 14:56:11 <Guest|51240> <f:layout name="Content" />
  • 14:56:11 <Guest|51240> <div xmlns="http://www.w3.org/1999/xhtml"
  • 14:56:11 <Guest|51240> xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
  • 14:56:11 <Guest|51240> xmlns:v="http://fedext.net/ns/vhs/ViewHelpers"
  • 14:56:12 <Guest|51240> xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
  • 14:56:12 <Guest|51240>
  • 14:56:13 <Guest|51240> <f:section name="Configuration">
  • 14:56:13 <Guest|51240> <flux:form id="sliderContent" label="OTH Slider" icon="Icons/Page.gif">
  • 14:56:14 <Guest|51240> <flux:field.checkbox name="settings.disable" label="Disable content loading" />
  • 14:56:14 <Guest|51240>
  • 14:56:15 <Guest|51240> </flux:form>
  • 14:56:33 <Guest|51240> jsut started out with the example stuff
  • 14:58:27 <randomresult> are u working with a provider extension?
  • 14:58:28 <bjo3rn> Guest|51240 maybe a typo but the section is not closed
  • 14:58:46 <Guest|51240> ext from TER, for now I want to go without fluidpages - but this should work?
  • 14:58:46 <bjo3rn> oh, you didn't paste all of it, forget it
  • 14:59:25 <randomresult> sure you can use fluidcontent only
  • 14:59:34 <randomresult> never did that but it should work
  • 14:59:40 <bjo3rn> it will, yes
  • 14:59:44 <randomresult> but where are ur templates located
  • 15:00:00 <Guest|51240> so the element is shown in the BE as FCE
  • 15:00:30 <Guest|51240> templates are located as in manual and known from extbase/fluid
  • 15:01:24 <randomresult> but where?
  • 15:01:40 <randomresult> ext/yourext/Resources/...
  • 15:02:20 <Guest|51240> ext/myext/Resources/Private/Templates/Content
  • 15:02:25 <randomresult> good
  • 15:02:34 <randomresult> and did you include the TS ?
  • 15:02:42 <Guest|51240> yes in my rootpage
  • 15:02:56 <randomresult> did you clear typo3temp?
  • 15:02:57 <Guest|51240> i created the extension with the "builder"
  • 15:03:15 <randomresult> clear tempfolder
  • 15:03:29 <Guest|51240> I cleared typo3temp/Cache
  • 15:03:41 <randomresult> clear the whole folder
  • 15:04:03 <Guest|51240> ok mom
  • 15:04:23 <randomresult> bjo3rn is there a .FEDContentfile in the TER versions?
  • 15:07:15 <bjo3rn> don't think so
  • 15:09:34 <Guest|51240> ok still the same...
  • 15:10:21 <mrboe> i always try to tell @randomresult what to do - but its not working most of the time
  • 15:10:54 <Guest|51240> In the content-element I have a part called "Plugin Options"
  • 15:11:18 <Guest|51240> there is a "DEF:" and untder it an input-field called Title:
  • 15:11:33 <Guest|51240> seems like flexform-value??
  • 15:11:47 <Guest|51240> but there should appear my checkbox - right?
  • 15:12:04 <randomresult> @mrboe shut up chantal
  • 15:12:37 <randomresult> i dont work with the TER versions
  • 15:14:55 <Guest|51240> mh ok so I have to checkout the version from git...
  • 15:16:17 <Guest|51240> thnx for the quick help
  • 16:30:31 <arrluk> hi, i made some backendlayout with flux and i just want to change the background-color of each column...unfortunately the style attribute does not seem to render correctly, can anybody please help me with that?
  • 19:01:09 <P0RING> /join #typo3
  • 21:26:41 <soee> what was the setting to hash concatenated asset name ?
  • 21:51:09 <soee> got it :F