IRC logs

20150316

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

IRC log range: 20150316*

20150316

  • 05:26:27 <martin587> hello together, i use the viewhelper v:asset.style to include a css file, how can i add the attribute media, for example media="print" to the output. Thanks for your help!
  • 06:18:41 <Torsten85> hey, I've added flux / fluid content to my typo3 v7 instance and all is working as expected except drag & drop in the page module. I guess flux is not yet fully compatible or is it a bug?
  • 07:34:43 <Denyerec> Anyone in here much good with tt_news and realURL ?
  • 07:35:04 <Denyerec> I've about €75 here as a bounty for anyone who can help fix up some insane URL duplication crap on a site of mine :(
  • 08:13:44 <featdd> Denyerec: whats the matter?
  • 08:14:15 <Denyerec> Well.
  • 08:14:18 <Denyerec> What isn't? :D
  • 08:14:24 <featdd> tt_news has realurl config examples which should work
  • 08:14:45 <Denyerec> Yeah, I believe I followed those, then promptly tied myself in a knot
  • 08:14:48 <Denyerec> Let me lknk you to the site
  • 08:14:54 <Denyerec> http://www.microwavemarketing.com/
  • 08:15:08 <Denyerec> Please bear in mind that it is NOT the latest tx_news, bt the older tt_news
  • 08:15:14 <Denyerec> an upgrade at this point is too expensive
  • 08:16:51 <featdd> where can i find the failure?
  • 08:18:12 <featdd> I'm clicking through news and see no duplications
  • 08:20:10 <featdd> theres item and article which is kind of redundant, you meant that?
  • 08:22:48 <featdd> when its about item is think you used postVarSets, which sets this annoying type title "item", you can avoid that by using fixedPostVars
  • 08:23:07 <featdd> but then you have to set the pageUid in the realurl config
  • 08:23:21 <Denyerec> Right
  • 08:23:26 <Denyerec> Well setting a pageUID is no problem
  • 08:23:31 <Denyerec> it won't be moving and there is only one News instance
  • 08:23:45 <Denyerec> The whole /arhive/ thing is an SEO problem
  • 08:23:58 <Denyerec> as the articles currently in "news" appear also in "archive" which is bad
  • 08:23:58 <featdd> so just configure as fixedPostVars and you will no longer see "item"
  • 08:24:02 <Denyerec> also the URLs are.. horrible
  • 08:24:10 <Denyerec> http://www.microwavemarketing.com/news/item/archive/2015/march/article/qorvo-new-ka-band-gan/
  • 08:24:12 <Denyerec> should just be:
  • 08:24:20 <Denyerec> http://www.microwavemarketing.com/news/qorvo-new-ka-band-gan/
  • 08:24:42 <Denyerec> And should only ever be that, ideally, though the archive by date isn't entirely bad, Im not sure how best to control it.
  • 08:24:42 <featdd> can i see your current config?
  • 08:24:53 <Denyerec> I can give you an admin login if that'd make things easiest?
  • 08:32:46 <featdd> giving admin login to someone in irc could be a great security risk of yours
  • 08:32:50 <featdd> :-D
  • 08:34:34 <featdd> better you just send or upload the config file so i could take a look at it
  • 08:40:50 <Denyerec> featdd - are you an anarchist or a lunatic?
  • 08:41:52 <Denyerec> I prefer to think of people as good first, and bad if they show themselves to be.
  • 08:41:52 <Denyerec> It's probably why I'm poor... ;)
  • 08:41:52 <Denyerec> Let me pastebin the config, seeing as how you don't trust yourself ;)
  • 08:42:19 <featdd> I don't see me as a bad person but I think out of your perspective I could be :-D
  • 08:45:41 <featdd> did you seperated the news plugin as list and show action plugins?
  • 08:51:28 <Denyerec> You mean do I have the plugin on two pages?
  • 08:51:47 <featdd> yea a list page and a detail page
  • 08:52:15 <Denyerec> http://ft.trillian.im/e5d08c93aafc4bd938cff13c89419cc96fcb8c14/6x4vSYc3cLM1aubp7ykkVT5LZ4ruX.jpg
  • 08:52:33 <Denyerec> Just trying to dig out the config now
  • 08:52:34 <Denyerec> 1 mo
  • 08:53:44 <Denyerec> Here we go
  • 08:54:26 <featdd> looks good
  • 08:54:35 <Denyerec> http://pastebin.com/WBWTJSy1
  • 08:54:37 <Denyerec> There we are
  • 08:54:41 <featdd> you just have to make a fixedPostvar config for the item site
  • 08:54:58 <Guest|30069> Hey guys, I wrote a custom ViewHelper that sorts the given array randomly
  • 08:55:41 <Guest|30069> I want that each time you reload the page a other element is first
  • 08:55:57 <Guest|30069> the problem is, that after the first load the site is cached
  • 08:56:19 <Guest|30069> Any ideas?
  • 09:05:37 <featdd> Denyerec: item is the name of the page, you have to rename it in article or something the article in path is the type title from postVarsets
  • 09:06:50 <featdd> if you use fixedPostVars you can avoid the "article" and make 2015/march bypass, archive has to be vconfigured as a seperate page too
  • 09:20:21 <Torsten85> Could someone explain to me why the Flux ContentProvider only triggers on "list" CTypes? That seems wrong to me because it won't trigger on drag & drop.
  • 09:48:10 <Denyerec> Ok..
  • 09:48:15 <Denyerec> featdd sorry about that I was calld away
  • 10:00:25 <Denyerec> From what I can tell, I'm using a "standard" configuration :/
  • 10:01:51 <featdd> I see
  • 10:08:54 <featdd> Denyerec: http://pastebin.com/hzacj5eJ
  • 10:09:06 <Denyerec> *click*
  • 10:09:17 <featdd> thats how I implement a news config
  • 10:09:27 <Denyerec> that looks like tx_news
  • 10:09:30 <Denyerec> not tt_news
  • 10:09:38 <Denyerec> As it deals with the controller and action
  • 10:09:41 <featdd> postVarSets are just used to hide controler and aciton
  • 10:09:57 <featdd> ah
  • 10:09:59 <featdd> mh
  • 10:10:32 <Denyerec> I don't understand this bit either: 'pageuid' => 'newsconfig',
  • 10:14:03 <featdd> pageuid is just a hint to set the pageuid there, newsconfig is a link to the config above
  • 10:16:06 <featdd> as I said, for fixedPostVars you have to set the pageuid manually
  • 10:17:01 <Denyerec> oh
  • 10:17:06 <Denyerec> so you would change that for "32"
  • 10:17:08 <Denyerec> or whatever
  • 10:17:14 <featdd> yep
  • 10:19:59 <Denyerec> featdd - are the postvar sets named after my pages, or the variables in the URL that tt_news introduces
  • 10:20:11 <Denyerec> I'm looking through a lot of German examples
  • 10:20:16 <Denyerec> so obviously the language is different
  • 10:22:02 <featdd> archive, article etc is fix because it's the postvar type title
  • 10:22:58 <featdd> that's because i meant to seperate the plugins on pages, it makes translation in url much easier
  • 10:28:37 <Denyerec> Thing is...
  • 10:28:46 <Denyerec> I'm using the RealURL / tt_news sample config
  • 10:28:51 <Denyerec> it's just... shit for SEO :/
  • 10:29:04 <Denyerec> You can get to any news article via 4 URLs
  • 10:29:09 <Denyerec> None of them nice :/
  • 10:31:52 <featdd> cant use tx_news?
  • 10:33:32 <featdd> Denyerec: http://www.fsmedia.at/blog/artikel/wirklich-schoene-urls-mit-tt-news-und-realurl.html
  • 10:33:48 <Denyerec> Nah, I figure, cost to upgrade the site is higher than trying to figure this out
  • 10:34:19 <featdd> Denyerec: https://www.fiedomedia.de/news/artikel/typo3-ttnews-realurl-pfad-verkuerzen/
  • 10:34:34 <Denyerec> Problem is, it's so long since I set this up, I don't remember much of it :/
  • 10:34:35 <featdd> try the configs in the two links I sent
  • 10:34:50 <Denyerec> Can you check the 3 news articles on the frontpage of the site ?
  • 10:34:59 <Denyerec> they automatically link through to the horrible /archive/ URL s tructure
  • 10:35:03 <Denyerec> and I can't figure that out either.
  • 10:35:20 <Denyerec> They are generated through a TS created tt_news plugin
  • 10:37:13 <featdd> archive is generated by realurl because its a postVarSet prefix
  • 10:38:11 <Denyerec> I can JUST about understand you when you say that ;)
  • 10:38:16 <Denyerec> I am tryin so hard to remember everything
  • 10:38:20 <Denyerec> Here is my TS config btw:
  • 10:38:25 <Denyerec> I wonderi fsomething in that is buggering it
  • 10:38:49 <Denyerec> http://pastebin.com/WeVa30tS
  • 10:46:01 <Denyerec> typo3 makes me so stressed I start to feel sick :/
  • 10:52:10 <featdd> the ts config is unnecessary for that
  • 11:00:52 <Denyerec> i need to stop it generating ARCHIVE style links.
  • 11:00:53 <Denyerec> SOmehow.
  • 11:16:54 <Denyerec> ok featdd - I made some progress
  • 11:17:14 <Denyerec> The tt_news option useHRDatesSingle was causing the archive links to appear everywhere
  • 11:17:30 <Denyerec> Now I just have the issue that I have /news/article/article/title-of-the-news
  • 11:17:40 <Denyerec> and really I want either just 1 article, or none preferably :)
  • 14:51:47 <Outdoorsman> Somebody's busy :)
  • 21:21:22 <NamelessCoder> spam bam thank you ma'am