IRC logs

20140511

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

IRC log range: 20140511*

20140511

  • 13:15:16 <Denyerec> Hey soee
  • 13:15:23 <Denyerec> Anyone here worked with tx_news and realURL ?
  • 13:15:30 <Denyerec> I'm trying the configuration from the manual but it's not working :(
  • 13:16:12 <GRIMMCREATIVE> i use extbase_realurl and modify it later
  • 13:17:32 <GRIMMCREATIVE> but something went new in the V3 dev of realurl - havent figure out it right now
  • 13:17:44 <GRIMMCREATIVE> lol v3 def of news i mean
  • 13:18:56 <Denyerec> Ah
  • 13:19:01 <Denyerec> So you think that the advanced config won't work
  • 13:19:10 <Denyerec> (To skoip the controller and model in the URL)
  • 13:19:18 <GRIMMCREATIVE> something is not working as it should
  • 13:31:22 <Denyerec> GRIMMCREATIVE do you have any working realURL config for news ?
  • 13:31:28 <Denyerec> Even the basic one isn't rewriting in the FE.
  • 13:31:28 <Denyerec> :/
  • 13:31:58 <GRIMMCREATIVE> new version or old version
  • 13:33:25 <Denyerec> let me get y version numbers or you
  • 13:33:39 <Denyerec> news 3.0.0-dev
  • 13:33:50 <Denyerec> realurl 1.12.8
  • 13:33:54 <GRIMMCREATIVE> https://gist.github.com/grimmcreative/4f6df6da04e2e3eece22
  • 13:34:21 <GRIMMCREATIVE> untested
  • 13:35:03 <GRIMMCREATIVE> generated by extbase_realurl
  • 13:46:36 <Denyerec> I seem to have .html on al my URLS now :/
  • 13:46:50 <Denyerec> And here's a sample: http://alba.dev/news/alba-news/news/new-news-article.html?tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Baction%5D=detail&cHash=9eba8936c1a0866f518dd2c4e353fd1a
  • 13:47:04 <Denyerec> Not too pretty :/
  • 13:47:16 <GRIMMCREATIVE> yep
  • 13:48:09 <Denyerec> ok I got rid of the html :)
  • 13:48:15 <Denyerec> But oh man those URLs are *nasty*
  • 13:48:51 <GRIMMCREATIVE> i think the dev is not finaly able to get everything right
  • 13:49:03 <soee_> Denyerec: whats the problrm with news ?
  • 13:49:08 <Denyerec> Ugly URLs
  • 13:50:59 <Denyerec> Ooh
  • 13:51:00 <Denyerec> bingo
  • 13:51:17 <GRIMMCREATIVE> ?
  • 13:51:28 <Denyerec> https://gist.github.com/Denyerec/8a8f26a6a047a215152c
  • 13:51:32 <Denyerec> That now generates:
  • 13:51:38 <Denyerec> http://alba.dev/news/alba-news/news/some-other-news/
  • 13:51:56 <Denyerec> I just need to clean up where the single news page lives now
  • 13:52:23 <GRIMMCREATIVE> nice you got it
  • 14:03:25 <Denyerec> I just need to work out how to get the url path structure to work fo rme, but it's otherwise going.
  • 14:12:35 <soee_> so the problem solved ?
  • 14:24:31 <Denyerec> NOt quite soee
  • 14:24:40 <Denyerec> Right now with that gist config, I see /news/ as part of the URL
  • 14:24:52 <Denyerec> (Presumably because that's the postvar that picks up the correct article)
  • 14:24:55 <Denyerec> I don't want that to appear in the URL
  • 14:25:00 <Denyerec> but I cant figure out how to hide it.
  • 14:27:53 <Denyerec> So I have links like this now: http://alba.dev/article/news/some-other-news/
  • 14:28:01 <Denyerec> The single-view page is called "article"
  • 14:28:17 <Denyerec> and I believe the /news/ is because that's what the postvar set is called.
  • 14:28:56 <Denyerec> For the benefit of GRIMMCREATIVE
  • 14:29:02 <Denyerec> [13:27] <Denyerec> So I have links like this now: http://alba.dev/article/news/some-other-news/
  • 14:29:02 <Denyerec> [13:28] <Denyerec> The single-view page is called "article"
  • 14:29:02 <Denyerec> [13:28] <Denyerec> and I believe the /news/ is because that's what the postvar set is called.
  • 14:29:07 <Denyerec> (Pasted the lines you missed)
  • 14:39:16 <Denyerec> soee_ do you know how to easily generate a date menu?
  • 14:40:29 <Denyerec> oh ig nore me
  • 14:40:33 <Denyerec> they incliuded that as a plugin type now
  • 14:51:27 <Denyerec> Hmm.
  • 14:51:34 <Denyerec> "view" doesn't seem to be behaving as I expected.
  • 14:51:57 <Denyerec> I have this local TS:
  • 14:51:58 <Denyerec> https://gist.github.com/Denyerec/a130382ba991c9732ce7
  • 14:54:57 <Denyerec> Ah
  • 14:55:04 <Denyerec> Helps to enable the overlays...
  • 14:55:06 <Denyerec> ¬_¬
  • 15:44:52 <randomresult> evening
  • 17:00:06 <Denyerec> how do I overload LLL values ?
  • 17:00:18 <Denyerec> without having to duplicate the whole file and hack an extension etc.
  • 17:12:13 <Denyerec> Basically I need to just change one entry in the locallang.xml
  • 17:12:16 <Denyerec> (From the news ext)
  • 18:22:03 <soee_> with TS
  • 19:21:38 <Denyerec> I've done it like this:
  • 19:21:49 <Denyerec> # Modify the translation
  • 19:21:49 <Denyerec> _LOCAL_LANG {
  • 19:21:49 <Denyerec> default {
  • 19:21:49 <Denyerec> dateFormat = %d %e %b %Y
  • 19:21:49 <Denyerec> }
  • 19:21:49 <Denyerec> }
  • 19:22:06 <Denyerec> How would I specify a totally new locallang file tho if I needed to ?
  • 19:27:39 <soee_> you can create own extension and use labels from fiel you crete there (using f:translate vh)
  • 19:36:56 <Denyerec> Hmm, well I have my provider extension obviously
  • 19:37:11 <Denyerec> . kinda hoped I could create an "overload" localang
  • 19:37:18 <Denyerec> a-la the "view" extensiojn
  • 19:46:54 <soee_> you can use translation Vh like this: <f:translate key="LLL:EXT:myext/Resources/Private/Language/locallang.xlf:key1" />
  • 19:47:02 <soee_> so you can use any file from any ext
  • 19:47:44 <jlumpe> there is an even shorter version for that, isn't there?
  • 19:48:11 <jlumpe> <v:l /> i think
  • 20:16:40 <Denyerec> soee_ do you know how to hide a postvar section from the URL with RealURL ?
  • 20:17:24 <Denyerec> https://gist.github.com/Denyerec/eda7b7521ac86b991108
  • 20:17:28 <Denyerec> That's my current config
  • 20:17:37 <Denyerec> when viewing a news item, I have /news/ as part of the URL
  • 20:17:49 <Denyerec> I'd much rather not have it there, but I don't know how to get rid :/
  • 20:19:03 <Denyerec> I think it's got something to do with fixedpostvars
  • 20:19:07 <Denyerec> but I'm not sure how to configure it
  • 20:19:56 <jlumpe> Denyerec: is it for a single page?
  • 20:19:59 <bjo3rn> Denyerec did you set the ts?
  • 20:20:02 <jlumpe> if so, you could use fixedPostVars
  • 20:20:03 <bjo3rn> hi guys ;)
  • 20:20:07 <jlumpe> hey bjo3rn
  • 20:20:10 <Denyerec> It's just for the news pages
  • 20:20:28 <Denyerec> bjo3rn - set what TS ?
  • 20:20:33 <Denyerec> (in particular)
  • 20:20:49 <bjo3rn> sec, looking it up
  • 20:21:12 <Denyerec> Hmm, the links would appear on several pages jlumpe
  • 20:21:19 <Denyerec> EG on the homepage widget, in the archive, on the list view etc.
  • 20:21:23 <Denyerec> So not really on a single page.
  • 20:21:35 <bjo3rn> there's some setting to omit controller/action when using realurl
  • 20:21:40 <Denyerec> the target pages, though, are all in one plac.
  • 20:21:42 <Denyerec> *place
  • 20:21:49 <jlumpe> Denyerec: the question is: is the page where the news plugin resides always the same page
  • 20:21:54 <Denyerec> bjo3rn I tried the realUrl config from the tx-news manual, but it didn't work.
  • 20:21:58 <jlumpe> from where you link to it doesn't matter :)
  • 20:22:03 <Denyerec> jlumpe in this case, yes it is.
  • 20:22:04 <jlumpe> just the page where the plugi nredies
  • 20:22:08 <Denyerec> Always on the "Artikel" page
  • 20:22:29 <bjo3rn> see http://docs.typo3.org/typo3cms/extensions/news/Main/Administration/Realurl/Index.html at the very bottom of the page
  • 20:22:42 <Denyerec> bjo3rn I attempted this, but ended up with non-realurl URLs
  • 20:22:45 <bjo3rn> no, not really the bottom
  • 20:22:49 <Denyerec> Nthing whoed in the error log, tho
  • 20:22:49 <Denyerec> :(
  • 20:22:52 <Denyerec> *showed
  • 20:23:15 <Denyerec> hmm. I will try that a 2nd time,
  • 20:23:22 <bjo3rn> plugin.tx_news.settings.link.skipControllerAndAction = 1
  • 20:23:25 <Denyerec> Meanwhile, I will also try and find an example of fixedpostvars
  • 20:23:34 <Denyerec> as that too looks like it could be useful.
  • 20:23:47 <bjo3rn> I can show you a working config of mine, sec
  • 20:24:47 <Denyerec> I'm sure I saw an example of fixed postvars somewhere today too.
  • 20:25:08 <bjo3rn> http://pastebin.com/cyYkBMNh
  • 20:26:17 <bjo3rn> change '75' to the pid where your news plugin is included or add more for every ocurrence
  • 20:26:19 <Denyerec> Thanks bjo3rn !
  • 20:26:22 <bjo3rn> np ;)
  • 20:26:29 <Denyerec> I'll see if I can patch that in after food.
  • 20:26:29 <bjo3rn> jlumpe all good?
  • 20:30:35 <jlumpe> bjo3rn: yeah! what about you?
  • 20:30:52 <jlumpe> preparing to move from the office to the living room ;)
  • 20:31:13 <bjo3rn> sure. I am fighting with wallpaper replacement in on room of our appartment :S
  • 20:31:18 <bjo3rn> *on
  • 20:31:22 <bjo3rn> *one
  • 20:31:34 <bjo3rn> wallpapers suck big time
  • 20:31:59 <jlumpe> ha
  • 20:32:12 <jlumpe> go with just painted walls ;)
  • 20:33:50 <bjo3rn> absolutely. we sold our appartement so this is good will for the next owners. the next appartment will be paint only for sure
  • 20:34:53 <jlumpe> gotcha
  • 20:35:44 <bjo3rn> bourgeois 'Erfurt Raufaser' :S
  • 20:37:19 <jlumpe> hahaha
  • 20:37:31 <jlumpe> that sounds lovely :D
  • 20:37:41 <jlumpe> ok, time for me to watch some series ;)
  • 20:37:44 <jlumpe> later o>
  • 20:38:34 <bjo3rn> cya
  • 21:23:20 <Denyerec> bjo3rn - in your config you have 75 => newsDetailConfiguration
  • 21:23:29 <Denyerec> I was just wondering if there is any significance in that string
  • 21:23:35 <Denyerec> or if I could called it Giraffe if I pleased ?
  • 21:29:07 <Denyerec> Also bjo3rn, I still have a "news" section on my URL :/
  • 21:29:08 <Denyerec> http://alba.dev/article/news/3rd-news-article-with-obnoxiously-long-title-that-will-hopefully-wreck-the-layout/
  • 21:33:06 <Denyerec> Ohhh ignore me
  • 21:33:08 <Denyerec> I was being an idiot.