IRC logs

20140313

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

IRC log range: 20140313*

20140313

  • 09:17:23 <MindSpark> amaza
  • 11:50:18 <mrboe> hey guys - i installed the builder ext to check my extension. i got thetese errors, but i dont know what to do? any hints? file: https://gist.github.com/misterboe/b491c02384b05d26e92e error:http://snag.gy/pJVEq.jpg
  • 11:51:49 <mrboe> what does the warnings mean? and which viewhelper is wrong
  • 12:06:19 <rahulthewall> Hi guys
  • 12:06:29 <rahulthewall> How do I change the li class for the selected menu item (top menu)
  • 12:07:21 <rahulthewall> this is my current code: http://pastebin.com/3Gu1J8ei
  • 12:13:47 <BenjaminR> rahulthewall: with the arguments linkActive and linkCurrent on v:page.menu VH.
  • 12:14:06 <BenjaminR> https://fedext.net/viewhelpers/vhs/master/Page/MenuViewHelper.html
  • 12:14:08 <rahulthewall> Thanks BenjaminR, I will read the documentation
  • 12:14:14 <BenjaminR> sorry: classCurrent and classActive
  • 12:18:30 <rahulthewall> OK
  • 12:18:32 <rahulthewall> :)
  • 12:43:59 <braguzz> mysql - braguzz : 15 - 0
  • 12:45:47 <Denyerek> Hey guys
  • 12:45:56 <BenjaminR> Hi Deny
  • 12:46:15 <Denyerek> Back in the day, I used to fill the <head> block via TS
  • 12:46:28 <Denyerek> and all my CSS lived in /fileadmin/template/css/
  • 12:46:39 <Denyerek> and all my images for the template in /fileadmin/template/img/
  • 12:46:52 <Denyerek> and all the paths in my CSS were absolute to /fileadmin/template/img/
  • 12:46:55 <Denyerek> Now:
  • 12:47:01 <Denyerek> 1) I don't know the best way to include my CSS
  • 12:47:08 <Denyerek> 2) I don't know the best way to control the <head>
  • 12:47:19 <Denyerek> 3) I don't know how to reference the paths in my CSS anymore
  • 12:47:24 <BenjaminR> 1) v:asset.style/.script
  • 12:47:43 <Denyerek> I figured if the CSS and JS resources were controlled by TS, then the compression options etc would be taken care of.
  • 12:48:11 <BenjaminR> 2) v:page.header
  • 12:48:33 <Denyerek> Doesn't that mean that extensions that modify the <head> will no longer work ?
  • 12:48:38 <Denyerek> (SEOBasics, for example)
  • 12:48:50 <Denyerek> or does v:page.header work alongside any TS that modifies the page <head> ?
  • 12:49:02 <BenjaminR> it does - extension overrules it
  • 12:49:12 <Denyerek> overrules or appends ?
  • 12:49:25 <Guest|14805> Hi there, i have a problem with flux/fluidcontent, he doesnt reder the field in backendform only a "The title" field is rendered, not the fields defined in the template, any ideas? I have two extensions in one page for different trees in tree one the Text.html works fine, but in tree2 it doesnt render the fields, any ideas?
  • 12:50:18 <BenjaminR> deny: fluidpages renders first - the third party exts that modify header overrule it (append or overwrite depends on the 3rd p ext)
  • 12:51:06 <BenjaminR> v:page.header.meta contains some documentation about the behaviour
  • 12:51:30 <braguzz> I moved mysql on a dedicated server without success..
  • 12:51:52 <braguzz> apache still 100% cpu trying to erase cache
  • 12:52:22 <BenjaminR> Guest: Errors is your markup
  • 12:52:40 <BenjaminR> what is tree2?
  • 12:53:41 <Guest|14805> i have debug mode on "1" for development
  • 12:53:45 <Guest|14805> it doesnt show anything
  • 12:54:06 <Guest|14805> and the markup is correct, if i move the Text.html to extension1 for tree1 all is fine an the fields are rendered
  • 12:54:26 <Guest|14805> but only in tree2, where the templates are read from extension2 he doesnt show any fields
  • 12:55:13 <BenjaminR> you use two fluidcontent/fluidpages provider extensions? please describe in detail what your setup looks like
  • 12:55:24 <BenjaminR> also i didnt understand yet what "tree" is. Page trees?
  • 12:55:38 <Guest|14805> yes page trees
  • 12:56:08 <Guest|14805> i have 2, each has an extension which provide typoscript files and templates for fluidpages and fluidcontent
  • 12:57:02 <Guest|14805> and in tree2, where the templates are read from extension2, the fields are not display, what works is the selector for the contentelement and wizardtab is fine, but no fields are displayed
  • 12:57:31 <Denyerek> BenjaminR, I have read that. What difference is there using v:page.header.meta instead of just putting>meta> tags into the template? Presumably because the VH ones are parsed alongside anything done in the typoscript ?
  • 12:57:35 <BenjaminR> maybe some templates (TS) not included in tree2
  • 12:58:24 <Guest|14805> no, he reads the Text.html and give me the corrrect items to choose in "New content Element"
  • 12:59:55 <Guest|14805> any idea where to debug the reading of xml name="Configuration" ?
  • 13:00:18 <BenjaminR> Deny: the difference is that it is a fluid viewhelper and because of this can be used anywhere and in any context/condition you d like. in the end it simply uses the pageRenderer to add meta tags
  • 13:00:50 <BenjaminR> with the restriction that the plugin has to be cached
  • 13:01:21 <Denyerek> Ok
  • 13:01:32 <BenjaminR> if not it wouldnt be available where the pagerenderer runs (smth about submarkers / dont ask me)
  • 13:01:50 <Denyerek> Hmm.
  • 13:01:51 <Denyerek> Ok
  • 13:02:19 <BenjaminR> Guest: EXT:builder can be used to validate your whole provider extension
  • 13:02:26 <Denyerek> Ah I see
  • 13:02:45 <Denyerek> and so if I use asset to add my CSS, then order and dependencies are still accounted for
  • 13:03:28 <Denyerek> So that v:asset.style call doesn't actually have to be in the <head> part of the template
  • 13:03:38 <Denyerek> Does my page template even *have* a <head> section ?
  • 13:03:47 <Denyerek> I get the feeling I should install the bootstrap package and dig through that.
  • 13:04:14 <Guest|14805> my provider extension has no classes, its only typoscript and html files, any other ideas?
  • 13:04:17 <Denyerek> is there a "best practices" extension anywhere that's the de-facto best reference to use ?
  • 13:04:35 <Denyerek> Guest|14805, (please set your name) - that's normal.
  • 13:04:45 <Denyerek> If it's just a basic container, that's pretty much all it'll have I think.
  • 13:04:52 <Denyerek> Especially if you created it with Builder.
  • 13:05:59 <BenjaminR> Exactly Deny. Guest: EXT:builder can check all your templates. install it and it will add a backend module which is easy to understand
  • 13:06:15 <Guest|14805> ok ill try, (how can i change name?)
  • 13:06:38 <BenjaminR> */nick MyNick (without the star)
  • 13:07:17 <Torstenn> thx
  • 13:07:23 <BenjaminR> Hi Torstenn :)
  • 13:08:59 <Torstenn> where is the backend module?
  • 13:09:30 <BenjaminR> after you installed it under Admin Tools i guess?
  • 13:10:13 <Torstenn> hm no, it only provides command actions
  • 13:10:19 <Torstenn> ill try with these
  • 13:10:22 <BenjaminR> no
  • 13:10:38 <BenjaminR> not true - there is a be module :)
  • 13:10:59 <Torstenn> but there is no localconf file and in ext_tables is no definition for any module
  • 13:11:15 <BenjaminR> let me see - i am sure there is :)
  • 13:11:30 <BenjaminR> ah on the development branch
  • 13:11:41 <BenjaminR> which version of fluidpages do you use?
  • 13:12:12 <Torstenn> 2.1.0
  • 13:12:19 <Torstenn> but the problem is with fluidcontent
  • 13:12:55 <BenjaminR> okay you installed from ter i guess?
  • 13:13:11 <BenjaminR> so you are right - there is no backend module on master branch / ter release
  • 13:13:21 <Torstenn> i downloaded dev version
  • 13:13:24 <Torstenn> give me a moment
  • 13:13:34 <BenjaminR> been introduced when we dropped support for 4.X and introduced namespaces
  • 13:13:57 <Torstenn> ok now i see module ;)
  • 13:14:10 <Torstenn> i have 6.1.x and a namespace version of flux
  • 13:14:12 <BenjaminR> Torstenn: be aware of the changed namings of viewhelpers
  • 13:14:20 <BenjaminR> okay great
  • 13:14:33 <BenjaminR> so you are save to use dev branch
  • 13:14:33 <Torstenn> BenjaminR: The fact is it works in tree1 all is super fine
  • 13:14:33 <BenjaminR> :)
  • 13:14:48 <BenjaminR> yap got that
  • 13:14:59 <Torstenn> ok ;)
  • 13:15:15 <BenjaminR> your trees have stop root line enable?
  • 13:16:26 <BenjaminR> i will have to have some salad before i continue :)
  • 13:16:46 <Torstenn> ok, me 2 ;)
  • 13:16:53 <BenjaminR> ive to admit that i didnt use two provider exts before in one instance :/
  • 13:17:13 <Torstenn> what you mean with "provider ext" ?
  • 13:17:36 <BenjaminR> a extension which contains your page and content templates
  • 13:17:43 <Denyerek> Do you use PHPStorm ben ?
  • 13:17:48 <BenjaminR> i think you told me earlier that you have two
  • 13:17:51 <BenjaminR> Deny: yes
  • 13:17:57 <Torstenn> yes i have, your correct
  • 13:18:20 <Denyerek> I have a lot of "f: namespace is not bound" messages due to the viewhelpers
  • 13:18:23 <Denyerek> do I just ignore those ?
  • 13:18:56 <Denyerek> Ah it's only in the partials.
  • 13:18:58 <BenjaminR> yap you could change that be suppling a xsd for these namespaces in phpstorm
  • 13:19:09 <Denyerek> In the main template it behaves and they go purple
  • 13:19:19 <Denyerek> in the partials it obviously does't know
  • 13:19:21 <Denyerek> so I can set them globally ?
  • 13:19:26 <BenjaminR> ah so you are missing a namespace decarlation
  • 13:19:38 <BenjaminR> *declaration
  • 13:19:45 <Denyerek> Well
  • 13:19:57 <Denyerek> Right at the top of the file is:
  • 13:20:06 <BenjaminR> well i am mixing up things - it would enable you autocompetion for viewhelpers
  • 13:20:11 <Denyerek> <f:layout ...
  • 13:20:11 <BenjaminR> *completion ^^
  • 13:20:38 <Denyerek> I think the namespaces might need to be defined globally in PHPStorm, not in the file itself.
  • 13:20:46 <Denyerek> As obviously in a partial, I don't want to have to declare the namespace every time,
  • 13:20:48 <Denyerek> Right ?
  • 13:20:48 <BenjaminR> http://buzz.typo3.org/teams/extbase/article/howto-autocompletion-for-fluid-in-phpstorm/
  • 13:20:57 <Denyerek> Ahha
  • 13:21:26 <Torstenn> BenjaminR: i checked stop page tree, but it doesnt changed anything, now i go to lunch, later.
  • 13:21:29 <BenjaminR> i will create some awesome salad now ;)
  • 13:21:40 <BenjaminR> Torstenn: cu later - same here
  • 13:34:48 <bjrnqprs> Hi! I was wondering is there any quick way to use the page 'alias' field for pageUid? And where can I send a feature request? :)
  • 13:35:57 <braguzz> heyla
  • 13:36:30 <braguzz> I'm trying to speed the process of clearing the cache having enabled boostrap ext
  • 13:36:44 <braguzz> I'm trying everything (without the right one)
  • 13:37:29 <braguzz> I moved the db in another server with faster disk (sas vs sata) without visible enhancement
  • 13:38:15 <braguzz> apache in first server goes to 100% for many seconds when I try to flush the cache and it is very annoying
  • 13:38:26 <braguzz> someone could help me?
  • 13:41:13 <BenjaminR> bjrnqprs: youre welcome to create your pr here:http://github.com/FluidTYPO3/
  • 13:44:09 <bjrnqprs> BenjaminR: cool, thanks!
  • 13:59:39 <georg_t> hi all
  • 14:01:19 <georg_t> does anyone know where/how values from pi_flexform are mapped to the form fields in flux?
  • 14:03:37 <randomresult> hi there
  • 14:04:08 <randomresult> someone in here uses the latest dev branches in T3.6.2 with powermail?
  • 14:04:35 <randomresult> i have the problem that i cant place a powermailform inside a gridcontainer made with flux
  • 14:04:57 <randomresult> seems like it does not store the position... it does when placing an contentelement
  • 14:33:10 <braguzz> mysql - braguzz : 50 - 1
  • 14:37:51 <randomresult> braguzz at least 1 point
  • 14:40:09 <Guest|58365> hi, i`m looking for tutorials to customize bootstrap package tu use it as mulidomains. any ideas or links ?
  • 14:40:24 <braguzz> yes random ;)
  • 14:40:47 <braguzz> but it not enouph to win the mach
  • 14:42:16 <randomresult> @braguzz well... better than nothing
  • 14:42:48 <braguzz> yes. I can say I leand something more of mysql configuration
  • 14:42:53 <braguzz> learn
  • 14:53:59 <Denyerec> randomresult - do you know if the bootstrap_pages and bootstrap_content packages are good places to learn how things work ?#
  • 14:54:10 <Denyerec> Or is there a "best practice" example package I can grab?
  • 14:54:30 <randomresult> well... the example package is good
  • 14:57:48 <BenjaminR> Denyerec: but as you are new to it start with development branch on all exts. there support for 4.X has been dropped and namespaces has been introduced
  • 14:58:07 <BenjaminR> its the feature of all FluidTYPO3 extensions
  • 14:58:12 <BenjaminR> *future
  • 14:59:58 <Denyerec> I believe I'm on dev for all extensions.
  • 15:00:20 <Denyerec> Which example package randomresult ?
  • 15:00:27 <Denyerec> I'm trying to ge tmy head around how CSS / JS and meta is worked
  • 15:01:59 <Denyerec> Also... what's the deal with GridElements ?
  • 15:03:01 <randomresult> well js/css is quite easy
  • 15:03:06 <randomresult> you use assets for this
  • 15:03:13 <Denyerec> So I'm discovering
  • 15:03:21 <Denyerec> I like the idea you can add dependencies
  • 15:03:32 <Denyerec> But the bootstrap package doesn't use local CSS
  • 15:03:32 <randomresult> yeah thats great
  • 15:03:42 <Denyerec> I'm struggling with how you reference assets within the CSS
  • 15:03:43 <randomresult> it does not?
  • 15:03:54 <Denyerec> nope it uyses an asset to load from bootstrapcdn
  • 15:03:56 <randomresult> i can paste u my assets if u want
  • 15:04:00 <Denyerec> Ohhh errr
  • 15:04:11 <Denyerec> (Assets are a colloquial term for breasts in English ;))
  • 15:04:19 <randomresult> lol
  • 15:04:23 <Denyerec> "I'd love to see that pastebin darlin'"
  • 15:04:25 <Denyerec> :D
  • 15:04:46 <Denyerec> I figure if I'm gonna do this I may as well get it right ;)
  • 15:04:47 <randomresult> gist ?
  • 15:05:11 <Denyerec> Sure
  • 15:06:18 <randomresult> http://pastebin.com/L7en8Hyz
  • 15:06:25 <randomresult> its a dev global
  • 15:13:31 <randomresult> hopefully this helps a bit
  • 15:15:38 <rahulthewall> Guys, a question with menu rendering
  • 15:15:53 <rahulthewall> First menu item is shortcut to the home page, current does not seem to work on it
  • 15:15:56 <rahulthewall> Am using useShortcutData="TRUE"
  • 15:18:30 <Denyerec> randomresult - how do you reference graphic assets from within your CSS ?
  • 15:20:49 <rahulthewall> nvm, fixed it
  • 15:35:01 <BenjaminR> Deny: just reference them relative to the css stylesheet (as you are used to) - paths will be changed by fluidcontent automatically if need to cache it
  • 15:35:48 <Denyerek> Even paths in the CSS to images and such ?
  • 15:35:58 <BenjaminR> yap exactly that
  • 15:36:00 <Denyerek> Oh wow
  • 15:36:03 <Denyerek> I had no idea.
  • 15:36:07 <BenjaminR> i was talking about paths to images in css
  • 15:36:12 <BenjaminR> what else did you mean
  • 15:36:31 <Denyerek> so if they're in /resources/public/stylesheets and the images are in /resources/public/img I can happily use reletaive paths in the css ?
  • 15:36:42 <BenjaminR> ../img/
  • 15:36:45 <BenjaminR> yap
  • 15:36:46 <Denyerek> ../img/
  • 15:36:48 <Denyerek> Sweet
  • 15:36:59 <Denyerek> How would be a good way to handle SCSS files ?
  • 15:37:20 <BenjaminR> I dont know about a scss compiler in fluidTYPO3 yet
  • 15:37:36 <Denyerek> I was going to use a watcher to compile it
  • 15:37:44 <BenjaminR> but i am not a good contact for that because dont use scss yet
  • 15:37:53 <Denyerek> So I guess I just need to watch the folder and keep my SCSS and CSS in the same place.
  • 15:46:47 <randomresult> i have a page where i have tons of contentelements
  • 15:47:02 <randomresult> no i want to drag and drop a content element from the bottom to the top
  • 15:47:28 <randomresult> therefor i need to scroll... as soon as i scroll, i cant place the element where i want ...
  • 15:47:36 <randomresult> someone experienced this behavior?
  • 15:48:46 <randomresult> the little arrow moves with the scroll , the element does not ... so placing a CE is nearly impossible when scrolling
  • 16:11:38 <randomresult> anyone has the same problem?
  • 16:14:35 <Denyerec> I saw that
  • 16:14:44 <Denyerec> I resorted to moving it in stages :/
  • 16:14:57 <randomresult> you can also cut and paste
  • 16:15:01 <randomresult> but...
  • 16:15:21 <randomresult> well not a nice solution. would be a nice to have
  • 16:41:05 <Tjark> thanks for publishing FluidTYPO3 Extensions on packagist.org. This is really awesome !
  • 16:48:31 <rahulthewall> What extension would you guys suggest for managing forms
  • 17:05:22 <randomresult> rahulthewall wich t3 -version?
  • 17:05:32 <rahulthewall> 6.1 randomresult
  • 17:05:43 <randomresult> then i would give powermail a try
  • 17:05:59 <rahulthewall> Thanks for the suggestion randomresult, looking at it
  • 17:06:11 * randomresult is off now. see u all
  • 17:07:29 <braguzz> braguzz - mysql : 1 - 100
  • 17:25:53 <tpinne> Hi all
  • 17:26:57 <tpinne> today I started to work on my project again since last week. I changed nothing to the sources. Core is the same git commit so are every fedext extensions
  • 17:27:24 <tpinne> cleaning all caches before starting to work I now get the following exception wich I can't get rid off
  • 17:27:28 <tpinne> UnexpectedValueException: The package "fluidpages" depends on "_flux" which is not present in the system. in /var/www/TYPO3.CMS/typo3/sysext/core/Classes/Package/DependencyResolver.php on line 146
  • 17:29:14 <braguzz> if I change db?
  • 17:29:18 <braguzz> postgresql ?
  • 17:30:47 <braguzz> I dont know what to try
  • 17:30:58 <braguzz> what does the system when I clear the cache?
  • 17:31:12 <braguzz> do you know the query?
  • 17:31:18 <tpinne> sorry for bothering. Sometimes the moment you ask the question you find the answer :)
  • 19:43:38 <Torstenn> Hi there, i'm running two pagetrees and each has its own fluidpages/content providerextension, the problem is in the second extension in backend are no fields displayed which are configured in <flux:form> section, any ideas or expirience in having two template provider extensions?
  • 20:15:58 <Torstenn> I've debugged it and the problem is that at some point the collections key is unset in typoscript, any idea why this happens?
  • 20:30:16 <Torstenn> if i disable the rootpage of tree1, all works in tree2, funny thing ^^
  • 20:46:34 <Torstenn> Ok the problem is that the typoscript in backend for tx_fluidcontent is read over "$this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT)" which only reads the first siteroot page ...
  • 20:47:03 <Torstenn> is this a bug or must i implement the typscript for fluidcontent all in siteroot 1?