IRC logs

20141120

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

IRC log range: 20141120*

20141120

  • 07:24:52 <jmverges> good morning mates
  • 09:05:39 <denisdroid> Good morning.
  • 09:06:11 <denisdroid> Is it possible to allow only numbers in a flux input field?
  • 09:20:44 <bjo3rn> denisdroid you could add eval="int"
  • 09:22:43 <denisdroid> bjo3rn: Mmmpf I missed that option. :( Thank you.
  • 09:22:57 <bjo3rn> ;)
  • 10:13:15 <denisdroid> What is the recommended way to show a fal image preview in the Preview section? - This is the way I did it. https://gist.github.com/DenisMir/3f2c96cc47c6376f4662
  • 10:13:39 <denisdroid> The image tag gets rendered but the path to the image is wrong
  • 10:13:50 <xaver> i think some examples are in the libary
  • 10:14:15 <denisdroid> xaver: Yeah I saw the example in the library. But the example contains no example for the preview section.
  • 10:14:52 <denisdroid> The wrong path starts with: "/typo3/sysext/cms/fileadmin…"
  • 10:15:22 <denisdroid> "typo3/sysext/cms" is wrong it has to start with /fileadmin...
  • 10:33:25 <Guest|85492> hi bjo3rn, i allready postet my question yesterday evening, and you tried to help me.
  • 10:33:36 <Guest|85492> on https://gist.github.com/semuc/4686b9f6ac090e967dbc you can see my fcetest.html (and some configuration files) which didn't work in my TYPO3. I always get one single input field "The Title:". You tested it in your TYPO3 and it worked fine.
  • 10:33:44 <Guest|85492> Now i'm one step further - although it still not works ;-}
  • 10:33:52 <Guest|85492> The field "The Title:" is defined in typo3\sysext\frontend\Configuration\TCA\tt_content.php as default pi_flexform. So i guess the configuration section of my template could not be read
  • 10:34:00 <Guest|85492> Do i have to create/modify more then the files setup.txt, ext_localconf.php, ext_tables.php and ContentController.php as shown in https://gist.github.com/semuc/4686b9f6ac090e967dbc ?
  • 10:34:46 <Guest|85492> thanks for each advice
  • 10:43:04 <xaver> denisdroid: try another example :P
  • 10:43:27 <denisdroid> xaver: Haha which one.
  • 10:43:49 <denisdroid> I have looked at this one: https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=5&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=e403004449572e5ede2dd38d6d268f99
  • 10:44:56 <xaver> denisdroid: https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/tree/development/Resources/Private/Templates/Content
  • 10:48:05 <denisdroid> xaver: Thank you. Does the "flux:field.file" use fal for images?
  • 10:50:21 <xaver> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ImageGallery.html
  • 10:50:51 <denisdroid> Ok yeah. I looked at the single responsive image example.
  • 10:52:29 <denisdroid> So to be able to use fal for a single image I have to use flux:field.inline.fal as well? (I only saw the flux:field.inline.fal in gallery examples)
  • 11:08:32 <Guest|85492> anyone here to take care of my issue?
  • 11:09:56 <Guest|85492> "Configuration" section of my fce templates are ignored, i always get ony the default input field, defined in TCA\tt_conten.php
  • 11:26:02 <bjo3rn> Guest|85492 I already asked yesterday: what is the key of your provider extension?
  • 11:29:07 <Guest|85492> hi bjo3rn, extension name is se_wee. selecting and output of fluidpages templates stored and configured in this extension wrks fine
  • 11:29:33 <bjo3rn> underscore. I knew it.
  • 11:29:37 <Guest|85492> adding new content elements lists all stored fce templates
  • 11:30:10 <bjo3rn> one sec, brb
  • 11:30:25 <Guest|85492> i didnt have problems with underscore in older fluidcontent versions
  • 11:33:19 <Guest|85492> i try renaming ...
  • 11:38:54 <Guest|85492> renaming and replacing all occurrences of se_wee with sewee, same problem
  • 11:40:19 <bjo3rn> ok, to recap: flux debug mode '1' doesn't show anything unusual?
  • 11:47:32 <Guest|85492> debug mode 1, saved, cleard cache (in install tool), added new content element on page, wizard opens and lists all fces, click on one of them, BE mask with only the default input field. No debug messages
  • 11:49:03 <bjo3rn> so creepy
  • 11:49:25 <bjo3rn> at the end of the day it will be something easy I am sure.
  • 11:49:50 <bjo3rn> so, it's working in my setup. let's try to determine the differences.
  • 11:50:11 <Guest|85492> well, guess i have it:
  • 11:50:31 <Guest|85492> template names have to begin with "big" letters ?
  • 11:50:56 <Guest|85492> modTest.html ist not allowed, should be ModTest.html ?
  • 11:51:13 <bjo3rn> hehehe
  • 11:51:17 <bjo3rn> that's so true, yes
  • 11:51:30 <bjo3rn> let me guess:
  • 11:51:39 <bjo3rn> development on a mac?
  • 11:52:10 <Guest|85492> used older version of combination of flux, vhs, fluidpages and fluidcontent, always with fce templates only in lowercase
  • 11:52:17 <Guest|85492> nope, windows
  • 11:52:20 <bjo3rn> hm
  • 11:52:45 <bjo3rn> anyway, the naming rule is UpperCamelCase.html
  • 11:53:43 <Guest|85492> opened the page in frontend and got an error like "don't found ModTest.html", so i changed name and BE Mask works
  • 11:53:58 <Guest|85492> Guess i will never forget
  • 11:53:59 <bjo3rn> cool.
  • 11:54:06 <Guest|85492> Thanks for your time and support
  • 11:54:14 <bjo3rn> and the best part: you found out yourself!
  • 11:54:36 <bjo3rn> np. I'm glad you got it working
  • 12:15:35 <Defos> Hi there, I'm struggling with a simple if statement. I'm trying this, which is not possible in fluid I think: <f:if condition="{myvar1} || {myvar2}">do it</f:if>
  • 12:15:52 <bjo3rn> hi Defos
  • 12:16:00 <bjo3rn> this is only possible with v:if
  • 12:16:06 <bjo3rn> and it's: ugly
  • 12:16:24 <bjo3rn> but it works. here's how:
  • 12:17:03 <bjo3rn> <v:if stack="{0: myvar1, 1: 'OR', 2: myvar2}">...</v:if>
  • 12:19:03 <Defos> ah yeah, "stack"... thanks a lot
  • 12:19:11 <bjo3rn> yw
  • 14:10:24 <denisdroid> Is there an example on how to use the "indexed_search" extension together with the fluidpages? (template for the result page etc.)
  • 14:17:14 <bjo3rn> denisdroid actually there's nothing much to it besides adding the markers and make sure pages are cached?
  • 14:17:22 <bjo3rn> or am I wrong?
  • 14:18:02 <denisdroid> (ok I'm a newbie) - What about the rendering of the result page?
  • 14:18:27 <denisdroid> I have added the markers and the page gets cached. I can see the indexed stuff in the backend.
  • 14:18:40 <denisdroid> (and the index_<name> tables get filled as well)
  • 14:18:40 <bjo3rn> I don't know much about indexed_search. isn't the result page a plugin?
  • 14:19:41 <bjo3rn> ...which can be placed anywhere?
  • 14:19:55 <denisdroid> Mmmh let me check that. The search form is a plugin.
  • 14:21:40 <denisdroid> bjo3rn: The indexed Search result is a plugin as well. It renders the search box as well.
  • 14:22:13 <bjo3rn> so, there you go. nothing special. or do I miss the real question here?
  • 14:22:34 <bjo3rn> the question is: what is the question? (Scooter) ^^
  • 14:23:01 <mrboe> how much is the fish?
  • 14:23:07 <bjo3rn> hehe.
  • 14:23:11 <bjo3rn> disgusting.
  • 14:23:20 <denisdroid> bjo3rn: The question is gone. :P I had used the "normal" search form. :-)
  • 14:23:29 <bjo3rn> aha!
  • 14:23:34 <mrboe> thank you bjo3rn - i got the song in my head
  • 14:23:34 <denisdroid> With the indexed search plugin it does work indeed.
  • 14:24:14 <bjo3rn> I am happy 1) we could solve the issue and 2) I don't remember that 'song' ^^
  • 14:25:59 <mrboe> @denisdroid i can post a search form if you need
  • 14:26:13 <denisdroid> mrboe: That would nice to compare.
  • 14:26:43 <mrboe> http://pastebin.com/VEbih8uD
  • 14:27:36 <denisdroid> Oh thank you very much.
  • 14:27:41 <mrboe> and this is for the "constants"
  • 14:27:44 <mrboe> # cat=TPB-BaseConfig/003; type=string; label = ID for Searchresultspage
  • 14:27:44 <mrboe> searchpage = 0
  • 14:28:01 <mrboe> so you can set the output page in the TS constants
  • 14:29:05 <denisdroid> And how does the search result page template look like?
  • 14:30:36 <mrboe> just but the plugin there
  • 14:30:59 <denisdroid> The "Indexed Search" plugin?
  • 14:31:10 <denisdroid> This one does render the search form as well.
  • 14:31:12 <mrboe> yes
  • 14:31:42 <denisdroid> So it is not possible to just render the results directly without the plugin.
  • 14:31:54 <mrboe> http://pastebin.com/KvudtXZh
  • 14:32:35 <denisdroid> So you could possibly set a custom result template.
  • 14:33:04 <mrboe> dont know - i just used it like that
  • 14:33:10 <denisdroid> That helps me a lot thank you very much.
  • 14:33:32 <denisdroid> Well the templateFile option could be set differently
  • 14:34:00 <mrboe> i have a search field on the output page so that the user also hase the possibilty to make another search
  • 14:35:50 <denisdroid> Yeah that's right. I have found the default template now and I would assume that I can overwrite the template with my own stuff. :-) I just need the search result.
  • 14:35:58 <denisdroid> (search result data)
  • 15:04:06 <denisdroid> Does an ViewHelper exist that gives me the link for a certain page id? (is it https://fluidtypo3.org/viewhelpers/vhs/master/Link/TypolinkViewHelper.html ?)
  • 15:04:27 <Akii> f:link.page
  • 15:04:29 <Akii> lol
  • 15:04:31 <denisdroid> Ah it is: https://fluidtypo3.org/viewhelpers/vhs/master/Page/LinkViewHelper.html
  • 15:04:36 <denisdroid> grr :D
  • 15:36:26 <denisdroid> Akii: Ok I searched for the URL for a specific page id not the rendered a tag
  • 15:36:43 <Akii> f:uri.page
  • 15:37:18 <denisdroid> hmpf :(
  • 15:37:29 <denisdroid> Thank you
  • 15:37:31 <Akii> ^^
  • 16:00:17 <denisdroid> plugin.tx_indexedsearch.templateFile = EXT:xyz/Resources/Private/Templates/Extension/SearchResult.html - Does someone know why this gets ignored?
  • 16:21:57 <denisdroid> mrboe: And the "templateFile = EXT:t3basic/Resources/Private/Plugins/SearchForm.html" doesn't get ignored in your indexed search setup?
  • 16:22:41 <mrboe> it only works if you but the setup in the rootpage
  • 16:22:44 <mrboe> t3backend
  • 16:22:46 <denisdroid> I have included this in my provider extensions setup.txt: plugin.tx_indexedsearch.templateFile = EXT:xyz/Resources/Private/Templates/Extension/SearchResult.html - But the default template is used all the time. :/
  • 16:22:58 <mrboe> i never get this working
  • 16:23:06 <mrboe> in an provider ext
  • 16:23:13 <denisdroid> hmpf :/
  • 16:23:22 <mrboe> the indexed search TS is ignored
  • 16:23:30 <mrboe> never found a awnser why
  • 16:24:04 <denisdroid> should it be in the page ts setup or in the root page template?
  • 16:24:13 <mrboe> yes
  • 16:24:19 <denisdroid> Because I added it inside the root page template and nothing happens.
  • 16:24:21 <mrboe> if you place it there it works
  • 16:24:33 <mrboe> not the page ts
  • 16:24:35 <NamelessCoder> because indexed_search is abusive and loads TS using ext_typoscript_setup.txt which you cannot override except by also using ext_typoscript_setup.txt and making sure your extension depends on indexed_search.
  • 16:24:56 <mrboe> thx NamelessCoder
  • 16:25:43 <denisdroid> NamelessCoder: But when looking in my Template Analyzer I have the provider extension below the indexed_search setup
  • 16:26:42 <denisdroid> NamelessCoder: I had the problem with "ext_typoscript_setup.txt" with dd_googlesitemap as well.
  • 16:27:50 <NamelessCoder> it doesn't matter
  • 16:28:10 <NamelessCoder> it will always load last.
  • 16:28:14 <denisdroid> NamelessCoder: I fixed the dd_googlesitemap problem with setting "Static template files from Typo3 extension" to "Include before all static templates if root flag is set"
  • 16:28:38 <NamelessCoder> that's the only behaviour toggle that can affect this, but it won't work on static TS from extensions
  • 17:03:32 <denisdroid> NamelessCoder: But what is the correct position to override the static stuff of indexed_search?