#silverstripe IRC Log

IRC log for 27 June 2013

All timestamps are in UTC.

1: [00:00:27] <spronk> indeed
2: [00:00:33] <spronk> but
3: [00:00:36] <ss23> interprise?
4: [00:00:38] <spronk> it does share one qualtiy with enterprise software
5: [00:00:42] <spronk> it's abysmally shit
6: [00:00:46] <ss23> lol spronk ++
7: [00:00:50] <unsignedint> surely they'd choose something thats made by a contractor and uses JSP or something, or ASP.NET (webforms because MVC isnt enterprisey enough) and SQL Server where all data access is via stored procedures
8: [00:01:02] <spronk> lol
9: [00:01:05] <spronk> microsoft isn't enterprise
10: [00:01:11] <unsignedint> oracle then
11: [00:01:16] <spronk> now you're talking
12: [00:01:17] <spronk> :D
13: [00:01:24] <ss23> lol
14: [00:01:31] <ss23> Isn't novopay in some shitty oracle thing?
15: [00:01:44] <ss23> oracle forms or something...
16: [00:01:47] <spronk> think it uses a fair whack of oracle tech
17: [00:01:59] <spronk> if you can call what oracle do "tech"
18: [00:02:02] <ss23> lol
19: [00:02:08] <ss23> Down to 12 tickets requiring my attention!
20: [00:02:14] <spronk> as opposed to, say, snake oil
21: [00:02:19] <unsignedint> the most enterprisey thing ive come across in my job is Magic Unipaas, and its a piece of shit
22: [00:02:50] <ss23> aha, I noticed another stupid thing that the OSX terminal does. If you SSH to somewhere, then exit, the window title retains the SSH stuff
23: [00:03:01] <unsignedint> i noticed that too
24: [00:03:28] <unsignedint> another annoyance is that you cant easily skip to the start and the end of the line
25: [00:03:31] * spronk rolls eyes
26: [00:03:38] <spronk> home/end?
27: [00:03:53] <spronk> pretty sure they fixed that a few releases agao
28: [00:03:55] <unsignedint> nah that does pageup/pagedown
29: [00:04:04] <spronk> fixed as in, made home/end work like everywhere else
30: [00:04:18] <simon_w> crtl-a/ctrl-e
31: [00:04:22] <unsignedint> its not fixed, it scrolls to the top of the window and to teh bottom respectively
32: [00:04:30] <unsignedint> ooh you're right
33: [00:04:31] <spronk> unsignedint: you can alter keybindings to fix it
34: [00:04:48] * spronk can't stand not havnig home and end as start/end of line
35: [00:04:48] <simon_w> unsignedint, also, cmd-left and cmd-right
36: [00:04:57] <unsignedint> why cant it be "macfag-key left-arrow" and "macfag-key right-arrow" like sublime
37: [00:04:59] * simon_w can't stand not having home/end as top/bottm
38: [00:05:08] <simon_w> unsignedint, uh, it is
39: [00:05:08] <ss23> oh god es the ctrl + a / ctrl + e is SO ANNOYING
40: [00:05:20] <ss23> That's annoying cause it's different though, I'm fine with the idea, I'll get used to it
41: [00:05:25] <unsignedint> simon_w: on mine its alt-left and alt-right
42: [00:05:27] <ss23> the SSH title shit is annoying cause it might as well be a bug
43: [00:05:43] <simon_w> unsignedint, that's per word
44: [00:05:45] * unsignedint doublechecks keybindingd
45: [00:06:22] <simon_w> Woo, base of this module done!
46: [00:06:33] <simon_w> Now, session expiration...
47: [00:06:42] <spronk> windows/linux do this a bit better than osx
48: [00:06:46] <spronk> at least they are consistent with home/end
49: [00:06:52] <unsignedint> indeed
50: [00:06:53] <spronk> osx is a bit all over the place
51: [00:07:06] <spronk> most apps these days use home for start of line etc but some holdouts still around
52: [00:07:11] <unsignedint> sssh youll affend the macfags
53: [00:07:18] <unsignedint> err
54: [00:07:21] <unsignedint> offend*
55: [00:07:33] <simon_w> spronk, apps that override the default behaviour of home/end really shouldn't
56: [00:08:28] <simon_w> Like the ones that change what up and down mean on the first and last lines
57: [00:08:44] <unsignedint> does anyone else get annoyed by the lack of tabs in Finder, and the lack of rightclick -> create new file?
58: [00:08:55] * simon_w has tabs in Finder!
59: [00:09:06] <unsignedint> simon_w: using a 3rd party extension that you have to pay for?
60: [00:09:08] * spronk doesn't care about finder tabs
61: [00:09:11] <simon_w> nope
62: [00:09:20] <simon_w> Built in and everything
63: [00:09:52] <unsignedint> pre-release of OSX?
64: [00:10:08] <simon_w> yup
65: [00:10:24] <unsignedint> about effing time they did that, GNOME/KDE have had tabbed file browsing for years
66: [00:10:43] <simon_w> Still don't use it
67: [00:11:01] <unsignedint> really? I use it all the time, especially when transferring files between directories
68: [00:11:03] <spronk> gnome has tabbed browsing?
69: [00:11:08] <spronk> you mean, they didn't take that out when they removed all the features?
70: [00:11:09] <unsignedint> spronk: Nautilus does
71: [00:11:12] <unsignedint> hahaha
72: [00:11:43] * unsignedint uses cinnamon anyway
73: [00:11:47] <simon_w> Side-by-side is much nicer for moving files. Much bigger drop area
74: [00:12:18] <unsignedint> but then you have 2 windows to manage
75: [00:12:24] <simon_w> So?
76: [00:12:31] <simon_w> Otherwise you have two tabs to manage
77: [00:12:38] <Pyromanik> 12:10 < spronk> you mean, they didn't take that out when they removed all the features?
78: [00:12:41] <Pyromanik> lulz
79: [00:12:46] <spronk> :D
80: [00:16:49] <ss23> Oh btw guise, simon_w etc, ISIG tonight?
81: [00:17:06] <Pyromanik> ISIG?
82: [00:17:13] <ss23> http://isig.org.nz/
83: [00:17:20] <ss23> drink beer, talk hax
84: [00:17:49] <Pyromanik> sif
85: [00:17:55] <Pyromanik> ain't no one in CHC care about security
86: [00:17:58] <ss23> lol
87: [00:18:01] <spronk> :O
88: [00:18:03] <ss23> They said they have a chch one!
89: [00:18:07] <Pyromanik> they lied
90: [00:18:07] <spronk> shut yo face!
91: [00:18:14] <Pyromanik> no location
92: [00:18:17] <Pyromanik> therefore no group
93: [00:18:18] <spronk> SECS 4 LYFE!
94: [00:18:19] <ss23> lol
95: [00:18:25] <ss23> I gave you like 20 sex already!
96: [00:18:36] <spronk> hmm
97: [00:18:37] <Pyromanik> 20secs is all you need for sex
98: [00:18:38] <spronk> didn't feel that
99: [00:18:39] <Pyromanik> ss23:
100: [00:18:45] <spronk> must have a micro
101: [00:18:59] <ss23> lol
102: [00:19:21] <Pyromanik> .htaccess halp
103: [00:19:41] <Pyromanik> want to domain/ss/blah to domain/blah transparently
104: [00:19:55] <Pyromanik> iff domain == blah.tld
105: [00:20:06] <Pyromanik> whatdo?
106: [00:20:09] <ss23> mod_rewrite ^ss/ /
107: [00:20:10] <ss23> something
108: [00:20:15] <ss23> y u care about domain?
109: [00:20:15] <Pyromanik> yeah but... no
110: [00:20:20] <Pyromanik> because subsites
111: [00:20:26] <Pyromanik> then client updated one site but not other.
112: [00:20:29] <Pyromanik> because PITA
113: [00:20:35] <Pyromanik> OOOH, I know
114: [00:20:37] <ss23> blurgh
115: [00:20:38] <Pyromanik> I'll lulz it
116: [00:20:49] <Pyromanik> DocumentRoot
117: [00:20:54] <Pyromanik> in VirtualServer
118: [00:20:57] <Pyromanik> :D
119: [00:21:33] <Pyromanik> I wonder if it'll let me
120: [00:22:01] <simon_w> Yeah, it does
121: [00:22:30] * mobiusnz has joined #silverstripe
122: [00:29:24] <Colin[pi]> complete online registration/application system with backend built in 10 hours, thanks silverstripe :)
123: [00:30:07] <simon_w> This code's at a state where I can release it :)
124: [00:34:50] <ss23> Nice, simon_w!
125: [00:35:16] <ss23> Does /dev/build deal with the assets folder? That is, 'adding' assets that exist there but not in the DB, and deleting from the DB if they odn't exist in that folder anymore?
126: [00:35:19] <ss23> simon_w: lunch?
127: [00:35:29] * Peavers has joined #silverstripe
128: [00:35:42] <simon_w> ss23, nope. That's dev/tasks/FilesystemSyncTask
129: [00:35:54] <simon_w> Could do. Need to reply to this email first.
130: [00:35:59] <Peavers> is there date formatting for st, nd, rd and th in the template?
131: [00:36:23] <Peavers> built in I should say...
132: [00:36:24] <simon_w> Peavers, $date.format(S)
133: [00:36:39] <ss23> simon_w: No problems. Just let me know when I need to leave to meet you out there on time :D
134: [00:37:39] <Peavers> cheers simon_w,
135: [00:49:04] <simon_w> ss23, be there in 5
136: [00:49:14] <Peavers> I'll be there in 5 too
137: [00:50:48] <Colin[pi]> Me too
138: [00:50:58] <spronk> omfg
139: [00:51:05] <Peavers> Sweet, I'll follow you Colin[pi] because I don't know where we are going
140: [00:51:06] <spronk> if you're having burgerfuel
141: [00:51:07] <spronk> i'll kill you all
142: [00:51:08] <spronk> :(
143: [00:51:24] * zebra_ has joined #silverstripe
144: [00:51:59] <ss23> omg
145: [00:52:01] <ss23> he said that 5 mins ago
146: [00:52:02] <ss23> bbl
147: [00:52:12] * zebra_ quit (Client Quit)
148: [00:52:13] <Peavers> lol ss23 is in soo much trouble!
149: [00:52:21] <ss23> wait no
150: [00:52:21] <Colin[pi]> :D
151: [00:52:25] <ss23> I have like 60 seconds left
152: [00:52:26] <ss23> *phew*
153: [00:52:38] <ss23> wonder how long this backup script will take
154: [00:52:42] <ss23> might have to get noms and just do it when it gets back
155: [00:53:01] <ss23> meh, bbl! NOMS~
156: [00:54:16] * Jayden90 quit (Quit: Jayden90)
157: [01:10:02] * EasyCo has joined #silverstripe
158: [01:11:34] <EasyCo> Hey guys, is there a $LinkingMode style method which returns a value if the current page is a child of that link?
159: [01:12:05] <Colin[pi]> what like section?
160: [01:12:09] <spronk> mm
161: [01:12:11] <spronk> linkorsection ?
162: [01:12:27] <spronk> $LinkOrSection *
163: [01:13:27] <EasyCo> Hmm, hang on… I might have just messed something up
164: [01:15:07] * mobiusnz quit (Quit: Leaving.)
165: [01:17:53] <Pyromanik> EasyCo: $LinkingMode returns link, current or section.
166: [01:18:29] <EasyCo> Yah got that, it's just not working at the moment. Investigating...
167: [01:19:38] <EasyCo> I think I broke it since I override the requestHandler
168: [01:20:01] * Bollig|DesignCty has joined #silverstripe
169: [01:20:44] <EasyCo> Hmm, actually no. I just never get section. I only ever get either link or current.
170: [01:23:13] <Pyromanik> EasyCo: you should.
171: [01:24:24] * ajshort has joined #silverstripe
172: [01:28:02] <ss23> Oh man Pyromanik, I'm beginning to get bored of burger fuel, you know what I mean?
173: [01:28:52] <ss23> irogue: who is Keith Humm?
174: [01:29:21] <spronk> me
175: [01:29:29] <ss23> :OOOOO
176: [01:29:52] <spronk> i followed you on that fucking bird thing
177: [01:29:54] <ss23> the "ey" threw me off
178: [01:29:57] <ss23> lol
179: [01:30:02] <ss23> that fucking
180: [01:30:03] <ss23> OH MAN
181: [01:30:06] <ss23> I forgot to get my drinking birdies
182: [01:30:07] <ss23> ;_;
183: [01:30:12] <ss23> I left them at my parents...
184: [01:30:13] <ss23> oh man
185: [01:30:14] <ss23> :<
186: [01:30:15] <spronk> o_O
187: [01:31:57] * pex quit (Quit: pex)
188: [01:34:05] <ss23> Backstreet boys stuck in my head :<
189: [01:34:22] <spronk> ALRIGHT!
190: [01:34:35] <ss23> spronk: Don't care who you are! Where you're from!
191: [01:34:37] <ss23> Don't care what you did!
192: [01:34:39] <ss23> AS LONG AS YOU LOVE ME
193: [01:34:57] <Colin[pi]> backdoor boys
194: [01:35:42] <ss23> lol
195: [01:35:57] <ss23> Don't care what you escape, when you update, don't care who audited you, as long as you root me?
196: [01:36:04] <spronk> man
197: [01:36:07] <spronk> backstreet boys
198: [01:36:13] <simon_w> wrong backdoor ss23 ;)
199: [01:36:13] <spronk> i remember listening to them when i was about 10
200: [01:36:56] <ss23> lol sim
201: [01:36:58] <ss23> lol simon_w
202: [01:37:04] <Colin[pi]> lol
203: [01:38:43] <simon_w> Refactoring time!
204: [01:40:46] <Colin[pi]> wow I'm actually starting to get the hang of this silverstripe caper
205: [01:40:55] <simon_w> Hmm, just noticed I have to be rather careful when using composer
206: [01:40:55] <spronk> caper?
207: [01:40:56] <simon_w> origin git@github.com:silverstripe/silverstripe-framework.git (push)
208: [01:41:07] <Colin[pi]> (which translates to not needing to refer to the docs/api all the time ;P)]
209: [01:41:10] <ss23> simon_w: That's not a problem for us people who don't have commit access :D
210: [01:41:13] <ss23> Colin[pi]: nice
211: [01:41:33] <Colin[pi]> (or ask simon_w questions all the time)
212: [01:42:09] <simon_w> Oh look, some of the packages on packagist got changed
213: [01:42:49] <simon_w> You can tell because a composer update has to redownload the meta data
214: [01:48:09] <simon_w> Ooh, sneaky phishers. Looks like they've given up on hosting themselves and just exploit wordpress installs
215: [01:49:46] <ss23> simon_w just got phised and had the SAML module infected
216: [01:49:46] <ss23> :I
217: [01:49:48] <ss23> :O
218: [01:50:20] <simon_w> Something like that
219: [01:50:20] <Colin[pi]> :o
220: [01:52:48] <Colin[pi]> I worked with a guy once who got successfully phished by a paypal scam
221: [01:53:00] <Colin[pi]> asked for all of his details via an email and subsequent link
222: [01:53:27] <simon_w> I told them my ID was 1234567 and my password was password
223: [01:53:36] <Colin[pi]> he thought nothing of it until we started talking about these clever paypal scams on email, and he went white as a sheet and ran off to his computer LOL
224: [01:53:38] <ajshort> simon_w: I try to use HTTP when cloning framework, that way I don't accidentally push all the time :)
225: [01:53:39] <simon_w> The ASB phishing thing I filled out was much more detailed
226: [01:53:55] <simon_w> ajshort, so do I, but composer doesn't :p
227: [01:55:00] <ajshort> annoying
228: [01:55:06] <ajshort> I wish you could disable direct push :)
229: [01:55:15] <ajshort> or something
230: [01:55:37] <simon_w> You can, just not with github :p
231: [01:56:40] <simon_w> From what I can tell, it's a fairly common flow to have only an integration bot be allowed to do non-forced pushes to master
232: [02:01:13] * nimeso has joined #silverstripe
233: [02:02:06] <nimeso> Hi ya all :) I have a very strange issue with SortableDataObject in ss2.4
234: [02:02:17] <EasyCo> Ahhh. LinkingMode isn't' returning 'section' because isSection() checks to see is the current page is an instance of SiteTree.
235: [02:02:21] <nimeso> anyone keen to hear my sob story?
236: [02:02:26] <nimeso> lol
237: [02:03:37] <EasyCo> Why would isSection check to see if the current page is an instance of SiteTree?
238: [02:05:13] <nimeso> SortOrder is def in the database but when I do DataObject::get("Product") and dump the results all SortOrders say 0 even thou the database says they have Int eg: 13,12,9,0,0 etc
239: [02:09:51] <Pyromanik> SortOrder is balls
240: [02:10:19] <Pyromanik> EasyCo: why wouldn't it?
241: [02:10:24] <Pyromanik> errr, why wouldn't it be*?
242: [02:11:20] <EasyCo> Thats'' a good question.
243: [02:11:54] <EasyCo> I'll try to explain this as best I can.
244: [02:12:04] <nimeso> Pyro... cheers bro, very helpful... sigh
245: [02:13:01] <nimeso> l'm not about to upgrade this site at the moment (bloody huge) so stuck with DataObjectManager
246: [02:13:41] <Pyromanik> nimeso: oh, 2.4. You should have specified ;)
247: [02:13:55] <Pyromanik> also, more info required, yes
248: [02:13:57] <nimeso> Why would SortOrder have values in the Products table but when I use DataObject::get it returns 0
249: [02:14:13] <nimeso> Pyro... ;)
250: [02:14:14] <Pyromanik> because it's not applied to your class?
251: [02:14:18] <Pyromanik> or it's not being fetched?
252: [02:14:27] <Pyromanik> ie, query isn't being modified to include it in the SELECT
253: [02:15:00] <Pyromanik> perhaps because you overrode the method it uses to hook the query?
254: [02:15:08] <nimeso> Nope it is applied to the class. using SortableDataObject::add_sortable_class('Product'); ... I even tested by adding it to $db manually on Product.php
255: [02:15:16] <Pyromanik> 14:14 < Pyromanik> perhaps because you overrode the method it uses to hook the query?
256: [02:15:29] <nimeso> Checked for random methods with same name... nadda
257: [02:15:34] <nimeso> voodoo
258: [02:15:36] <Pyromanik> no
259: [02:15:37] <Pyromanik> I mean
260: [02:15:48] <Pyromanik> $this->extend('updateQuery') or whatever it is
261: [02:16:16] <Pyromanik> if that's even a thing
262: [02:16:30] <Pyromanik> I mean , I know it is, but not sure if DO::get uses that method
263: [02:16:37] <nimeso> Ok, I'll check... but not as far as I'm aware... thanks heap Pyro! driving me nutz for 2 hours now
264: [02:16:47] <Pyromanik> are you connect to correct server?
265: [02:16:53] <nimeso> LOL
266: [02:17:01] <Pyromanik> I've done that one for 2 hours before :<
267: [02:17:05] <nimeso> yes ... sigh... if only that simple
268: [02:17:09] <ss23> Editing wrong file is annoying too
269: [02:17:13] <nimeso> same!
270: [02:17:17] <ss23> SSH'd into wrong server, editing file with the right name...
271: [02:17:26] <Pyromanik> yeh
272: [02:17:46] <nimeso> Yip... have dumps everywhere and it all 'seems' fine... correct server/files
273: [02:19:22] <irogue> [14:17] <nimeso> Yip... have dumps everywhere
274: [02:19:31] <irogue> gross
275: [02:20:04] <nimeso> I can see SortOrder in the database using phpMyAdmin and they have values eg: 13,12 etc etc... but when I dump the object in the controller it DOES have a SortOrder attribute but they all come back 0. HAHAHA irogue... like my cat
276: [02:23:02] <EasyCo> Imagine you have a CMS site tree. ParentPage->ChildPage. When somebody goes to the URL ParentPage/ChildPage I override the requestHandler and ChildPage becomes an $Action parameter. I then handle loading ChildPage within ParentPage using a custom controller method.
277: [02:24:41] <nimeso> EasyCo... use the controllers index() function to check parms and then redirect
278: [02:25:16] <nimeso> EasyCO... I've got a meeting now but can send some code if you get stuck in about 20 mins
279: [02:25:56] <EasyCo> nimeso: It's all good, it's a bit more complex then that. And it all works. I'm just trying to explain why the page isn't an instance of SiteTree
280: [02:26:06] <EasyCo> But obviously explaining badly
281: [02:26:40] <nimeso> Nope meeting on hold... thank god
282: [02:29:27] <ss23> Some clients
283: [02:29:31] <ss23> "plz put this on top"
284: [02:29:45] <nimeso> Pyro... It seems that my Product table has SortOrder values correctly BUT my Product_live table only has 0's... thinking this is the issue? any thoughts? the SortOrder updates fine when I drag and drop but does not update the _live table
285: [02:29:48] <ss23> *do it* "um please put it on top" "do you mean on the bottom...?" "are you suggesting putting it on the bottom?"
286: [02:29:51] <ss23> I'm so confused
287: [02:30:27] <unsignedint> ss23: I know your pain
288: [02:30:37] <nimeso> same
289: [02:35:14] <EasyCo> Ahh got it
290: [02:36:10] <EasyCo> I wasn't setting the current page in my overriding handleRequest method before passing it on to Controller:handleRequest() (I bypass ContentController::handleRequest())
291: [02:36:23] * ajshort quit (Ping timeout: 250 seconds)
292: [02:40:32] <spronk> jamie, you published allt he pages?
293: [02:40:45] <spronk> are they pages?
294: [02:40:52] <spronk> probably not
295: [02:40:54] <spronk> nvm
296: [02:43:08] <spronk> nimeso: /dev/builded?
297: [02:48:10] * Motoservo quit (Read error: Connection reset by peer)
298: [02:50:12] * Motoservo has joined #silverstripe
299: [02:51:32] <irogue> tfw you're thinking something stinks, then realise its yourself
300: [02:51:43] <spronk> heh
301: [02:51:45] <spronk> yeah..
302: [02:51:49] <spronk> have that a lot working frmo home
303: [02:51:52] <nimeso> Spronk!!!! luv ya man! yes... done build... sigh
304: [02:51:53] <spronk> daily showers aren't so important :P
305: [02:52:13] <spronk> nimeso: hmm. tried witha completely fresh database?
306: [02:52:23] <nimeso> lol... did recently change my php.ini to use camel case?
307: [02:52:32] <spronk> err.. wh?
308: [02:52:53] <ss23> wtf, this is meant to be an electronic/alt channel on grooveshark and it's playing an Umbrella Rihana remix that's really bad
309: [02:53:00] <ss23> It was good the other day
310: [02:53:00] <ss23> :<
311: [02:53:08] <spronk> sif you need grooveshark
312: [02:53:15] <spronk> just listen to Get Lucky on repeat all day
313: [02:53:17] <ss23> we had this discussion the other day.
314: [02:53:21] <ss23> lol spronk
315: [02:53:30] <nimeso> nope I lie spronk... I did not
316: [02:53:37] <spronk> someone found a fucking win remix of that...
317: [02:53:53] <nimeso> I really can't start with clean DB... 4000+ products already in it
318: [02:54:21] <spronk> nimeso: i mean just to test
319: [02:54:49] <spronk> nimeso: to find out if its your code, or something outside the code itself
320: [02:55:00] <spronk> nimeso: can you pastebin the code?
321: [02:55:23] <nimeso> spronk: yip yip
322: [02:55:31] <ss23> oh god, this sounds like more guitar bs
323: [02:55:37] <ss23> where is the electroinca
324: [02:58:02] <nimeso> spronk: http://www.sspaste.com/paste/show/51cba99806580 down bootm I've put my config entry the adds Sortable..
325: [02:58:26] <spronk> LET ME HAVE A LOOK SON
326: [02:58:45] <nimeso> I'll try a clean db
327: [02:58:50] <nimeso> see what happens
328: [02:59:12] <spronk> ah
329: [02:59:13] <spronk> it is a page
330: [02:59:23] <nimeso> AFK for a bit... ta heaps spronk... don't waste heaps of time helping... yes it is a page
331: [02:59:25] <nimeso> ;)
332: [02:59:52] <spronk> pages are already sortable
333: [02:59:53] <spronk> are they not?
334: [02:59:55] * unsignedint quit (Remote host closed the connection)
335: [03:01:02] <spronk> nimeso: have you stuck a dump in augmentSQL of SortableDataObject to see whether it's being called?
336: [03:01:24] <nimeso> Yes they are... BUT I have a has_many thing going on with Brands... I need differant sorting when viewing produxts listed under a brand
337: [03:02:12] <nimeso> Spronk... how do I pm you without everyone seeing?
338: [03:02:14] <nimeso> lol
339: [03:02:46] <spronk> add my work skype
340: [03:02:47] <spronk> keith.humm
341: [03:02:53] <spronk> or /msg :P
342: [03:09:11] <Pyromanik> how to stop firefox from being shit at life?
343: [03:09:18] <Pyromanik> domain .com requires ctrl+f5
344: [03:09:25] <Pyromanik> but domain.com forces www.
345: [03:09:38] <Pyromanik> www. is not cached as a redirect in firefox to domain.com
346: [03:09:43] <Pyromanik> is cached*
347: [03:09:52] <Pyromanik> derp derp derp firefox
348: [03:10:01] <Pyromanik> used 'forget about this site'
349: [03:10:05] <Pyromanik> obviously hasn't.
350: [03:12:50] <spronk> hmm
351: [03:12:52] <spronk> yeah
352: [03:13:01] <spronk> i stopped using firefox a while ago
353: [03:13:07] <spronk> opera and canary now
354: [03:13:57] * mobiusnz has joined #silverstripe
355: [03:14:40] <spronk> hmm
356: [03:14:50] <spronk> opera is pissing me off something wicked though, seems to stop loading shit after it's been open for a few hours
357: [03:15:00] <spronk> also, chews more memory than my mum
358: [03:15:40] * spronk has left #silverstripe
359: [03:16:13] * spronk has joined #silverstripe
360: [03:16:30] <spronk> that get lucky cover: http://www.youtube.com/watch?v=s6NDY8FSr9M
361: [03:17:52] <spronk> fucking lickable, that
362: [03:21:12] <simon_w> spronk, the Blink version?
363: [03:22:51] <spronk> ?
364: [03:23:31] <simon_w> of Opera
365: [03:23:57] <spronk> oh, nah 12.something, last Presto
366: [03:24:55] <simon_w> Huh, I've got no problems with it
367: [03:25:07] <spronk> mm, it seems a bit sporadic
368: [03:25:22] <spronk> some kind of memory leak.... when I get to my computer in the morning opera is sitting there eating 4GB+ of RAM
369: [03:25:47] <spronk> well
370: [03:26:01] <simon_w> mmm, tasty ram
371: [03:26:12] <spronk> 4000000KB+ of ram :P
372: [03:26:28] <spronk> 32bit so probably shouldn't be eating any more than that o_O
373: [03:34:20] <simon_w> Hmm, feeling dehydrated but don't want to go outside. What to do...
374: [03:34:39] <EasyCo> Bear Grylls would know what to do.
375: [03:35:14] <spronk> your mum would, too
376: [03:35:16] <spronk> ;D
377: [03:35:29] <EasyCo> Oh snap.
378: [03:35:46] <spronk> maturity level ++
379: [03:36:06] <simon_w> Well, your mum's not here to provide any sort of bodily fluid
380: [03:36:34] <EasyCo> * tumble weed rolls by...
381: [03:36:48] <spronk> * rattlesnake
382: [03:37:22] <EasyCo> * cayote
383: [03:37:41] <spronk> YYUEAH
384: [03:46:43] * cloph_away has joined #silverstripe
385: [03:48:02] * cloph quit (Ping timeout: 252 seconds)
386: [03:48:25] <Pyromanik> how to git on a mac?
387: [03:48:35] <Pyromanik> mac ports install git?
388: [03:49:04] <spronk> its installed with mac dev tools isn't it?
389: [03:49:14] <Pyromanik> f
390: [03:49:21] <Pyromanik> f'd if I know
391: [03:50:24] <spronk> in any case
392: [03:50:28] <spronk> just get from git-scm.org
393: [03:57:02] <Pyromanik> how to see .files in finder?
394: [03:57:10] <Pyromanik> intuitive my arse.
395: [03:57:19] <spronk> in osx?
396: [03:57:21] <Pyromanik> yes
397: [03:57:41] <Pyromanik> ie, .htaccess and .gitignore
398: [03:57:49] <Pyromanik> (and .git)
399: [03:57:49] <spronk> use terminal
400: [03:57:52] <Pyromanik> f that
401: [03:57:52] <spronk> and ls -a
402: [03:57:54] <spronk> or
403: [03:57:55] <Pyromanik> no
404: [03:58:02] <Pyromanik> turn on hidden files in finder?
405: [03:58:04] <spronk> http://somethingididnotknow.wordpress.com/2013/02/16/showhide-hidden-files-in-mac-os-with-a-keyboard-shortcut/
406: [03:58:38] <spronk> also, http://hints.macworld.com/article.php?story=20090915152215383 for open close
407: [04:01:41] <simon_w> Pyromanik, defaults write com.apple.find AppleShowAllFiles -bool yes
408: [04:01:41] <simon_w> killall Finder
409: [04:15:42] <Pyromanik> simon_w: so extremely intuitive then.
410: [04:15:59] <simon_w> Pyromanik, usually, files are invisible for a reason
411: [04:16:19] <Pyromanik> yeah, but when any ol' file with a . in front of it is considered hidden...
412: [04:16:36] <Pyromanik> guess that's why winderps has a system flag
413: [04:17:55] <irogue> well, dot files being hidden is a *nix thing
414: [04:18:03] <Pyromanik> and OSX is...
415: [04:18:03] <irogue> OSX has a flag for hidden, but also respects the *nix way
416: [04:18:08] <Pyromanik> yeah
417: [04:18:24] <Pyromanik> so perhaps hidden flag should be respected and .file optional?
418: [04:18:25] <spronk> its a hidden fucking flag, though
419: [04:18:31] <spronk> no UI for it
420: [04:18:39] <Pyromanik> no UI for dot files either
421: [04:18:41] <spronk> PITA, esp when OSX has a keyboard shortcut to show hiddens in open dialogs
422: [04:18:47] <Pyromanik> OSX: NO UI FOR ANYTHING!
423: [04:18:50] <irogue> lol
424: [04:18:54] <spronk> just like gnome3
425: [04:18:56] <irogue> commandline obv :P
426: [04:19:00] <irogue> ls -la
427: [04:19:00] <irogue> ;)
428: [04:19:07] <Pyromanik> just magically expected to know all the keyboard shortcuts
429: [04:19:12] <Pyromanik> like print screen and shiz
430: [04:19:22] * wmk has joined #silverstripe
431: [04:19:25] <Pyromanik> alias la="ls -la"
432: [04:19:28] <wmk> good morning
433: [04:19:31] <Pyromanik> gidday
434: [04:19:37] <simon_w> There's no inbuilt UI for making files hidden? Oh noes!
435: [04:19:41] <ss23> alias ls='ls --color=always'
436: [04:21:30] <ss23> A single client still has 50% of my support tickets :<
437: [04:22:03] <simon_w> alias hide_file="SetFile -a V"
438: [04:22:04] <simon_w> alias show_file="SetFile -a v"
439: [04:22:04] <spronk> and you still haven't fixed my subsites bugs
440: [04:22:10] * Jayden90 has joined #silverstripe
441: [04:22:11] * spronk is waiting, ss23
442: [04:23:27] <simon_w> "Fatal error: Cannot use object of type pocketrent\esaa\IDPMetadata as array"
443: [04:23:27] <simon_w> Yay. I broke it!
444: [04:23:51] <ss23> spronk: I'm hearing a lot of talk about subsites recently!
445: [04:23:54] <ss23> Mainly "holy crap this is bad"
446: [04:24:10] <spronk> haha
447: [04:24:13] <spronk> from whom?
448: [04:24:27] * spronk has been particularly vocal in here about it :p
449: [04:26:41] * streetspirit has joined #silverstripe
450: [04:28:19] <streetspirit> Anyone here?
451: [04:29:16] <simon_w> Nope
452: [04:30:07] <EasyCo> Only ghosts of Silverstripes past
453: [04:30:36] <spronk> wo ooOoOoOoOo
454: [04:31:09] <Pyromanik> ss23: you realise that could be one?
455: [04:31:15] <Pyromanik> (ticket)
456: [04:36:37] <ss23> Pyromanik: What do you mean?
457: [04:37:01] <streetspirit> :D
458: [04:37:09] <mobiusnz> I never knew pacman could be so terrifying
459: [04:37:11] <mobiusnz> http://www.kongregate.com/games/briderider/fps-man
460: [04:39:19] <streetspirit> Guys i have a nasty issue in Silverstripe 2.3.2, anyone with a will to help?
461: [04:40:13] <streetspirit> http://www.silverstripe.org/general-questions/show/24030
462: [04:40:24] <simon_w> 2.3.2? :o
463: [04:40:41] <streetspirit> well, not my fault
464: [04:41:08] <Peavers> lol Pyromanik did you see adobe cloud was cracked within 24 hours ?
465: [04:41:23] <simon_w> Home time!
466: [04:44:18] * unsignedint has joined #silverstripe
467: [04:47:01] <Pyromanik> Peavers: lolno
468: [04:47:11] <Pyromanik> Peavers: it makes me so happy to know though
469: [04:47:27] <Pyromanik> 16:20 <@ss23> A single client still has 50% of my support tickets :<
470: [04:47:40] <Pyromanik> 16:30 < Pyromanik> ss23: you realise that could be one?
471: [04:47:46] * SamMargalit has joined #silverstripe
472: [04:47:55] <Pyromanik> 1 ticket out of 2 is 50%
473: [04:49:58] <ss23> Oh I see
474: [04:50:02] <ss23> Yeah, I wish I had 2 tickets!
475: [04:50:03] <ss23> :P
476: [04:50:06] <ss23> Actually, I have 9 atm
477: [04:50:09] <ss23> Which is fucking sweet
478: [04:50:18] <ss23> 39 tickets are in the queue though, I've just only got 9 assigned
479: [04:51:39] * streetspirit quit (Quit: Page closed)
480: [04:57:02] <spronk> adobe cloud? loulz
481: [04:58:46] <wmk> Does a subclass of DBField (e.g.) Enum know, which Dataobject it is linked to?
482: [04:59:23] * mobiusnz quit (Quit: Leaving.)
483: [05:01:42] * nickmolhoek quit (Quit: nickmolhoek)
484: [05:03:50] * sminnee has joined #silverstripe
485: [05:03:50] * sminnee quit (Changing host)
486: [05:03:50] * sminnee has joined #silverstripe
487: [05:19:15] * guzzlefry has joined #silverstripe
488: [05:20:35] <guzzlefry> return new RegistrationForm(new Page_Controller(Page::get()->First()), __FUNCTION__);
489: [05:20:41] <guzzlefry> Can anyone explain to me what this code is going?
490: [05:20:43] <guzzlefry> err
491: [05:20:44] <guzzlefry> doing*
492: [05:21:17] * Peavers quit (Ping timeout: 248 seconds)
493: [05:30:31] * guzzlefry quit (Quit: Leaving.)
494: [05:31:24] <simon_w|air> wmk, nope
495: [05:32:24] * mobiusnz has joined #silverstripe
496: [05:32:32] <wmk> simon_w, just wondering how to get scaffoldformfields translating my enum values
497: [05:33:03] <wmk> i'd like somthing like MyClass.db_MyEnum_Value, according to fieldLabels
498: [05:33:45] <wmk> any idea? or do i have to tell each dropdown to use translated values?
499: [05:37:11] * SightUnseen has joined #silverstripe
500: [05:40:16] * mobiusnz quit (Ping timeout: 252 seconds)
501: [05:40:45] * mobiusnz has joined #silverstripe
502: [05:47:43] * Shrike_Finland has joined #silverstripe
503: [05:53:40] * DigNZ quit (Quit: DigNZ)
504: [05:54:01] <simon_w|air> wmk, subclass and override enumValues() to use $item => _t('Enum.' . $item, $item)
505: [05:56:07] * SightUnseen has left #silverstripe
506: [06:01:40] <wmk> simon_w, $item represents the current value?
507: [06:16:34] <simon_w|air> Well, each value in the array
508: [06:23:40] <Pyromanik> zomg
509: [06:23:42] <Pyromanik> home time
510: [06:23:46] <Pyromanik> weekend!
511: [06:23:48] <Pyromanik> \o/
512: [06:23:50] * Pyromanik quit (Quit: leaving)
513: [06:25:11] * SamMargalit quit (Ping timeout: 250 seconds)
514: [06:39:29] * oddnoc has joined #silverstripe
515: [06:41:08] * Colin[pi] quit (Ping timeout: 240 seconds)
516: [06:46:30] <Shrike_Finland> Hello!
517: [06:47:03] <Shrike_Finland> Is it possible (and how) to hide TinyMCE buttons like image when user is not admin?
518: [06:47:28] <Shrike_Finland> or part of certain user group
519: [06:48:51] <wmk> simon_w, thanks.
520: [06:53:51] * MrJeremy quit (Quit: MrJeremy)
521: [06:54:39] * wmk quit (Quit: nice to meet you ;))
522: [06:59:10] <Shrike_Finland> I think this has some kind of solution for the problem: http://stackoverflow.com/questions/12843814/silverstripe-3-0-how-to-add-different-tinymce-configurations-per-user-group
523: [07:13:45] * Jayden90 quit (Ping timeout: 252 seconds)
524: [07:28:34] * mento has joined #silverstripe
525: [07:29:15] * zippy___ has joined #silverstripe
526: [07:29:17] * zippy__ quit (Ping timeout: 248 seconds)
527: [07:29:18] * zippy___ is now known as zippy__
528: [07:29:46] <mento> does anyone know how the search results of the default sitesearch in (2.4.x) are displayed? Like Randomly, by publish date, by relevance, etc?
529: [07:30:53] * nepgear quit (Ping timeout: 248 seconds)
530: [07:35:41] * FrozenFire quit (*.net *.split)
531: [07:35:41] * robert_ quit (*.net *.split)
532: [07:35:41] * simon_w|air quit (*.net *.split)
533: [07:35:42] * AlphaCactus quit (*.net *.split)
534: [07:35:43] * Motoservo quit (*.net *.split)
535: [07:35:43] * ss-log quit (*.net *.split)
536: [07:35:44] * Kapdap quit (*.net *.split)
537: [07:35:45] * swordsmanz quit (*.net *.split)
538: [07:35:45] * Marvanni quit (*.net *.split)
539: [07:37:58] * nepgear_ has joined #silverstripe
540: [07:37:58] * Motoservo has joined #silverstripe
541: [07:37:58] * robert_ has joined #silverstripe
542: [07:37:58] * swordsmanz has joined #silverstripe
543: [07:37:58] * ss-log has joined #silverstripe
544: [07:37:58] * simon_w|air has joined #silverstripe
545: [07:37:58] * AlphaCactus has joined #silverstripe
546: [07:37:58] * Marvanni has joined #silverstripe
547: [07:37:58] * Kapdap has joined #silverstripe
548: [07:37:58] * FrozenFire has joined #silverstripe
549: [07:38:09] * cloph_away quit (Excess Flood)
550: [07:38:13] * EasyCo quit (Quit: EasyCo)
551: [07:40:23] * cloph_away has joined #silverstripe
552: [07:40:25] * lewellyn quit (Excess Flood)
553: [07:40:33] * lewellyn has joined #silverstripe
554: [07:57:05] * chillu has joined #silverstripe
555: [08:07:11] * PigeonFriend has joined #silverstripe
556: [08:21:53] * micmania1 has joined #silverstripe
557: [08:23:30] * RojoD has joined #silverstripe
558: [08:23:44] * RojoD quit (Changing host)
559: [08:23:44] * RojoD has joined #silverstripe
560: [08:27:10] * [RojoD] has joined #silverstripe
561: [08:30:52] * RojoD quit (Ping timeout: 245 seconds)
562: [08:30:53] * [RojoD] is now known as RojoD
563: [08:30:53] * RojoD quit (Changing host)
564: [08:30:53] * RojoD has joined #silverstripe
565: [08:31:46] * mattybalaam has joined #silverstripe
566: [08:32:55] * mattybalaam quit (Client Quit)
567: [08:38:41] * oddnoc quit (Quit: sleeping...)
568: [08:46:17] * kerosene quit (Ping timeout: 256 seconds)
569: [08:49:45] * Colin[pi] has joined #silverstripe
570: [08:50:29] * nepgear_ is now known as nepgear
571: [08:51:29] * kinglozzer has joined #silverstripe
572: [09:08:15] * SightUnseen1 has joined #silverstripe
573: [09:11:24] * supernovah has joined #silverstripe
574: [09:11:58] <supernovah> Hey guys when using a ComplexTableField to represent some data, I access a "show" form and the date for a particular field always comes up as "01-01-2014, way" for example, the first of January next year"
575: [09:12:05] <supernovah> Where is that "way" coming from, I can't find it anywhere
576: [09:13:07] * oddnoc has joined #silverstripe
577: [09:15:31] * SightUnseen has joined #silverstripe
578: [09:15:31] * SightUnseen1 quit (Read error: Connection reset by peer)
579: [09:17:32] * oddnoc quit (Ping timeout: 260 seconds)
580: [09:18:02] * SightUnseen1 has joined #silverstripe
581: [09:18:03] * SightUnseen quit (Read error: Connection reset by peer)
582: [09:20:22] <Bollig|DesignCty> supernovah: like that actually word 'way'??
583: [09:20:50] <supernovah> yeah
584: [09:20:59] <supernovah> it's randomly showing up in a date field, it doesn't exist in the db
585: [09:21:06] <supernovah> must be coming from ctf's detailform
586: [09:21:46] <Bollig|DesignCty> I'd run a full text search over the ss install looking for 'way'.. it's got to be in there somewhere!
587: [09:22:14] <Bollig|DesignCty> I'm guessing it's not saving into the database like that, perhaps it's in the JS somewhere?
588: [09:22:22] * mattybalaam has joined #silverstripe
589: [09:22:30] <supernovah> comes out of the form
590: [09:22:41] <supernovah> which is made by CTF's DetailForm function
591: [09:24:47] <supernovah> Oh
592: [09:24:59] <supernovah> It's something trying to say "4 months away" for example
593: [09:26:15] <Bollig|DesignCty> ohhhhhhh
594: [09:26:15] <Bollig|DesignCty> well that's helpful. module??
595: [09:26:27] <supernovah> It's just the form CTF makes
596: [09:26:33] <supernovah> it utilises the standard form class
597: [09:35:04] * LimeBlast has joined #silverstripe
598: [09:35:26] <LimeBlast> Hey guys, how do I find out, in a template, what the name of the current page type is?
599: [09:36:21] <supernovah> $Title I think?
600: [09:37:26] <LimeBlast> supernovah, that just gives the current page title... i'm after the page type
601: [09:38:01] <LimeBlast> got it, it's $ClassName
602: [09:38:38] <supernovah> Oh lol
603: [09:41:54] <supernovah> Yeah so my issue is that loadDataFrom is processing the date field for a read-only display, adding "months away" to it
604: [09:42:01] <supernovah> No idea why that would be default behaviour
605: [09:49:06] * kerosene has joined #silverstripe
606: [09:55:32] * mattybalaam quit (Quit: mattybalaam)
607: [10:03:54] * wmk has joined #silverstripe
608: [10:05:12] * mattybalaam has joined #silverstripe
609: [10:07:44] * oddnoc has joined #silverstripe
610: [10:35:41] * nimeso quit (Quit: Page closed)
611: [10:38:27] * openbees has joined #silverstripe
612: [10:40:42] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
613: [10:45:32] * osterlaus has joined #silverstripe
614: [10:54:03] <Marvanni> where is the template variable $CurrentUser set
615: [10:54:07] <Marvanni> in ss 3
616: [10:54:28] <Marvanni> CurrentMember
617: [10:56:20] <Marvanni> ah Member::get_template_global_variables();
618: [10:56:37] <ss23> yay!
619: [10:56:42] <ss23> Glad I helped you figure it out :D
620: [10:59:11] * osterlaus quit (Quit: Leaving.)
621: [11:03:53] * Hippieee has joined #silverstripe
622: [11:21:46] * webdoc has joined #silverstripe
623: [11:27:06] * nikkkkkyy has joined #silverstripe
624: [11:32:02] * zagstrukk has joined #silverstripe
625: [11:32:15] <zagstrukk> hey guys
626: [11:32:36] <zagstrukk> could somebody help me? i have a serious problem here
627: [11:34:39] <zagstrukk> pls
628: [11:34:43] <zagstrukk> somebody
629: [11:34:45] <ec8or_> maybe
630: [11:34:53] <zagstrukk> ^-^
631: [11:35:00] <zagstrukk> so, the thong is
632: [11:35:11] <zagstrukk> *thing
633: [11:35:12] <zagstrukk> :D
634: [11:35:34] <zagstrukk> i'm new to silverstripe
635: [11:35:59] <zagstrukk> and new to xml ( i only have experience in html, css and js)
636: [11:36:22] <zagstrukk> http://gyogyaszterapia.hu/
637: [11:36:25] <zagstrukk> this is the page
638: [11:36:37] <zagstrukk> http://gyogyaszterapia.hu/newsite/
639: [11:36:46] <zagstrukk> and this is the Silverstripe page
640: [11:36:49] <kinglozzer> MY EYES
641: [11:37:06] <zagstrukk> i've been trying to solve this for like 2 hours now
642: [11:37:10] <zagstrukk> but nothing
643: [11:37:20] <zagstrukk> (what, hungarian hurts you? :D )
644: [11:37:27] <kinglozzer> No, the old design :P
645: [11:37:44] <kinglozzer> Hmm, so it's all valid HTML just being output as XML?
646: [11:37:44] <zagstrukk> it isn't mine, i just have to integrate a cms
647: [11:38:20] <kinglozzer> The opening <html> tag has xml:lang="hu", firstly I'd check that that's not in the template
648: [11:38:51] <kinglozzer> Well actually
649: [11:39:17] <zagstrukk> if you check it, you can open the css as text
650: [11:39:19] <kinglozzer> It's a 404 page, which suggests possibly an issue with your .htaccess
651: [11:39:31] <zagstrukk> there is no page yet
652: [11:39:38] <zagstrukk> i just want to make the theme first
653: [11:40:09] <zagstrukk> (i deleted the default index page as well, what i'm not porud of right now)
654: [11:40:16] <kinglozzer> Is your .htaccess rewrite base /newsite/ ?
655: [11:41:03] * oddnoc quit (Read error: Connection reset by peer)
656: [11:41:18] * swordsmanz quit (Ping timeout: 276 seconds)
657: [11:41:40] * oddnoc has joined #silverstripe
658: [11:41:53] <zagstrukk> which one?
659: [11:42:11] <kinglozzer> Inside the /newsite/ folder, the .htaccess file
660: [11:42:59] <supernovah> those css files direct properly for me
661: [11:43:05] <supernovah> except why are you making a site with xml
662: [11:43:31] <zagstrukk> it was in the theme tutorial
663: [11:43:34] <zagstrukk> shouldnt i?
664: [11:44:06] <zagstrukk> the base is rewritten, i think
665: [11:44:10] <supernovah> Most people use Transitional XHTML
666: [11:44:32] <zagstrukk> i'll try to rewrite it to xhtml
667: [11:45:12] <supernovah> If you want to link a css sheet in XML ou do <?xml-stylesheet type="text/css" href="file.css"?>
668: [11:45:38] * nikkkkkyy quit (Ping timeout: 240 seconds)
669: [11:47:09] <supernovah> Also like Kinglozzer said - your /newsite/ says 404
670: [11:47:45] <zagstrukk> i know, there is no pages yet :D
671: [11:47:56] <zagstrukk> but it works, thank you :D
672: [11:48:05] <supernovah> kk
673: [11:49:08] <zagstrukk> is there a variable for the theme images?
674: [11:49:54] <zagstrukk> what i can use in the css
675: [11:50:12] <supernovah> You mean the directory?
676: [11:50:46] <supernovah> I'm pretty sure if you do /newsite/themese/gyogyasz/images and put a folder there it will work
677: [11:51:01] <zagstrukk> nevermind, i found a solution
678: [11:51:12] <zagstrukk> but ty nonetheless :D
679: [11:52:56] * gumble has joined #silverstripe
680: [11:53:56] <gumble> If I have a <% loop menuItems %> and now suddenly just nothing appears anymore, where can I start to search the error?
681: [11:54:18] <supernovah> Without changing anything it stopped working?
682: [11:55:05] <supernovah> Try ?flush=1 and then go to your silverstripe cache, open up the cache template and look for the loop. See what is not converted by ssviewer
683: [11:55:19] <supernovah> that will tell you why it's not working
684: [11:55:40] <supernovah> Or if it is good, then your method menuItems is not functioning
685: [11:57:26] <gumble> it is not a method, it is a $has_many()
686: [11:57:44] <gumble> but thanks for the help I'll do that now
687: [11:59:13] <supernovah> As in a dataobjectset?
688: [12:01:59] <kinglozzer> It'd be a HasManyList
689: [12:03:16] <kinglozzer> gumble: Alternatively, create a menuItems() method on your controller, inside it do var_dump($this->dataRecord->menuItems());die;
690: [12:03:20] <kinglozzer> Assuming you're on 3.0
691: [12:03:24] * kinglozzer lunch
692: [12:04:05] * UndefinedOffset has joined #silverstripe
693: [12:05:09] * spronk2 has joined #silverstripe
694: [12:10:04] <gumble> I am
695: [12:11:46] <gumble> kinglozzer, na don't understand that :D really don't like using stuff without knowing how it works
696: [12:12:35] <supernovah> do you know php
697: [12:15:07] <gumble> na just using the html part of silverstripe
698: [12:15:42] <gumble> sure I know php?!?
699: [12:16:01] * SightUnseen has joined #silverstripe
700: [12:16:27] * SightUnseen1 quit (Read error: Connection reset by peer)
701: [12:16:31] <gumble> just never used var_dump, dunno where $this->dataRecord goes too and would like it to work as I thought it should
702: [12:16:32] <supernovah> Okay so your template file should have a controller which has the menuitems method in it, somewhere in it add what kinglozzer wrote
703: [12:16:44] <webdoc> can someone help me with http://www.sspaste.com/paste/show/51cc21797de1b
704: [12:16:54] <supernovah> var_dump($this->dataRecord->menuItems());
705: [12:17:02] <supernovah> outside of a method, in the class scope
706: [12:17:13] <gumble> supernovah, no it hasn't a menuItems method it just has a $has_many = array("MenuItems" => "Page")
707: [12:17:24] * SightUnseen quit (Read error: Connection reset by peer)
708: [12:17:31] <gumble> I thought that should be enough
709: [12:17:31] * SightUnseen has joined #silverstripe
710: [12:20:08] <supernovah> If you have a loop iterating over it, it must have a property or method attached called menuItems
711: [12:20:08] * SightUnseen quit (Read error: Connection reset by peer)
712: [12:20:11] * SightUnseen1 has joined #silverstripe
713: [12:20:16] <supernovah> so you will be able to dump it with var_dump
714: [12:22:18] <openbees> supernovah : not really ! you can access relation too like this . In this case - gumble you should try debug::show($this->MenuItems()).die() in respective controller.
715: [12:22:43] <supernovah> I was just thinking what I wrote again lol
716: [12:22:48] <supernovah> I need to study zzz
717: [12:23:02] <supernovah> That reminds me
718: [12:23:14] <openbees> debug::show() is built in debugger gives a better output than var_dump !
719: [12:23:34] <supernovah> I'm running a 2.4 SS install and my forms on the CMS for the "show" action are adding "# months away" to date fields (ie when they are read-only) - how do I prevent that
720: [12:25:11] <gumble> openbees, just create a method with that and call it in the template?
721: [12:25:32] <gumble> I have now found the corresponding part in the ss cache but it doesn't help me much
722: [12:25:48] <supernovah> I was assuming you had it working very differently before
723: [12:26:12] <supernovah> Perhaps the scope of your menuItems has changed because you moved the loop inside a control or something ad you need $Top
724: [12:26:17] <openbees> gumble : what is template name where you are calling this MenuItems
725: [12:26:18] <supernovah> or whatever the 3.0 equivalent is
726: [12:26:40] <gumble> ah ok
727: [12:27:20] <supernovah> So not $Top but Top.menuItems
728: [12:27:46] * SightUnseen has joined #silverstripe
729: [12:27:47] * SightUnseen1 quit (Read error: Connection reset by peer)
730: [12:28:58] <gumble> the output is: Debug (MenuPage_Controller->debugMenuItems() in MenuPage.php:67) HasManyList
731: [12:29:09] <gumble> or more just a big fat black HasManyList
732: [12:29:22] <openbees> gumble : and no items ?
733: [12:29:32] <gumble> supernovah, I already tried that
734: [12:29:35] <gumble> no items
735: [12:29:50] <supernovah> openbees knows
736: [12:30:19] <openbees> gumble : I think if you show us some code that would be better :|
737: [12:30:43] <gumble> I will paste the controller and the template
738: [12:31:06] <supernovah> But yeah if it comes up as such "HasManyList" it is the correct type anyway
739: [12:31:36] <supernovah> I don't know much about 3.0 but is the hasManyList populated by the related table?
740: [12:31:56] <openbees> supernovah : you may need to cast you date field I think
741: [12:32:43] <gumble> http://pastebin.com/72Yp6AM3
742: [12:32:44] <gumble> thats it
743: [12:32:50] <gumble> and the loop just produces nothing
744: [12:33:15] <openbees> supernovah : static $casting = array( "YourDateFieldName" => "Date->Nice" ); should work
745: [12:34:03] <supernovah> gumble there is a site called sspaste
746: [12:34:11] <supernovah> that has ss template formatting on it too
747: [12:34:22] <gumble> oh didn't know that
748: [12:34:28] <gumble> I will use that next time
749: [12:35:38] <gumble> should I paste the normal Page too?
750: [12:35:43] <gumble> *controller
751: [12:35:56] <openbees> gumble: template name is MenuPage.ss ? yes please paster that toot
752: [12:38:17] <gumble> http://www.sspaste.com/paste/show/51cc31c5cc8f6
753: [12:38:28] <gumble> openbees, yes it is
754: [12:38:43] <openbees> gumble: I think I got it . you are using TreeMultiSelectField you should use $many_many instead of $has_many and relation should be public static $many_many = array( 'MenuItems' => 'SiteTree' );
755: [12:39:24] <gumble> openbees, wait I'll try
756: [12:39:59] <openbees> change this a dev/build and assign few new pages to using ur TreeMultiSelectField
757: [12:40:21] <openbees> gumble : I think I told you this before :P
758: [12:41:57] <gumble> openbees, could be you told me about TreeMultiSelectField, but I didn't know about many_many
759: [12:42:16] <gumble> someone here told me that TreeMultiSelectField is a good alternative to GridField
760: [12:42:24] <openbees> gumble : ohh never mind ;)
761: [12:42:54] <gumble> does Page need a many_many MenuPage too?
762: [12:43:03] <openbees> no
763: [12:45:07] <gumble> It works!! thanks so much openbees
764: [12:45:26] <openbees> always welcome ;)
765: [12:54:16] * SightUnseen1 has joined #silverstripe
766: [12:54:17] * SightUnseen quit (Read error: Connection reset by peer)
767: [12:55:36] <zagstrukk> guys, how can i make an index page?
768: [12:55:42] <zagstrukk> a deleted the original
769: [12:55:52] <zagstrukk> (because i was stupid)
770: [12:55:53] <zagstrukk> and
771: [12:56:02] <zagstrukk> when i try to make a page named index
772: [12:56:03] <openbees> just copy from any new install
773: [12:56:12] <zagstrukk> good idea
774: [12:56:14] <zagstrukk> ...
775: [12:56:28] * SightUnseen1 quit (Read error: Connection reset by peer)
776: [12:56:36] * SightUnseen has joined #silverstripe
777: [12:58:11] <openbees> zagstrukk : you won't be able to write all code inside index.php easily .. if you try to create one by urself .. as u don't know what was inside it :D
778: [12:58:39] * Colin[pi] quit ()
779: [12:58:47] <zagstrukk> okay, then copy it is
780: [12:59:59] <openbees> In good practice u should not edit Index.php ever as it belongs to ss core files .
781: [13:00:06] * spronk2 quit (Quit: spronk2)
782: [13:00:07] <zagstrukk> i wont :D
783: [13:00:13] <zagstrukk> i wouldnt dare touch it
784: [13:00:24] <openbees> lol
785: [13:00:45] <oddnoc> Keep in mind that index.php is used only when mod_rewrite (or equivalent) is not in play.
786: [13:02:07] <supernovah> my mod_rewrite works and index.php still man-handles the requests
787: [13:02:12] <supernovah> don't they get dispatched to it?
788: [13:02:34] <supernovah> the URL conversion is done by htaccess but given to index.php as a get var called url or something?
789: [13:03:25] * openbees never went that deep in silverstripe system :D
790: [13:06:25] <wmk> any chance to get a trace from a fatal error?
791: [13:06:31] <zagstrukk> i know it is a stupid question
792: [13:06:40] <zagstrukk> but how can i manually upload new pages?
793: [13:06:47] <zagstrukk> i didn't find the folder for it
794: [13:06:50] * chillu quit (Quit: chillu)
795: [13:07:09] <wmk> zagstrukk, new pages are generated in cms
796: [13:07:18] <wmk> not via files
797: [13:07:22] <zagstrukk> awesome
798: [13:07:35] <oddnoc> supernovah: No, the .htaccess bypasses index.php and passes info to framework/main.php
799: [13:07:40] * SightUnseen quit (Read error: Connection reset by peer)
800: [13:07:51] * SightUnseen has joined #silverstripe
801: [13:08:01] <zagstrukk> then, how can i recover the index page? :D i f'd it up quite nicely :D
802: [13:08:23] <supernovah> Oh you're right :D
803: [13:08:25] <zagstrukk> the main page i mean
804: [13:08:35] <supernovah> download the version of your distro again
805: [13:08:41] <supernovah> ^_^
806: [13:08:52] <zagstrukk> okay :D
807: [13:11:02] <openbees> zagstrukk : It would be helpful for you to go through these basic tutorials http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site in case if you are new in silverstripe system.
808: [13:13:16] <zagstrukk> a read it over a few times already :D
809: [13:13:18] <zagstrukk> *i
810: [13:13:25] <zagstrukk> but i will again, thank you :D
811: [13:14:54] <openbees> read it carefully this time :P
812: [13:15:20] <openbees> no offense !!! just kidding .
813: [13:16:03] <zagstrukk> i'm not offended :D you are the pros, i'm the student around here :D
814: [13:18:24] <openbees> just an old student !!! not pro :D
815: [13:18:38] * darjeeling has joined #silverstripe
816: [13:24:19] * Hippieee quit (Ping timeout: 256 seconds)
817: [13:43:27] * zippy__ quit (Quit: zippy__)
818: [13:45:21] * UndefinedOffset quit (Quit: Leaving.)
819: [13:51:39] * UndefinedOffset has joined #silverstripe
820: [13:56:52] * Shrike_Finland quit (Quit: Leaving.)
821: [13:57:31] * lerni has joined #silverstripe
822: [14:04:09] * mattybalaam quit (Quit: mattybalaam)
823: [14:04:11] <zagstrukk> i gave "my-page.hu - $Title" as page title in the template, but it only shows the $Title in the titlebar...
824: [14:04:18] <zagstrukk> any suggestions how to solve this?
825: [14:06:40] <ec8or_> i'm getting an error trying to access admin if i declare allowed_actions in my Page_Controller class
826: [14:06:41] <openbees> zagstrukk : any code we can see ?
827: [14:06:55] <ec8or_> anyone know how to get rid of it, have tried including 'admin'
828: [14:07:49] <ec8or_> ah nm
829: [14:08:06] <zagstrukk> in the source code:
830: [14:08:07] <zagstrukk> <title>gyogyaszterapia.hu - Főoldal</title>
831: [14:08:17] <supernovah> Were you trying to make a page called admin by any chance ec8or
832: [14:08:22] <zagstrukk> ("Főoldal" means main page)
833: [14:08:35] <ec8or_> "Statics in custom Page classes need to be "private""
834: [14:08:37] <zagstrukk> but the title bar says only "Főoldal"
835: [14:09:11] <supernovah> zagstrukk try making it slightly different to the domain name, maybe your browser removes it
836: [14:09:12] <openbees> ec8or_ : admin action is not handled by page_controller
837: [14:09:30] <ec8or_> openbees: it was because the $allowed_actions was declared public
838: [14:10:05] <ec8or_> supernovah: you probably have included $MetaTags or something as well, check if there are two <title> tags in the source
839: [14:10:25] <zagstrukk> yeah, that's it
840: [14:10:47] <zagstrukk> how can i make a general prefix to the titles?
841: [14:11:52] <openbees> see the title tag in default "simple" theme page.ss . that's the better approach to include title ets rather than hardcoding in template
842: [14:13:08] <ec8or_> zagstrukk: use $Metatags(false) instead
843: [14:13:16] <ec8or_> that will strip out the title tag
844: [14:13:42] <ec8or_> so you can use whatever you want in the template
845: [14:14:28] <zagstrukk> awesome, it works :D
846: [14:14:29] <zagstrukk> thank you
847: [14:14:46] <ec8or_> np
848: [14:18:24] <zagstrukk> what is this :::ss
849: [14:18:26] <zagstrukk> ?
850: [14:18:30] <zagstrukk> i cant understand it
851: [14:18:51] <zagstrukk> is it only a prefix to Silverstripe commands or what?
852: [14:19:20] <supernovah> its a prefix to a static property or method on a class
853: [14:19:23] <supernovah> only static ones
854: [14:19:29] <supernovah> part of OO in PHP
855: [14:20:11] <supernovah> so if your class has a method or set of properties which don't need to change, you make them static and public so you can access it via myclass::$property or myclass::method(etc)
856: [14:20:37] <supernovah> or if you do it private/proteceted you'll get a fatal php error
857: [14:20:46] * lerni quit (Remote host closed the connection)
858: [14:21:11] * lerni has joined #silverstripe
859: [14:21:19] <supernovah> Relations like has_many etc, don't need to change right, hence why they are static (at least per build)
860: [14:21:50] * lerni quit (Read error: Connection reset by peer)
861: [14:22:12] * lerni has joined #silverstripe
862: [14:22:54] <oddnoc> static configs change to private in 3.1, however
863: [14:24:08] <supernovah> I feel so smart lol http://i.imgur.com/Vg9XtR4.jpg
864: [14:24:16] <supernovah> oops wrong channel
865: [14:38:29] * Zauberfisch-idle has joined #silverstripe
866: [14:40:00] <zagstrukk> how can i edit the generated lists style?
867: [14:41:43] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
868: [14:46:10] <wmk> could it be that bundled entwine doesn't run with jquery 1.9.1 ? (SS3.1)
869: [14:47:30] <wmk> hmm, http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed
870: [14:53:23] * mento quit (Quit: Page closed)
871: [14:54:15] <oddnoc> Anybody trying to work with userforms, translatable, and SS 3.1?
872: [14:55:28] * lerni quit (Remote host closed the connection)
873: [14:55:55] * lerni has joined #silverstripe
874: [15:00:16] * lerni quit (Ping timeout: 246 seconds)
875: [15:03:48] * mattybalaam has joined #silverstripe
876: [15:08:23] <openbees> zagstrukk : you will have to add typography.css and editor.css . see here http://doc.silverstripe.org/framework/en/topics/css
877: [15:09:37] * openbees quit (Quit: Leaving)
878: [15:21:54] * wmk quit (Ping timeout: 256 seconds)
879: [15:26:24] * lerni has joined #silverstripe
880: [15:34:37] * lerni quit (Ping timeout: 245 seconds)
881: [15:35:15] <webdoc> i go insane:P
882: [15:38:17] <oddnoc> Curing insanity is a tall order for a technical chat.
883: [15:55:51] * mattybalaam quit (Quit: mattybalaam)
884: [15:56:52] <webdoc> can someone help me with http://www.silverstripe.org/dataobjectmanager-module-forum/show/24041#post322884
885: [16:17:33] * kinglozzer quit (Remote host closed the connection)
886: [16:19:45] * mattybalaam has joined #silverstripe
887: [16:37:56] * webdoc quit (Ping timeout: 250 seconds)
888: [16:39:38] * zagstrukk quit (Ping timeout: 240 seconds)
889: [17:00:38] * terryapodaca has joined #silverstripe
890: [17:00:58] <terryapodaca> I know this has been asked before, and for the life of me i can't remember what the fix was
891: [17:01:09] <terryapodaca> <nav role="navigation" class="inner">
892: [17:01:09] <terryapodaca> <ul>
893: [17:01:09] <terryapodaca> <% loop Menu(1) %><li class="$LinkingMode"><a href="$Link" title="$Title">$MenuTitle</a></li>
894: [17:01:09] <terryapodaca> <% end_loop %>
895: [17:01:09] <terryapodaca> </ul>
896: [17:01:10] <terryapodaca> </nav>
897: [17:01:28] <terryapodaca> but when i view source, the $Link is
898: [17:01:34] * openbees has joined #silverstripe
899: [17:01:45] <terryapodaca> href="/tsg-petro/index.php/"
900: [17:01:56] <terryapodaca> and can't remember how to get rid of the index.php thing
901: [17:06:32] * micmania1 quit (Ping timeout: 250 seconds)
902: [17:11:45] * LimeBlast quit ()
903: [17:14:21] <UndefinedOffset> terryapodaca sounds like mod_rewrite isn't working
904: [17:18:04] <terryapodaca> yeah, I've had this problem before
905: [17:18:23] <terryapodaca> and I can't remember how i fixed it
906: [17:18:41] <terryapodaca> i just deleted the index.php file, rebuilt the site and now it's fine
907: [17:18:58] <terryapodaca> I know most everyone here deletes that file anyway
908: [17:19:23] <oddnoc> terryapodaca: is this with apache, or some other server?
909: [17:19:42] <UndefinedOffset> if mod_rewrite is enabled, i usually just add anouther rewrite rule to force out the index.php (if i don't remove it)
910: [17:19:55] * SphereSilverNL has joined #silverstripe
911: [17:20:20] <UndefinedOffset> RewriteRule ^index\.php/(.*)$ /$1 [R=301,L] and/or RewriteRule ^index\.php / [R=301,L]
912: [17:22:01] <oddnoc> I think suhosin can cause this if your port 80 and port 443 vhosts' docroots don't match exactly (as when one has / at the end and the other doesn't)
913: [17:24:31] <terryapodaca> oddnoc: it's localhost on xampp
914: [17:24:41] <terryapodaca> so I assume it's apache
915: [17:25:54] * oddnoc_ has joined #silverstripe
916: [17:26:16] <oddnoc_> Ugh. My Internet has been going out all day.
917: [17:26:46] <UndefinedOffset> xampp wraps apache :), only thing i would check is that Allow Override all is enabled for the doc root and mod_rewrite is on, you'll know if you try to hit /admin it won't work lol
918: [17:28:01] * oddnoc quit (Ping timeout: 260 seconds)
919: [17:28:01] * oddnoc_ is now known as oddnoc
920: [17:31:19] * gelignite has joined #silverstripe
921: [17:31:59] <terryapodaca> do the URLs get saved in the db?
922: [17:32:30] <terryapodaca> i would assume they are and not dynamically on the fly
923: [17:32:42] <terryapodaca> i think my problem was from an earlier error
924: [17:33:03] <terryapodaca> and the index.php portion was saved in the DB
925: [17:33:36] <UndefinedOffset> hmm well the urls are generated on the fly, i bet if you view the source of the page the index.php isn't there but it is in the base tag
926: [17:34:10] <UndefinedOffset> on the flyish, the url segments for each page are stored in the db, but the full url is generated on the fly. Which is why partial caching is important :)
927: [17:36:40] <SphereSilverNL> Can I say "is null" in Object::get()->filter()?
928: [17:38:19] <oddnoc> That is a great question, SphereSilverNL. I haven't tried that yet.
929: [17:40:34] <SphereSilverNL> me neither, but it seems to act weird :/
930: [17:43:06] <SphereSilverNL> Ah well, it's only for a query executed on dev/build :)
931: [17:46:24] * openbees quit (Ping timeout: 256 seconds)
932: [17:51:47] * oddnoc quit (Quit: bye!)
933: [17:51:56] <UndefinedOffset> anyone remember if 2.3.13 supports php 5.3? (yes i know 2.3 site is being upgraded to 3.x but host migration is needed first)
934: [17:53:49] <SphereSilverNL> I think it should, but you'll probably get a whole bunch of PHP Deprecated messages I guess
935: [17:54:21] <UndefinedOffset> ya my memory was telling me that it did but just wanted to double check :)
936: [17:55:02] <SphereSilverNL> terryapodaca: can't you write some requireDefaultRecords() to remove the index.php from the URLSegment?
937: [17:55:56] * origincube has joined #silverstripe
938: [17:58:04] * popeshoe has joined #silverstripe
939: [17:58:52] * SphereSilverNL quit (Remote host closed the connection)
940: [18:05:20] <origincube> Hi guys, hoping someone is around to offer some assistance
941: [18:05:55] <origincube> i'm busy installing SS3.0.5 into a sub directory of an existing site, the install page loads fine, but during install something goes awry
942: [18:06:05] <origincube> and now i am getting this error: "[Warning] is_readable(): open_basedir restriction in effect. File(/usr/share/pear544/Zend/Translate/Adapter/I18nRailsYamlAdapter.php) is not within the allowed path(s): "
943: [18:06:47] <origincube> i've looked on the forums, and adjusted my htacess file to include settings for php_value safe_mode "0" and php_value open_basedir "0"
944: [18:07:01] <origincube> but they don't seem to have helped at all, and i don't have access to the php.ini file
945: [18:07:33] * mattybalaam quit (Quit: mattybalaam)
946: [18:08:23] * openbees has joined #silverstripe
947: [18:09:15] * DesignerX has joined #silverstripe
948: [18:10:37] <FrozenFire> origincube, Create a file called "phpinfo.php" and put the following in it: <?php phpinfo();
949: [18:10:48] <FrozenFire> Then view that file on the site in your browser
950: [18:10:58] <FrozenFire> This should give you a slew of configuration information about PHP
951: [18:11:21] <FrozenFire> Check what the configuration is for open_basedir
952: [18:11:46] <FrozenFire> Ultimately, though, it's likely instead an issue with your include_path
953: [18:13:18] <origincube> hmm, let me have a look see quickly
954: [18:13:49] <origincube> i have however installed previous versions of silverstripe on this host before without this issue
955: [18:13:52] <origincube> so its very strange
956: [18:15:23] * andrew has joined #silverstripe
957: [18:15:46] * andrew is now known as Guest67749
958: [18:16:25] <FrozenFire> origincube, If you're installing it in a sub-path of a domain, there are bound to be issues.
959: [18:16:32] <Guest67749> Morning. Just installed the userforms into cms and when i click onto forms tab its blank. like no drop down menus ect. any ideas?
960: [18:16:33] <FrozenFire> Having a subdomain is by far better.
961: [18:17:06] <origincube> it was a temporary measure given that the client has an existing site that we are looking to replace once the content is populated
962: [18:17:23] <origincube> i'll see i fi can convince the client to allow us to take his old site down
963: [18:18:13] <origincube> it likely also relates to pear544 not existing
964: [18:18:58] <origincube> the include path seems to have the current folder at the beginning: .:/usr/share/php544:/usr/share/pear544
965: [18:21:07] <origincube> will see what i can do. thanks ;)
966: [18:21:13] * origincube quit ()
967: [18:25:31] * Motoservo quit (Read error: Operation timed out)
968: [18:27:54] <Guest67749> can someone help me with the userforms tab not displaying content?
969: [18:28:43] <FrozenFire> Did you try flushing?
970: [18:30:55] <Guest67749> Well thats embarrassing hahaha. This just goes to show im not a morning person :P
971: [18:33:34] <FrozenFire> When in doubt, it's probably caching.
972: [18:33:35] <FrozenFire> :P
973: [18:33:42] <FrozenFire> SilverStripe is very heavy-handed with caching.
974: [18:35:53] <Guest67749> yea im getting to realise that. haha. i've only started learning the ss stuff in the last week haha slowly getting there
975: [18:40:23] <Guest67749> A slightly unrelated ss question. im using Cpanel for all my hosting. and im waiting for a client to send me the domain details. Now in Cpanel ive already created the client server space is there a way i can view the site without the domain.. if you understand what im getting at?
976: [18:50:12] <UndefinedOffset> Guest67749 your best bet is to setup a host entry
977: [18:51:15] <UndefinedOffset> http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
978: [18:54:39] * curtosis has joined #silverstripe
979: [18:55:58] * lerni has joined #silverstripe
980: [19:00:16] <FrozenFire> Yeah, hosts file, or if you're running Linux there are better ways
981: [19:00:29] * lerni quit (Ping timeout: 248 seconds)
982: [19:00:42] <FrozenFire> Specifically using dnsmasq
983: [19:01:07] <FrozenFire> I use it to generate my own dynamic local subdomains based on subdirectories of a given directory
984: [19:01:17] <FrozenFire> So I can have /var/www/vhosts/dev/projectname/
985: [19:01:26] <FrozenFire> And then visit http://projectname.dev
986: [19:01:50] <FrozenFire> That's specific to local development, though
987: [19:05:49] * zagstrukk has joined #silverstripe
988: [19:09:01] * openbees quit (Quit: Leaving)
989: [19:13:04] * Guest67749 quit (Ping timeout: 250 seconds)
990: [19:26:11] * micmania1 has joined #silverstripe
991: [19:30:02] * CodeTrap has joined #silverstripe
992: [19:30:48] * CodeTrap quit (Client Quit)
993: [19:32:49] * CodeTrap has joined #silverstripe
994: [19:34:46] * lerni has joined #silverstripe
995: [19:50:22] * terryapodaca has left #silverstripe
996: [19:54:40] * SightUnseen1 has joined #silverstripe
997: [19:54:41] * SightUnseen1 has left #silverstripe
998: [20:01:51] <zagstrukk> oh god, problem again
999: [20:02:10] <zagstrukk> could sb help me?
1000: [20:03:27] <zagstrukk> i'm trying to install the galery module, but with no luck
1001: [20:03:49] <zagstrukk> *gallery
1002: [20:07:47] * mobiusnz quit (Quit: Leaving.)
1003: [20:22:14] * mobiusnz has joined #silverstripe
1004: [20:26:28] * Peavers has joined #silverstripe
1005: [20:34:44] * lerni quit (Remote host closed the connection)
1006: [20:35:10] * lerni has joined #silverstripe
1007: [20:35:51] * lerni_ has joined #silverstripe
1008: [20:35:51] * lerni quit (Read error: Connection reset by peer)
1009: [20:37:34] * micmania1 quit (Ping timeout: 250 seconds)
1010: [20:40:54] * DigNZ has joined #silverstripe
1011: [20:40:54] * DigNZ quit (Read error: Connection reset by peer)
1012: [20:41:09] * DigNZ has joined #silverstripe
1013: [20:42:59] * coldblooded01 has joined #silverstripe
1014: [20:47:59] * bueckl has joined #silverstripe
1015: [20:50:22] * bueckl quit (Client Quit)
1016: [20:58:09] * MrJeremy has joined #silverstripe
1017: [20:58:36] <zagstrukk> anyone?
1018: [20:59:24] * UndefinedOffset quit (Quit: Leaving.)
1019: [20:59:38] <lietzmk> I don't know if I can help
1020: [21:00:36] <zagstrukk> :D
1021: [21:00:48] <lietzmk> what is it doing
1022: [21:01:12] <zagstrukk> it somehow cannot install the bulkeditingtools
1023: [21:01:21] <zagstrukk> Fatal error: Class 'GridFieldBulkEditingTools' not found in /wwwroot/newsite/ss3Gallery/code/GalleryPage.php on line 14
1024: [21:01:39] <zagstrukk> it is in the directory, i ran dev/build, but nothing
1025: [21:01:46] <lietzmk> what version of silverstripe
1026: [21:04:25] <zagstrukk> the newest
1027: [21:04:41] <zagstrukk> 3.0.5
1028: [21:05:23] <lietzmk> do you have anything else installed already
1029: [21:06:04] <simon_w> zagstrukk, where's the GridFieldBulkEditingTools folder?
1030: [21:06:31] <zagstrukk> in the /newsite folder
1031: [21:06:39] <zagstrukk> the whole silverstripe is in there
1032: [21:06:55] * zippy__ has joined #silverstripe
1033: [21:06:55] <zagstrukk> (i cannot place it in the root folder until it is final)
1034: [21:07:11] <simon_w> And which version of the module did you download?
1035: [21:07:17] <zagstrukk> the newest
1036: [21:07:25] <zagstrukk> i just downloaded it 20 minutes ago
1037: [21:07:29] <simon_w> That's the problem
1038: [21:07:39] <simon_w> The newest is for 3.1, and has changed its structure
1039: [21:07:47] <simon_w> Get 0.5 instead: https://github.com/colymba/GridFieldBulkEditingTools/tree/0.5
1040: [21:10:08] * nickmolhoek has joined #silverstripe
1041: [21:10:09] * nickmolhoek quit (Remote host closed the connection)
1042: [21:10:23] * nickmolhoek has joined #silverstripe
1043: [21:16:06] * mattybalaam has joined #silverstripe
1044: [21:24:09] <zagstrukk> awesome, it works :D
1045: [21:25:31] <zagstrukk> except
1046: [21:25:40] <zagstrukk> it doesnt show the pictures on the site
1047: [21:30:19] <zagstrukk> i uploaded them, but nothing
1048: [21:30:27] <zagstrukk> not wvwn frames or anything
1049: [21:30:32] <zagstrukk> *even
1050: [21:33:22] <zagstrukk> is there a tag i must put in the template?
1051: [21:33:32] <zagstrukk> i have $form and $content
1052: [21:34:17] <simon_w> The gallery module should come with something like a GalleryPage layout template that displays the images. If it doesn't, does the readme mention anything?
1053: [21:35:05] * swordsmanz has joined #silverstripe
1054: [21:35:09] <zagstrukk> no readme as far as i see
1055: [21:35:13] <zagstrukk> in the file folder
1056: [21:36:06] <zagstrukk> it does come with a Gallery Page layout
1057: [21:36:35] <zagstrukk> but it doesnt apply it when i select gallery page type....
1058: [21:36:52] <simon_w> Do you have a $Layout in your main Page.ss template?
1059: [21:44:25] <zagstrukk> nope
1060: [21:44:34] <zagstrukk> that can be a problem
1061: [21:46:03] <zagstrukk> it works :D
1062: [21:50:02] * willr has joined #silverstripe
1063: [21:50:26] <zagstrukk> thank you,
1064: [21:50:32] <zagstrukk> sir, you are awesome :D
1065: [21:56:06] <lietzmk> When a Create a Gallery Page it says internal Server Error, is there a way to get more info on that
1066: [21:56:48] * gumble quit (Ping timeout: 260 seconds)
1067: [22:01:01] <mobiusnz> lietzmk: enable dev mode and/or look in your server logs
1068: [22:02:48] <simon_w> ss23, I had to get my own caffeine. Disappoint. :p
1069: [22:04:10] <lietzmk> mobiusnz, ok i found the error in the apache2 error log
1070: [22:17:14] * gelignite quit (Quit: http://bit.ly/nkczDT)
1071: [22:24:03] <Peavers> does anyone want to perve at my dirty filthy first released to the public ss theme?
1072: [22:29:18] <irogue> yes!
1073: [22:30:18] <Peavers> https://github.com/peavers/silverstripe-squandered-theme - you will have to install it in a 3.0+ instance
1074: [22:30:33] <Peavers> needs a massive code cleanup but whatcha gonna do
1075: [22:38:42] <willr> mmm sass, needs a screenshot :)
1076: [22:39:01] <Peavers> getting a demo site up now to take some :)
1077: [22:46:06] * CodeTrap quit (Quit: CodeTrap)
1078: [22:48:52] <ss23> simon_w: Stop having caffine so early!
1079: [22:49:00] <ss23> Also, blurgh, forgot to inject insulin last night, horrible night and morning :<
1080: [22:50:44] * mattybalaam quit (Quit: mattybalaam)
1081: [22:53:37] <ss23> Whats the 3.X replacement for HasOneComplexTableField? Gridfield or something?
1082: [22:53:40] * RojoD is now known as zZzZ
1083: [22:53:54] * zZzZ is now known as ZzZzZzZzZz
1084: [22:54:04] <Peavers> added screenshots
1085: [22:54:20] <Peavers> because I'm classy like that.
1086: [22:54:50] <ss23> Whenever follows something up with "Because I'm classy like that", I get nervous
1087: [22:55:04] <ss23> ew, the Ruby color on github is yucky
1088: [22:55:45] <ss23> Peavers: theme the 'post' button!
1089: [22:55:55] <Peavers> yeah I know...
1090: [22:56:03] <Peavers> got to do the entire comment form
1091: [22:56:10] <Peavers> its terrible whoever designed it in the first place
1092: [22:56:14] <ss23> lol
1093: [22:56:20] <Peavers> willr I'm looking at you.
1094: [22:56:43] <willr> Comment form? It's just a SS Form
1095: [22:56:59] <simon_w> All your fault!
1096: [22:57:09] <Peavers> lol
1097: [22:58:49] <Peavers> was enough work making the comment posts look pretty...
1098: [22:58:56] <Peavers> the button can stay for the meantime
1099: [22:59:02] <simon_w> Gah, the ESAA is rejecting my requests but all my IdPs accept it :(
1100: [22:59:29] * metanat has joined #silverstripe
1101: [23:00:02] * simon_w blames Peavers
1102: [23:00:07] <Peavers> I accept that.
1103: [23:01:36] <ss23> lol
1104: [23:01:46] <ss23> Government workers must be used to accepting blame, right
1105: [23:01:56] <Peavers> pretty much
1106: [23:03:06] <simon_w> Fix it!
1107: [23:03:11] <Peavers> yeah nahhhhhh
1108: [23:04:50] * zagstrukk quit (Quit: Leaving)
1109: [23:06:29] <simon_w> Fine, I'll send another email
1110: [23:13:45] <ss23> Hmm, so I have some code I'm helping a user with, and I'm confused why he does it
1111: [23:13:59] <Peavers> does what?
1112: [23:14:35] <ss23> He has a FormPage, hason( FormSettings ), and then in FormPage does a HasOneComplexTableField (getCMSFields_forPopup)
1113: [23:14:56] <Peavers> hes probably like me and just doesn't know any better because all the documention on the web is from 2008.
1114: [23:14:58] <ss23> Is there any advantage/difference between this and just doing FormPage and putting the properties of FormSettings on FormPage instead?
1115: [23:15:20] <ss23> I get that the tablefield stuff is deprecated, but I'm more asking about the idea of seperating both of them
1116: [23:17:04] <ss23> simon_w~ :<
1117: [23:17:11] * lerni_ quit (Remote host closed the connection)
1118: [23:17:37] * lerni has joined #silverstripe
1119: [23:21:17] * mattybalaam has joined #silverstripe
1120: [23:22:17] * lerni quit (Ping timeout: 252 seconds)
1121: [23:22:55] * mattybalaam quit (Client Quit)
1122: [23:25:50] <Peavers> Can I change the class of the comments button to something normal like class="button" from within a template?
1123: [23:30:18] * lietzmk quit (Quit: Leaving)
1124: [23:35:48] <Peavers> can fuck with my awsome theme at http://dev.squandered.org/
1125: [23:38:00] <simon_w> That's one awesome theme. I like how none of the CSS is loading due to a syntax error :p
1126: [23:38:11] <Peavers> lol reload the page now.
1127: [23:38:19] <ss23> lol
1128: [23:38:29] <Peavers> NOTICE THE SUBDOMAIN = DEV>!!>
1129: [23:38:35] <ss23> XD
1130: [23:38:35] <Peavers> Geeze... this guy.
1131: [23:38:40] <ss23> this guy...
1132: [23:39:14] <simon_w> But iOS 7 has bugs! Apple doesn't care about stability anymore!
1133: [23:42:41] * Tek has joined #silverstripe
1134: [23:43:05] * Tek is now known as Guest74618
1135: [23:43:10] <Guest74618> hi
1136: [23:43:50] <simon_w> Morning
1137: [23:44:31] <Guest74618> What is this place?
1138: [23:44:44] <Peavers> You don't want to know.
1139: [23:44:44] * ss23 waves his hands around
1140: [23:44:52] <ss23> IRC ~(._.)~
1141: [23:44:54] <Peavers> get out before its to late!
1142: [23:45:25] <ss23> (^.^)~~ <--- kitty
1143: [23:45:40] <Peavers> and you guys hired this guy?
1144: [23:46:09] <simon_w> Peavers, should've been at the hackfest. So much of that was going on
1145: [23:46:17] <ss23> lol
1146: [23:46:23] <ss23> kitties everywhere!
1147: [23:46:29] <Peavers> yeah sad I missed it, won't be missing the next one thats for sure
1148: [23:46:33] <ss23> lol
1149: [23:46:55] <simon_w> Well, the "sminnee, you're hiring this guy?" bit rather than kitties
1150: [23:47:38] <ss23> <% if $Type == 'Javascript' %>
1151: [23:47:39] <Peavers> lol good to know i'm not only questioning Sams motives ;)
1152: [23:47:47] <ss23> That's valid templating right?
1153: [23:47:55] <simon_w> ss23, in 3.0, yes
1154: [23:47:58] <ss23> simon_w: chur
1155: [23:48:03] <ss23> Peavers: Everyone loves kitties!
1156: [23:48:22] <ss23> Hmm
1157: [23:49:00] <ss23> Can I, in a Page, function GetFoo() { return $this; }, then in my template, <% with GetFoo %>$PropertyOFTemplate<% end_if%> or just GetFoo.PreopttyOfPage
1158: [23:49:38] <simon_w> ss23, just use $Me
1159: [23:50:05] <ss23> simon_w: I'm not asking cause I wanna do it, I'm asking cause I wanna provide some ways to prevent breakage with this code I'm changing for a client
1160: [23:50:09] <ss23> I'm now a Silverstripe Consultant
1161: [23:50:15] <ss23> I help people rewrite from SS2 to SS3
1162: [23:50:15] <ss23> ^.^
1163: [23:50:46] <metanat> I am having trouble getting different di services working for different environments dev, test, live. Is this meant to work?
1164: [23:51:17] <metanat> I am using, the Only environment headers but I can't see to get things to work
1165: [23:54:37] <simon_w> yeah, the only things don't work so well. Since they're parsed before the environment is set
1166: [23:55:00] <simon_w> ss23, well, you can do that. It just doesn't make sense to.
1167: [23:55:47] <metanat> simon_w: lol okay. So it doesn't actually work as documented?
1168: [23:56:38] <metanat> I can get around it, but that is unfortunate..
1169: [23:58:07] <ss23> simon_w: I agree, I told him not to, but I thought I would offer it so he can't be like "OMG MY TEMPLATES R NO WORK!!!!". thank you :)
1170: [23:59:01] <Peavers> You can tell him to use my template, since its such hot stuff atm
1171: [23:59:03] * darjeeling quit (Remote host closed the connection)
1172: [23:59:11] <Peavers> ..Just don't use it with IE8...
1173: [23:59:23] <Peavers> Or IE9...
1174: [23:59:25] <Peavers> Or Firefox
1175: [23:59:35] <Peavers> Or anything thats not the latest version of chrome...

These logs were automatically created by ss-log on irc.freenode.net.