IRC logs

20140614

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

IRC log range: 20140614*

20140614

  • 11:27:25 <danielpf> hi everyone
  • 13:48:50 <Bendtsen> Hi all. I would like to know if it is possible to create a fluid content element that will let the user choose between 5 images, where the images are visible as thumbnails
  • 13:50:47 <xaver> Bendtsen: ?
  • 13:54:17 <Bendtsen> It should be 5 radio buttons, but instead of text, there should be an image or icon.
  • 14:06:16 <xaver> its possible. But what is your goal?
  • 14:10:39 <Bendtsen> In the design, there is a component that consists of a normal image to the left and an illustration to the right. The user should be able to insert the image and choose an illustration among 5 different types.
  • 14:12:38 <Bendtsen> You could of course solve it with a select box with a description of each illustration, but I would like to make a more visual UI for the user
  • 14:29:45 <Bendtsen> If its possible, how is it done? Any snippets out there?
  • 14:34:42 <xaver> create the output yes,
  • 14:47:59 <xaver> if you want user interaction and save something... or more complex you should create your own extension and use vhs for a lot of functionality and options in templates.
  • 14:51:12 <xaver> if you want some examples for different content elements you will find some here https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/tree/development/Resources/Private/Templates/Content . Our fluidbootstrap_content with examples is outdated in favor of fluidbootstraptheme
  • 14:51:33 <xaver> i hope this helps Bendtsen
  • 16:34:46 <konrad> hello everyone
  • 16:35:04 <konrad> I have troubles after updating vhs to 2.0
  • 16:35:25 <konrad> I get the following error
  • 16:35:26 <konrad> Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Page\Content\RenderViewHelper maybe not loaded or no autoloader?
  • 16:35:52 <konrad> I figured that it might has something do with namespaces...?
  • 16:37:07 <konrad> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 16:37:07 <konrad> {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  • 16:37:24 <konrad> is this correct?
  • 16:38:01 <konrad> http://pastebin.com/JRV8VdgN
  • 16:38:25 <konrad> I am new to fluid powered typo3
  • 16:40:43 <konrad> ok sorry, i just figured out that it has to be <v:content.render column="0" /> instead of <v:page.content.render column="0" />
  • 16:41:12 <konrad> Sorry, hopefully this chat log will help others in the future ;)
  • 16:45:31 <xaver> v:var and v:if changed
  • 16:45:49 <xaver> find ./ -type f -exec sed -i 's/=Tx_Vhs_ViewHelpers}/=FluidTYPO3\\Vhs\\ViewHelpers}/' {} \;
  • 16:46:16 <xaver> find ./ -type f -exec sed -i 's/v:var\./v:variable./' {} \;
  • 16:46:38 <xaver> find ./ -type f -exec sed -i 's/v:if\./v:condition./' {} \;
  • 16:51:31 <xaver> maybe it helps :) (replaces only one entry per line. If you use multiple v:var. in one line)
  • 18:58:25 <konrad> thanks xaver :)
  • 20:31:38 <konrad> hello again!
  • 20:32:18 <konrad> I would like to recreate this example content from here:
  • 20:32:19 <konrad> http://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/content-element.html
  • 20:33:31 <konrad> the fce shows up, I fill out the form, but the output for preview and frontend is missing. debugging the variables returned nulls
  • 20:33:41 <konrad> any ideas what I did wrong?
  • 20:34:21 <konrad> It seems like all variables are empty in the preview and main section
  • 20:35:59 <konrad> vhs 2.0.0
  • 20:35:59 <konrad> flux 7.1.0
  • 20:35:59 <konrad> fluidcontent 4.1.0
  • 20:35:59 <konrad> fluidpages 3.1.0
  • 20:36:04 <konrad> all git releases