#silverstripe IRC Log

IRC log for 23 June 2015

All timestamps are in UTC.

1: [00:00:33] * keroberos quit (Max SendQ exceeded)
2: [00:00:44] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
3: [00:02:43] * keroberos has joined #silverstripe
4: [00:04:49] * pengy-gone_home quit (Ping timeout: 246 seconds)
5: [00:13:13] * Azure quit (Quit: Oops.)
6: [00:13:33] * Azure has joined #silverstripe
7: [00:14:39] * nontgor quit (Ping timeout: 248 seconds)
8: [00:17:31] * micmania1 quit (Quit: micmania1)
9: [00:17:51] <Colin[pi]> if I do an <% if %> in a template is it supposed to be testing equality or identity?
10: [00:18:07] <Colin[pi]> I would have thought the former
11: [00:18:44] <Ryan-Toast> Both
12: [00:18:57] <Ryan-Toast> I think
13: [00:19:03] <Colin[pi]> hmm
14: [00:19:15] <Colin[pi]> because I have a Boolean/checkbox returning a 0 or a 1
15: [00:19:26] <Colin[pi]> and the <% if %> seems to pass as true for both :\
16: [00:19:51] <Ryan-Toast> What’s the db set for that field?
17: [00:20:09] <Colin[pi]> Boolean, 1 or 0 in the template
18: [00:20:17] <Colin[pi]> if I put <% if $Boolean == 1 %> then it works as intended, but <% if $Boolean %> always works as true
19: [00:20:29] <Colin[pi]> weird
20: [00:21:42] <Ryan-Toast> I think if in that case checks for the existance of a value
21: [00:21:53] <Ryan-Toast> so it will return true for both
22: [00:22:10] <Colin[pi]> hmm is that how Booleans should operate though? seems a bit counter intuitive imho
23: [00:22:13] <Ryan-Toast> looking at my templates I check against =1 for my Booleans
24: [00:22:25] <Ryan-Toast> In templates I think it’s as designed.
25: [00:22:30] <Colin[pi]> mmkay
26: [00:27:16] * nontgor has joined #silverstripe
27: [00:30:19] * Stomach quit (Quit: zzz)
28: [00:34:53] * veb quit (Quit: veb-irc: &)
29: [00:42:17] * Stomach has joined #silverstripe
30: [00:50:39] * Stomach quit (Quit: zzz)
31: [00:55:50] * Vedran__ has joined #silverstripe
32: [01:05:02] * Stomach has joined #silverstripe
33: [01:06:53] * joelpittet quit (Remote host closed the connection)
34: [01:15:21] * Tanger has joined #silverstripe
35: [01:17:23] * UncleCheese has joined #silverstripe
36: [01:22:43] * UncleChe_ has joined #silverstripe
37: [01:27:31] * Dontlookunderthe quit (Quit: Leaving)
38: [01:33:02] <Tanger> Morning guys. What's the equivalent of DailyTasks in 3.1? Running cronjobs using sake?
39: [01:34:04] * joelpittet has joined #silverstripe
40: [01:37:47] * Stomach quit (Quit: zzz)
41: [01:37:51] * micmania1 has joined #silverstripe
42: [01:40:24] <Vedran__> sorta on topic is sake pronounced like Rake or like the Japanese alcoholic drink?
43: [01:40:53] * adrexia has joined #silverstripe
44: [01:40:57] <Colin[pi]> Vedran__: idek
45: [01:41:09] <Colin[pi]> I usually say it like rake
46: [01:41:18] <Tanger> I'd imagine so, it did come from make
47: [01:41:27] <Vedran__> thanks
48: [01:41:28] <Tanger> Bake a makefile with sake
49: [01:42:17] <DanaeNZ> Bah-keh a mah-keh file with sah-keh
50: [01:43:08] <Colin[pi]> DanaeNZ: that hurts my brain
51: [01:43:14] <DanaeNZ> mine too :(
52: [01:45:27] <Colin[pi]> whats that prog that records your screen as a gif again?
53: [01:45:27] * camfindlay quit (Quit: camfindlay)
54: [01:45:49] <Colin[pi]> nm
55: [01:45:51] <Colin[pi]> :P
56: [01:46:37] * camfindlay has joined #silverstripe
57: [01:46:47] <Ryan-Toast> licecap
58: [01:47:01] <Colin[pi]> yep I found it just after I asked :D
59: [01:47:16] <Ryan-Toast> GOOD, I’M GLAD
60: [01:48:44] <Colin[pi]> AS AM I
61: [01:50:40] <Colin[pi]> Ryan-Toast: did you ever get that sitetree resizing thingy working well?
62: [01:50:46] <Ryan-Toast> Colin[pi]: Yeah, ages ago.
63: [01:50:52] <Colin[pi]> o rly? link?
64: [01:50:57] <Ryan-Toast> Gone now.
65: [01:51:01] <Colin[pi]> wat
66: [01:51:02] <Colin[pi]> :(
67: [01:51:09] <Colin[pi]> ssshhh, only memories
68: [01:51:22] <Ryan-Toast> Pretty easy as I remeber , just add the jQuery ui resizable handle to the drawer, and store the size as localstorage
69: [01:51:41] <Colin[pi]> mm I did that a while back too, but the resizing was kinda clunky
70: [01:54:06] * Stomach has joined #silverstripe
71: [01:54:34] <Colin[pi]> Ryan-Toast: are you keeping or ditching sitetree for your stuff now?
72: [01:54:44] <Ryan-Toast> Colin[pi]: Still keeping.
73: [01:54:51] <Ryan-Toast> I’d like to ditch it.
74: [01:54:59] <Ryan-Toast> Like how Stomach does.
75: [01:55:04] <Colin[pi]> mm but dem clients
76: [01:55:10] <Stomach> ditch it!
77: [01:55:17] <Ryan-Toast> But our sales team sells Silverstripe on the ability to use the site tree :/
78: [01:55:22] <Colin[pi]> mm
79: [01:55:30] * novaweb has joined #silverstripe
80: [01:55:53] <Colin[pi]> I kinda like and dislike sitetree at the same time :P
81: [01:56:16] <Ryan-Toast> The drag and drop is so finiky it makes me rage
82: [01:56:21] <Colin[pi]> ikr
83: [01:56:23] <Colin[pi]> like
84: [01:56:26] <Colin[pi]> also when you add a page
85: [01:56:31] <Colin[pi]> sometimes the dnd doesn't work
86: [01:56:33] <Colin[pi]> :(
87: [01:57:03] <novaweb> There were 3 different implementations of a New Zealand regional dropdown field on our site, so I made this. Basic but saves duplication and/or different ways of acheiving the same thing multiple times on one site http://addons.silverstripe.org/add-ons/joshkosmala/silverstripe-nzregiondropdownfield
88: [01:59:33] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
89: [02:02:40] * glenn-bautista quit (Quit: Leaving.)
90: [02:09:27] * glenn-bautista has joined #silverstripe
91: [02:15:30] * Tanger quit (Remote host closed the connection)
92: [02:19:31] * Tanger has joined #silverstripe
93: [02:19:32] * zippy has joined #silverstripe
94: [02:20:44] <zippy> afternoon sminnee_
95: [02:21:00] <zippy> no antmas eh..
96: [02:21:07] <Colin[pi]> zippy: nah he has a sick kid
97: [02:21:34] <zippy> haha thats like the parents excuse to stay home and play games
98: [02:21:36] <zippy> bet he's on steam
99: [02:21:43] <Colin[pi]> haha
100: [02:22:04] <Colin[pi]> no can confirm, was playing E:D with him last night and his boy has a fever :\\
101: [02:22:16] * nikob quit (Ping timeout: 264 seconds)
102: [02:22:25] <zippy> he's cover story is strong eh
103: [02:22:37] <Colin[pi]> I heard the coughing over voice chat :P
104: [02:22:42] <Colin[pi]> maybe he was faking it lol
105: [02:22:46] <zippy> ah, that makes it legit :)
106: [02:22:57] <zippy> j/k. hopefully nothing serious
107: [02:23:36] <zippy> UncleCheese: it's been a month since a video?
108: [02:23:44] <zippy> writers block?
109: [02:23:46] <UncleCheese> no
110: [02:23:50] <UncleCheese> agile block
111: [02:23:54] <UncleCheese> frustrating
112: [02:24:18] <Colin[pi]> woah has it really been a month since the last one?
113: [02:24:21] <Colin[pi]> time flies
114: [02:24:26] <zippy> the layout on page 2 looks a bit naff btw
115: [02:25:03] <UncleCheese> my role here was never supposed to involve this much dev
116: [02:25:17] <Colin[pi]> UncleCheese: haha, you thought you could escape it eh?
117: [02:25:19] <UncleCheese> but i guess we're crunched on resources
118: [02:25:42] <zippy> yea that and every hour you work = more they can bill so makes sense for them to dev you as much as possible :)
119: [02:26:02] <UncleCheese> OSS stuff is an abstract asset, though
120: [02:26:57] * zippy rubs his crsytal ball. I see 3 videos by august...
121: [02:27:10] <zippy> end of
122: [02:31:18] * ss-helper quit (Ping timeout: 246 seconds)
123: [02:33:04] <zippy> mmm DO been a bit flakey with the irc it seems..
124: [02:33:41] <Stomach> UncleCheese - what happened to your contact? :D
125: [02:33:53] <UncleCheese> contact?
126: [02:33:56] <Stomach> Ryan-Toast - https://github.com/Rhym/silverstripe-ux-talk/blob/master/README.md :D :D :D
127: [02:33:59] <Stomach> contract* :P
128: [02:34:08] <Ryan-Toast> Stomach: lol.
129: [02:34:10] <zippy> lol
130: [02:34:14] <Ryan-Toast> STOP STALKING ME
131: [02:34:17] <zippy> Ryan has nothing to talk about
132: [02:34:27] <zippy> he's mind is blank
133: [02:34:31] * Hailwood quit (Quit: Leaving)
134: [02:34:39] <zippy> Ryan-Toast: good talk (+1)
135: [02:34:56] <Ryan-Toast> zippy: Its a reflection period of 15 minutes.
136: [02:35:03] <Ryan-Toast> Internalise what us means to you.
137: [02:35:06] <Ryan-Toast> ux
138: [02:35:17] <zippy> using the whitespace well
139: [02:35:37] * ss-helper has joined #silverstripe
140: [02:36:12] <Stomach> POST IT NOTES
141: [02:37:32] <zippy> ss-helper: be gone with yourself!
142: [02:38:02] <zippy> !restart
143: [02:38:08] * ss-helper quit (Disconnected by services)
144: [02:38:08] * ss-helper_ has joined #silverstripe
145: [02:38:08] * ss-helper_ is now known as ss-helper
146: [02:38:38] <Stomach> !restart
147: [02:38:43] <Stomach> :(
148: [02:38:47] <Stomach> WHERES MY POWER
149: [02:38:52] <zippy> :)
150: [02:39:24] * zippy hands Stomach a blue Bic pen. Use it wisely
151: [02:39:37] * Stomach eats the pen
152: [02:48:42] <UncleCheese> Anytime y'all want to come over for a bbq... http://boxpx.com/0eeiadecbfi
153: [02:49:15] <zippy> lol is he mooning people in pic 2?
154: [02:49:21] <Ryan-Toast> lol
155: [02:49:49] <zippy> nice place!
156: [02:50:02] <zippy> anyone nailed themself going from the kitchen to the lounge yet?
157: [02:50:12] <UncleCheese> hahaha
158: [02:50:14] <UncleCheese> yup
159: [02:50:25] <zippy> those sneaky little steps
160: [02:50:49] <UncleCheese> so we have the exact opposite of every landlord ever
161: [02:51:01] <UncleCheese> Been spending a fortune heating the place, and we were getting concerned
162: [02:51:08] <UncleCheese> as usual
163: [02:51:13] <zippy> you always spend a fortune
164: [02:51:16] <UncleCheese> and so we had him over to give us some tips
165: [02:51:22] <UncleCheese> and he's made it his mission in life to figure this out
166: [02:51:34] <UncleCheese> he's like.. . tell you what... I'll put solar panels on, so you won't have to pay for power
167: [02:51:39] <zippy> lol
168: [02:52:13] <UncleCheese> he's amazign
169: [02:52:20] <UncleCheese> his whole purpose in life is to make sure we're doing ok
170: [02:52:39] <zippy> :)
171: [02:52:51] <UncleCheese> *and that was the day UncleCheese stopped complaining about Wellington housing *
172: [02:52:52] <zippy> good to see it's turned right around from a few months ago
173: [02:53:05] <UncleCheese> meh, still in a double rent clusterfuck
174: [02:53:10] <UncleCheese> have filed with the tribunal
175: [02:53:29] <DanaeNZ> UncleCheese: your landlord is like that? http://i.imgur.com/nmts4Fb.gif
176: [02:54:11] <DanaeNZ> My new landlord is a doctor
177: [02:54:17] <Colin[pi]> UncleCheese: dude, love that window in the master
178: [02:54:23] <DanaeNZ> so swanky
179: [02:58:17] * Stomach quit (Quit: zzz)
180: [03:00:51] * Stomach has joined #silverstripe
181: [03:03:58] <UncleCheese> Colin[pi] yeah, it's ridiculous
182: [03:04:14] <UncleCheese> it's lik eth ekind of place you would rent if you were going on holiday
183: [03:04:34] <Colin[pi]> UncleCheese: nice :D
184: [03:04:55] <UncleCheese> it just makes absolutely no sense.. i have no idea how we're living there
185: [03:08:39] <Vedran__> anyone going to the Melbourne Silverstripe meetup?
186: [03:09:25] * micmania1 quit (Quit: micmania1)
187: [03:10:17] * micmania1 has joined #silverstripe
188: [03:12:31] <zippy> be nice if you could do list($foo, $bar) = array('Single item'); with out it complaining
189: [03:16:17] * camfindlay quit (Quit: camfindlay)
190: [03:19:12] <zippy> sessions get started auto right? weird issue
191: [03:19:18] <zippy> I set something in my session, it gets set
192: [03:19:30] <zippy> but wont show on another page... even if I dump all my session is empty
193: [03:20:02] <zippy> mm sound the issue
194: [03:20:08] <zippy> doesn't like | in the session key name
195: [03:21:48] <zippy> sweet, now I can do FlashMessage::success('Wooo'); :D
196: [03:22:00] <zippy> I think I am getting RSI in my thubm..
197: [03:22:02] <zippy> *Thumb
198: [03:35:31] <Stomach> lol new zealand
199: [03:35:32] <Stomach> http://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=11469866
200: [03:40:09] <ss23> saw that
201: [03:40:10] <ss23> idek
202: [03:43:21] <spronk> weps
203: [03:49:34] * Sticks has joined #silverstripe
204: [03:50:11] * r_hector has joined #silverstripe
205: [03:52:27] * travis-ci has joined #silverstripe
206: [03:52:28] <travis-ci> silverstripe/silverstripe-framework#5172 (3 - 953b518 : Damian Mooyman): The build passed.
207: [03:52:28] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7cd5cf3d4a6a...953b518403cb
208: [03:52:28] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67937113
209: [03:52:28] * travis-ci has left #silverstripe
210: [03:54:37] <zippy> I think it's because I have been Command+R like a boss last few days, that thumb been hitting the command key...
211: [03:54:38] <zippy> hmm
212: [03:58:10] <Vedran__> can you have php functions inside .ss files?
213: [03:58:18] <Colin[pi]> Vedran__: god no
214: [03:58:22] <Vedran__> <?php echo date('Y') ?>
215: [03:58:27] <Vedran__> gah... :/
216: [03:58:44] <Colin[pi]> Vedran__: that's the whole point, to keep raw php out of the templates :P
217: [03:58:54] * Vedran__ nods
218: [03:58:59] <zippy> wow..
219: [03:59:03] <Vedran__> -with a sad face
220: [03:59:17] <zippy> Verdran you can use $Now.Year
221: [03:59:18] <Colin[pi]> I believe you can use $Now in a template to refer to a date
222: [03:59:21] <Colin[pi]> ^
223: [03:59:23] <zippy> or $Now.format('Y')
224: [03:59:50] <zippy> wow... http://www.boastr.net/ is decent
225: [03:59:58] <zippy> just maped some of my mouse buttons
226: [04:00:24] <zippy> help out my thumb hopefully
227: [04:06:46] * camfindlay has joined #silverstripe
228: [04:09:14] <zippy> camfindlay: https://docs.silverstripe.org/en/3.1/developer_guides/controllers/ broke in chrome?
229: [04:09:31] <camfindlay> yip… it’s been raised on the dev list
230: [04:09:41] <zippy> search is also pretty hit and miss
231: [04:09:44] <zippy> no results for
232: [04:09:48] <zippy> allowed actions
233: [04:09:50] <camfindlay> https cert is installed we just need to get time to update the menu tool bar
234: [04:10:32] <camfindlay> the global toolbar module will need an update if anyone is keen to help
235: [04:11:00] <zippy> delete it?
236: [04:11:47] <Vedran__> thanks zippy + Colin[pi]
237: [04:11:50] <zippy> camfindlay: whats happening with the videos? been a while now since a new one... getting worried they are going to be abandoned...
238: [04:12:10] <zippy> really good resource, and been referring
239: [04:13:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
240: [04:22:31] <Stomach> zippy I use http://magicprefs.com/
241: [04:23:00] <zippy> I don't have a magic mouse
242: [04:23:20] <Stomach> touch touchpad too
243: [04:23:22] <Stomach> same thing as boastr?
244: [04:23:35] <Stomach> all I use it for is so I can have a middle click
245: [04:23:37] <Stomach> stupid mouse
246: [04:24:11] <Colin[pi]> zippy: I think they've been working UC too hard :D
247: [04:24:25] <zippy> Stomach: a real mouse; http://techgage.com/reviews/logitech/performance_mx/logitech_performance_mx_01_thumb.jpg
248: [04:25:04] <Stomach> :D
249: [04:26:20] * camfindlay quit (Quit: camfindlay)
250: [04:26:24] <Stomach> I havent had a real mouse since I was 19 :(
251: [04:33:08] <zippy> man.. can I not have an action called create on my controller....
252: [04:34:12] <zippy> don't want to use 'add' or 'new'
253: [04:34:14] <zippy> dang
254: [04:35:53] * joelpittet quit (Remote host closed the connection)
255: [04:40:37] <Stomach> CREAT
256: [04:40:49] <zippy> kreate
257: [04:41:09] <DanaeNZ> crate?
258: [04:41:42] <zippy> 作ります
259: [04:41:57] <zippy> with no links to click, they have to type it in...
260: [04:42:25] <Vedran__> If i want a particular page to use a different layout where do I put the .ss file? /themes/themename/templates/differentLayout.ss and /themes/themename/templates/Layout/differentLayout.ss dont seem to render
261: [04:43:14] <ss23> え?マジ?
262: [04:44:28] * mahfuz quit (Ping timeout: 246 seconds)
263: [04:44:43] <zippy> Vedran__: make sure to flush
264: [04:44:48] <Vedran__> ahhh ffs
265: [04:44:53] <zippy> !flush
266: [04:44:53] <ss-helper> Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
267: [04:45:27] <Vedran__> neither helped
268: [04:45:31] <Vedran__> but I did forget to flush
269: [04:45:36] <zippy> So if your page is a AwesomePage.php then AwesomePage.ss in the /Layout/ folder
270: [04:46:19] <zippy> You have a Page.ss in the /templates/ folder that has a $Layout right?
271: [04:46:26] <Vedran__> yep
272: [04:46:31] <zippy> And you have a Page.ss in the /templates/Layout/ folder?
273: [04:46:39] <Vedran__> I duplicated it, and added a string to the title
274: [04:46:47] <Vedran__> -just so I can identify its the right page
275: [04:46:57] <zippy> and in the CMS is it a different page type?
276: [04:47:01] <Vedran__> so 'AwesomePage.php' is set up like so...
277: [04:47:09] <zippy> !paste
278: [04:47:09] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
279: [04:48:59] <zippy> class FooPage extends Page ? then use FooPage.ss
280: [04:49:10] <Stomach> its actually the controller that controls the template
281: [04:49:13] <zippy> make sure in the CMS the page is that type as well, and you didn't create another "page" as well
282: [04:49:20] <Stomach> so you have to have FooPage_Controller extends Page_Controller
283: [04:49:26] <zippy> tru
284: [04:49:38] <Vedran__> http://www.sspaste.com/paste/show/5588e559e2077
285: [04:49:58] * travis-ci has joined #silverstripe
286: [04:49:59] <travis-ci> silverstripe/silverstripe-framework#5174 (3 - ca039e1 : David Craig): The build passed.
287: [04:49:59] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/953b518403cb...ca039e15ef73
288: [04:49:59] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67942731
289: [04:49:59] * travis-ci has left #silverstripe
290: [04:50:34] <zippy> Vedran__: ok soo..
291: [04:50:39] <Vedran__> I think I need to call it ServiceHolder
292: [04:50:51] <zippy> there is that
293: [04:51:09] <Vedran__> thats done it. :/
294: [04:51:22] <zippy> you might want to break up the templates some more
295: [04:51:24] <zippy> like
296: [04:51:31] <Vedran__> how do I fetch all the 'services' children?
297: [04:51:48] <zippy> you can have a Page.ss in the /themes/themename/templates/ folder which has all the head and footer stuff
298: [04:51:51] <zippy> then have $Layout in there
299: [04:52:13] <zippy> then in the /themes/themename/templates/Layout/ folder have the specific parts for those pages
300: [04:52:33] * Vedran__ nods
301: [04:52:46] <Vedran__> thanks zippy
302: [04:52:56] <zippy> Vedran__: watch the lessons video
303: [04:53:00] <zippy> they are short, and well worth it
304: [04:54:17] <Vedran__> is $Layout and /Layout arbitrary
305: [04:54:44] <Vedran__> could i forinstance have $superVar and a /superVar folder and it will render the Page.ss template?
306: [04:54:47] <zippy> nop
307: [04:55:01] <Vedran__> ok
308: [04:57:38] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
309: [05:00:27] * veb has joined #silverstripe
310: [05:04:41] * Kingy[a] is now known as Kingy
311: [05:05:14] <Kingy> morning
312: [05:05:36] <Kingy> ss23: testing now
313: [05:06:22] * Hailwood has joined #silverstripe
314: [05:08:22] * Stomach quit (Quit: zzz)
315: [05:08:49] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
316: [05:09:17] <Hailwood> Hey folks, any idea what would cause on a PUT request the request to have no params on windows? On our ubuntu server it works fine, but on windows it's empty. Doing file_get_contents('php://input') returns the correct value on ubuntu as well, and empty on windows
317: [05:09:51] <Vedran__> how do I get the increment count inside a <% loop %> ?
318: [05:11:00] * Stomach has joined #silverstripe
319: [05:16:56] * Stomach quit (Quit: zzz)
320: [05:24:49] * Stomach has joined #silverstripe
321: [05:25:53] <Ryan-Toast> Vedran__: $Pos
322: [05:28:40] <Vedran__> cheers Ryan-Toast
323: [05:28:47] <Ryan-Toast> Vedran__: no problem.
324: [05:29:01] <Ryan-Toast> You can chuck a parameter in it to get it to start where you want.
325: [05:29:06] <Ryan-Toast> i.e $Pos(1)
326: [05:29:35] <Ryan-Toast> that will start the pos at 1, 2, 3, 4. instead of 0,1,2,3,4
327: [05:31:17] * Vedran__ nods
328: [05:35:18] * novaweb quit (Quit: novaweb)
329: [05:35:26] <ss23> chur Kingy
330: [05:35:36] <Kingy> ss23: it fails
331: [05:35:40] <ss23> qq
332: [05:35:44] <ss23> Did it work on your local? :S
333: [05:35:52] * adrexia has joined #silverstripe
334: [05:36:40] <Kingy> doing some more testing of that now
335: [05:36:46] * Stomach quit (Quit: zzz)
336: [05:37:15] <Kingy> seems weird considering the share tables updated yesterday
337: [05:37:19] <Kingy> well one of them did anyway
338: [05:43:42] <ss23> Might be some kind of upgrade issue? I dunno sorry :O
339: [05:45:36] <Kingy> yeah i'll do some more testing today and get back to you tomorrow
340: [05:45:46] <Kingy> are there any logs or anything though?
341: [05:47:31] * Error404NotFound has joined #silverstripe
342: [05:47:49] <ss23> um
343: [05:47:50] <ss23> There are
344: [05:48:04] <ss23> What time did you test things?
345: [05:48:09] <ss23> Or want to test again while I'm talinig?
346: [05:48:15] <ss23> It's hard because it outputs a line every second
347: [05:48:34] <Kingy> ok
348: [05:48:39] <ss23> here we are
349: [05:48:40] <Kingy> tail now and i'll set one
350: [05:48:42] * stecman quit (Quit: This computer has gone to sleep)
351: [05:48:48] <ss23> naw naw got it
352: [05:48:57] <ss23> sake isn't executable
353: [05:49:01] <Kingy> \o/
354: [05:49:02] <Vedran__> Is it possible to upload images and reference them in css?
355: [05:49:12] <ss23> Okay
356: [05:49:15] <ss23> Try agian now, Kingy
357: [05:49:21] <Kingy> kk
358: [05:49:32] <ss23> Vedran__: Which CSS?
359: [05:49:46] <Vedran__> .somediv {
360: [05:49:50] <ss23> Vedran__: You could do "background-image: url('/assets/foo.png');" and it'll work if someone uploads foo.png, but that like...
361: [05:49:53] <ss23> I mean, external stylesheet?
362: [05:49:55] <Vedran__> background-image: $uploadedFile.URL
363: [05:50:11] <Vedran__> external would be preferable, dont really want to inline it
364: [05:50:12] <ss23> You can do it with PHP, yeah, not a static one
365: [05:50:20] <ss23> Well if it's external, you can't run PHP in it, right?
366: [05:50:58] <Kingy> ss23: Last updated 23-06-2015 17:50
367: [05:51:00] <Kingy> \o/
368: [05:52:22] <veb> Kingy: hey
369: [05:52:24] <veb> http://www.seek.co.nz/job/28884671?pos=1&type=standout
370: [05:52:30] <veb> think I could do that job jbrungar
371: [05:52:35] <veb> err Kingy
372: [05:52:50] <adrexia> Vedran__ I usually do that in the template
373: [05:53:01] <adrexia> often in a style tag in head
374: [05:53:05] <Vedran__> adrexia: inline style in the template?
375: [05:53:17] <adrexia> not inline
376: [05:53:31] <Vedran__> I think mine will need to be...
377: [05:53:42] <adrexia> but in the html, yeah - only way to do it really
378: [05:53:47] <Vedran__> unless there is a way to tread a image as 'background-size:cover'
379: [05:53:55] <Vedran__> *treat
380: [05:54:23] <adrexia> so like .header {background-image: url($Image.URL)}
381: [05:54:24] * 77CAA66ZH has joined #silverstripe
382: [05:54:24] <77CAA66ZH> silverstripe/silverstripe-framework#5176 (3.2 - 3e1c156 : Damian Mooyman): The build passed.
383: [05:54:24] <77CAA66ZH> Change view : https://github.com/silverstripe/silverstripe-framework/compare/13df9c41634c...3e1c156411a1
384: [05:54:24] <77CAA66ZH> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67946514
385: [05:54:24] * 77CAA66ZH has left #silverstripe
386: [05:55:00] <Vedran__> yer, the problem is I need it to loop inside Children
387: [05:55:15] <adrexia> loop inside children?
388: [05:55:33] <Vedran__> <% loop $Children %>
389: [05:55:33] <Vedran__> <% if $Odd %>
390: [05:55:34] <adrexia> for background images?
391: [05:55:54] * spronk quit (Quit: I may need a longer sleep timer...)
392: [05:56:00] <Vedran__> I need each div to have a different background image, based off what is uploaded in cms
393: [05:56:08] <adrexia> oh!
394: [05:56:09] <Ryan-Toast> just inline it then.
395: [05:56:14] <adrexia> yeah, inline it
396: [05:56:18] <Vedran__> I suppose I could set an ID, then style it in head. but it seems a bit much
397: [05:56:18] <adrexia> or use real images
398: [05:56:28] <adrexia> yep
399: [05:56:30] <Ryan-Toast> or use requirements::customCSS
400: [05:56:35] * ss-helper quit (Ping timeout: 250 seconds)
401: [05:56:39] <Vedran__> adrexia: I need them to behave like backgroundsize:cover
402: [05:56:41] <adrexia> could set a unique class too
403: [05:56:50] <adrexia> but, seems excessive
404: [05:57:00] <adrexia> so width:100%
405: [05:57:00] <adrexia> ?
406: [05:57:02] <Ryan-Toast> Just inline them as background-image and set the class to background-size: cover.
407: [05:57:12] <Ryan-Toast> cover is different to width 100%
408: [05:57:12] <Vedran__> Ryan-Toast: thats what im up to
409: [05:57:14] <Vedran__> :)
410: [05:57:23] * glenn-bautista quit (Quit: Leaving.)
411: [05:57:27] <Vedran__> cheers for input guys!
412: [05:57:37] <adrexia> it depends what you want out of cover ;)
413: [05:57:39] <Vedran__> guys/girl
414: [05:57:43] <adrexia> lol
415: [05:57:46] * micmania1 quit (Quit: micmania1)
416: [05:58:04] <Ryan-Toast> adrexia: you want the div to always have the image in it, with no breaks :P
417: [05:58:13] <veb> simon_w: what's it like working at SS
418: [05:58:39] <adrexia> Ryan - and you can't have that with a 100% width img tag?
419: [05:58:52] <Ryan-Toast> adrexia: what if your image is extreme landscape?
420: [05:59:28] <adrexia> yeah - that's down to use case specific though ;)
421: [05:59:37] <Ryan-Toast> adrexia: never.trust.the.user :P
422: [05:59:44] <adrexia> haha
423: [06:01:07] * aditya has joined #silverstripe
424: [06:02:24] <aditya> http://www.sspaste.com/paste/show/5588f668878fb
425: [06:02:51] <aditya> http://www.sspaste.com/paste/show/5588f6837df78
426: [06:03:18] <ss23> Kingy: It will require another fix next deployment, please keep ticket open
427: [06:03:22] <ss23> Kingy: Problem was sake wasn't executable
428: [06:03:33] <aditya> why homepage widget isn't working in cms
429: [06:03:35] <ss23> going out irl, will respond either later tonight or tomorrow morning, don't release in the mean time
430: [06:03:35] <Kingy> roger that
431: [06:03:43] * Cheddam has joined #silverstripe
432: [06:03:43] <Kingy> haha all good
433: [06:03:45] <Kingy> thanks for the help
434: [06:04:09] * Mike123 has joined #silverstripe
435: [06:04:12] * ss-helper has joined #silverstripe
436: [06:06:40] <adrexia> ss23:
437: [06:06:40] <adrexia> going out irl, will respond either later tonight or tomorrow morning, don't release in the mean time
438: [06:06:51] <adrexia> how do you go out, not in real life?
439: [06:07:01] * veb quit (Quit: veb-irc: &)
440: [06:07:47] * veb has joined #silverstripe
441: [06:09:42] <Kingy> adrexia: second life date?
442: [06:10:22] <aditya> http://www.sspaste.com/paste/show/5588f668878fb
443: [06:10:24] <aditya> http://www.sspaste.com/paste/show/5588f6837df78
444: [06:10:49] <aditya> what is the reason why i am not getting homepage widget in cms
445: [06:13:42] * DanaeNZ quit (Quit: DanaeNZ)
446: [06:14:45] * travis-ci has joined #silverstripe
447: [06:14:46] <travis-ci> silverstripe/silverstripe-cms#1309 (3.1 - 3ac2981 : Damian Mooyman): The build was broken.
448: [06:14:46] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/0b92a61e5166...3ac29817badb
449: [06:14:46] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-cms/builds/67946534
450: [06:14:46] * travis-ci has left #silverstripe
451: [06:15:43] * darjus01 has joined #silverstripe
452: [06:16:01] <Vedran__> is there a way I can get the template that is being rendered on the front end? I want to have a class added to body... so I can reference page specific things
453: [06:16:34] * veb quit (Quit: veb-irc: &)
454: [06:18:34] <Vedran__> $ClassName I belive does the trick :)
455: [06:18:52] <Vedran__> err... SS already does this *sigh*
456: [06:22:33] <darjus01> is any tutorial how to make from angular html template to silverstripe theme?
457: [06:23:37] * travis-ci has joined #silverstripe
458: [06:23:38] <travis-ci> silverstripe/silverstripe-framework#5177 (3 - 0ce92b0 : Damian Mooyman): The build passed.
459: [06:23:38] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ca039e15ef73...0ce92b07280b
460: [06:23:38] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67946766
461: [06:23:38] * travis-ci has left #silverstripe
462: [06:23:58] * benjhocking has joined #silverstripe
463: [06:26:55] * Cheddam quit (Ping timeout: 250 seconds)
464: [06:30:21] * Stomach has joined #silverstripe
465: [06:38:21] * lerni_ has joined #silverstripe
466: [06:42:41] <Mike123> Guys really need ur help
467: [06:42:43] <Mike123> http://codepaste.net/d6b6az
468: [06:42:57] <Mike123> why i dont get anything in templat e?
469: [06:43:15] <Mike123> when i call ServiceBlock function
470: [06:43:45] <darjus01> did you put extention to config?
471: [06:44:04] <Mike123> yes
472: [06:44:17] <darjus01> ymp or php?
473: [06:44:30] <Mike123> http://codepaste.net/9enj13
474: [06:44:32] <Mike123> yml
475: [06:45:01] <darjus01> try to do Member::add_extension('BranchMemberExtension'); like this in php also
476: [06:45:11] <darjus01> lithuanian?
477: [06:45:42] <Mike123> yep
478: [06:45:52] <darjus01> ok tada lietuviskai :)
479: [06:45:56] <Mike123> o good :D
480: [06:46:02] <darjus01> vakar man tas pats buvo
481: [06:46:20] <darjus01> kai extendinau memberi bet tik yml buvau idejas
482: [06:46:34] <darjus01> kai idejau ir _config.php ir prabildinau suveike
483: [06:47:13] <Mike123> hmm keista , tuoj pabandysiu
484: [06:47:52] <darjus01> jo nes ant 3.1.6 veikdavo ir su vienu bet and 3.1.13 prireike 2 kazko
485: [06:47:54] <darjus01> ..
486: [06:48:49] <darjus01> beto jei nori funkcija kaip aprametra issitraukt pabandyk $ServiceBlocks()
487: [06:48:52] <darjus01> templeite
488: [06:49:01] * frostfire64 has joined #silverstripe
489: [06:50:07] <frostfire64> hello fellow stripers
490: [06:50:22] <darjus01> stripers :D
491: [06:52:10] * ss-helper quit (Ping timeout: 276 seconds)
492: [06:53:47] <Vedran__> anyone had issues with rendering svg's using silverstripe?
493: [06:56:01] * Ryan-Toast quit (Quit: Ryan-Toast)
494: [06:58:10] * ss-helper has joined #silverstripe
495: [07:01:57] * spronk has joined #silverstripe
496: [07:04:12] <aditya> what should i use instead of dataobjectmanager in ss 3.1
497: [07:08:12] * ss-helper quit (Remote host closed the connection)
498: [07:08:27] * ss-helper has joined #silverstripe
499: [07:10:14] <Colin[pi]> aditya: GridField
500: [07:12:23] * arnhoe has joined #silverstripe
501: [07:13:38] * r_hector quit (Remote host closed the connection)
502: [07:14:28] * r_hector has joined #silverstripe
503: [07:15:01] * r_hector quit (Remote host closed the connection)
504: [07:16:30] * arunisK has joined #silverstripe
505: [07:21:49] <frostfire64> i kinda want to ditch smartphones entirely and get myself an Asha 310
506: [07:22:19] * elgabbu has joined #silverstripe
507: [07:25:43] * camfindlay has joined #silverstripe
508: [07:34:37] * aditya quit (Quit: Page closed)
509: [07:37:34] * Stomach quit (Quit: zzz)
510: [07:38:12] * camfindlay quit (Quit: camfindlay)
511: [07:38:27] * antmas has joined #silverstripe
512: [07:38:40] <antmas> morning all
513: [07:38:42] <antmas> o/
514: [07:39:58] <antmas> qn, populating dropdownfields with static arrays
515: [07:40:06] * Vedran__ quit ()
516: [07:40:12] <arunisK> morning to you too
517: [07:40:54] <antmas> can I just do dropdownfield('name', 'label', array('foo'=>'bar', 'foo1'=>'bar1');?
518: [07:41:11] <antmas> add another ) onto that :P
519: [07:41:13] <darjus01> yes
520: [07:41:24] <Kingy> antmas: morning?
521: [07:41:39] <antmas> Kingy, we all just say morning here :P
522: [07:41:45] <antmas> darjus01, cheers
523: [07:41:51] <Kingy> oh thought u had moved somewhere closer to me lol
524: [07:41:53] <Kingy> was all excited
525: [07:41:57] <antmas> :P
526: [07:42:05] <darjus01> DropdownField::create('YesNo')->setSource(array(0 => 'No', 1 => 'Yes'))->setEmptyString('select')
527: [07:42:06] <Kingy> coming back on sunday though :)
528: [07:42:33] <antmas> darjus01, is that the better way to do it?
529: [07:42:49] * spronk quit (Quit: I may need a longer sleep timer...)
530: [07:43:00] <darjus01> to me more by the book
531: [07:43:04] <darjus01> i say
532: [07:43:37] <antmas> so that'd be $myField = DropdownField::create('YesNo')->setSource(array(0 => 'No', 1 => 'Yes'))->setEmptyString('select') ?
533: [07:43:52] <darjus01> yes
534: [07:43:57] <antmas> darjus01,awesome, thanks
535: [07:44:01] <darjus01> np
536: [07:51:43] * AshKyd quit (Ping timeout: 248 seconds)
537: [07:54:40] * AshKyd has joined #silverstripe
538: [07:54:50] * Stomach has joined #silverstripe
539: [08:00:07] * kinglozzer has joined #silverstripe
540: [08:01:39] * spronk has joined #silverstripe
541: [08:03:06] <antmas> bah, what's the error where theme assets don't load for a given page?
542: [08:05:50] <Colin[pi]> antmas: <% base_tag %> ?
543: [08:07:00] <antmas> no tempalte
544: [08:07:04] <antmas> template*
545: [08:07:50] * lerni_ quit ()
546: [08:14:05] * Stomach quit (Quit: zzz)
547: [08:14:37] * swaiba has joined #silverstripe
548: [08:15:54] * Sticks quit (Quit: Leaving)
549: [08:23:03] * veb has joined #silverstripe
550: [08:23:56] * Stomach has joined #silverstripe
551: [08:26:35] * veb quit (Client Quit)
552: [08:29:06] * Hailwood quit (Quit: Leaving)
553: [08:37:10] * mobiusnz has joined #silverstripe
554: [08:38:23] <ss-helper> Re: [silverstripe-dev] "Out-of-the-box" CMS Bugs in 3.2 - https://groups.google.com/d/msg/silverstripe-dev/rf97JMuo0jU/sfZ_HIq_MFIJ
555: [08:41:21] <antmas> hmmm anyone getting no stable package when installing with composer?
556: [08:41:31] <simon_w> For what package?
557: [08:41:45] <antmas> just silverstripe-installer
558: [08:41:51] <antmas> not tagging it or anything
559: [08:42:17] <antmas> 'could not find package silverstripe-installer with stability stable.
560: [08:42:20] <antmas> '
561: [08:42:36] <simon_w> silverstripe/installer
562: [08:43:08] <antmas> herpderp
563: [08:44:32] <frostfire64> ss documentation could use a snippet database ;p
564: [08:44:59] <frostfire64> i am building one for our company right now but it's far from complete
565: [08:50:34] * travis-ci has joined #silverstripe
566: [08:50:35] <travis-ci> silverstripe/silverstripe-framework#5178 (3.2 - b7945eb : Will Morgan): The build passed.
567: [08:50:35] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3e1c156411a1...b7945eb251c1
568: [08:50:35] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67961625
569: [08:50:35] * travis-ci has left #silverstripe
570: [08:50:45] * guci0 has joined #silverstripe
571: [08:50:48] <darjus01> how to use LabelField is can someone give example?
572: [08:50:48] <guci0> Hello World!
573: [08:51:42] <swaiba> guci0 Hello IRC!
574: [08:52:27] * Pytsdk has joined #silverstripe
575: [08:53:49] <darjus01> already got it
576: [08:54:42] <antmas> Call to a member function setForm() on a non-object usually means something bunk in my controller right?
577: [09:03:29] * spronk quit (Quit: I may need a longer sleep timer...)
578: [09:08:08] * travis-ci has joined #silverstripe
579: [09:08:09] <travis-ci> silverstripe/silverstripe-framework#5179 (3.2 - 21e45ee : Will Morgan): The build passed.
580: [09:08:09] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b7945eb251c1...21e45eed60dc
581: [09:08:09] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67961944
582: [09:08:09] * travis-ci has left #silverstripe
583: [09:12:27] <antmas> ignoring the terrible indenting, can anyone see what could be causing a 'all to a member function setForm() on a non-object' in http://pastebin.com/Z6bkZR4L
584: [09:15:19] * sminnee_ has left #silverstripe
585: [09:15:30] * Colin[pi] quit (Ping timeout: 272 seconds)
586: [09:15:33] * sminnee_ has joined #silverstripe
587: [09:16:23] <antmas> sminnee_,o/
588: [09:16:32] * Colin[pi] has joined #silverstripe
589: [09:20:55] * bemusedrat has joined #silverstripe
590: [09:25:49] <Pytsdk> \o sminnee_ antmas
591: [09:26:16] <simon_w> antmas, $returnType in $fields
592: [09:26:24] <Pytsdk> urgh, how the fuck do people get confused when PHP goes YOU ARE NOT GIVING THE FUNCTION ENOUGH ARGUMENTS
593: [09:26:33] <Pytsdk> and they come into the forums going "What is the problem?"
594: [09:28:07] <Pytsdk> wait, cancel that. They're building the parameter set as a string, then passing the single string (arg1, arg2, arg3) to the function and expecting it to work :<
595: [09:28:08] <Pytsdk> wtf
596: [09:29:07] <swaiba> Pytsdk humans are wonderfully flawed sometimes :)
597: [09:29:20] <Pytsdk> magically so.
598: [09:29:42] <Pytsdk> I mean, I get non technial people not giving a shit enough to read & comprehend the message, but when you're a developer...
599: [09:33:26] * Tanger quit (Quit: sleep())
600: [09:38:51] * bemusedrat quit (Quit: Leaving)
601: [09:43:32] * bemusedrat has joined #silverstripe
602: [09:45:51] * Stomach quit (Quit: zzz)
603: [09:50:39] <frostfire64> Pytsdk: its not that php is a shitty language
604: [09:51:00] <frostfire64> the culture is filled with shitty programmers :<
605: [09:52:30] <Pytsdk> mmm.
606: [09:52:53] <Pytsdk> PHP gets a bad rap, but it's mostly just language inconsistencies that seems to be the major gripe.
607: [10:00:18] * lerni_ has joined #silverstripe
608: [10:00:37] * Kingy is now known as Kingy[a]
609: [10:37:13] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
610: [11:00:16] * frostfire64 quit (Quit: Leaving)
611: [11:08:22] * Cheddam has joined #silverstripe
612: [11:20:52] <Pytsdk> Using SS with external permissions is a pain in the ringpiece
613: [11:24:39] * UncleCheese has joined #silverstripe
614: [11:25:17] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
615: [11:33:28] <swaiba> Pytsdk SS permissions on ther own have never thrilled me
616: [11:38:33] * ss-helper quit (Remote host closed the connection)
617: [11:38:49] * ss-helper has joined #silverstripe
618: [11:53:37] * aditya has joined #silverstripe
619: [11:54:07] <aditya> how to make config in yml of staticpublishque module
620: [11:59:28] <Pytsdk> no idea sorry
621: [11:59:42] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
622: [12:00:03] <Pytsdk> swaiba: coupled with Member and used with a decent strategy they can be good. But yeah the whole security system is a bit of a mess, has been for yonks.
623: [12:00:15] * stecman has joined #silverstripe
624: [12:00:28] <Pytsdk> one of the things FrozenFire used to gripe about a lot, then I dived in there and discovered he was absolutely right :<
625: [12:00:40] <Pytsdk> Hasn't changed at all since either I think.
626: [12:01:21] * aditya quit (Quit: Page closed)
627: [12:08:00] <swaiba> Pytsdk do you know of any modules for improved permission in V3
628: [12:08:20] <swaiba> we have one homegrown that I'd like to put out there, but too coupled to our stuff now I think
629: [12:08:50] * lerni_ quit (Remote host closed the connection)
630: [12:09:19] * Mike123 quit (Ping timeout: 246 seconds)
631: [12:16:08] <Pytsdk> swaiba: there aren't any so far as I know.
632: [12:16:56] <swaiba> disapointing
633: [12:17:01] <Pytsdk> In theory it should be a matter of simplicity in plugging out the authenticator (and/or other various bits) as used by Security, but in practice... it's certainly not that easy.
634: [12:17:15] <Pytsdk> and being monolithic like SS is, it doesn't often lead to external auth anyway.
635: [12:17:42] <Pytsdk> Same like in theory the wysiwyg is changable... but it's really not.
636: [12:17:56] <swaiba> some of the 2.4 systems really scare me once people start creating many groups with many permissions
637: [12:17:56] * UndefinedOffset has joined #silverstripe
638: [12:18:14] <swaiba> crashes randomly and makes no sense when in multiple groups
639: [12:18:18] <Pytsdk> yeah, roles came into it in ... 2.3 iirc, and that confused the matter a even mroe.
640: [12:18:34] <swaiba> big time, I still don't get roles vs groups
641: [12:18:48] <Pytsdk> I see groups as heirarichal, and roles as horizontal spread. but it's so confusing :<
642: [12:18:50] * Eliseth has joined #silverstripe
643: [12:18:53] <Eliseth> heya!
644: [12:19:04] <Pytsdk> kinda like the difference between subclasses and traits swaiba
645: [12:19:09] <Pytsdk> Eliseth: hihi
646: [12:19:14] <swaiba> Eliseth o/
647: [12:19:54] <Eliseth> Question: I'm using a poll module and the poll is being inserted to the page by calling the function that returns the form/result. Let's say $PollForm.
648: [12:19:57] <Eliseth> All is working
649: [12:19:59] <Eliseth> BUT
650: [12:20:16] <Eliseth> Now the client asks for a way to insert the poll _anywhere_ in the content
651: [12:20:35] <Eliseth> How would I do that, as that part is rendered by $Content
652: [12:20:57] <Eliseth> I was thinking of introducing a custom tag like [Poll] in the content, but no idea how to go from there
653: [12:27:01] * Error404NotFound quit (Ping timeout: 250 seconds)
654: [12:30:05] * sminnee has joined #silverstripe
655: [12:30:12] * stecman quit (Quit: This computer has gone to sleep)
656: [12:31:31] <Pytsdk> Eliseth: you could do it like userforms, or via a shortcode.
657: [12:33:26] <Pytsdk> public function getContent() { return string_replace('$PollForm', $this->PollForm(), $this->dbObject('Content')->forTemplate()))
658: [12:33:32] <Pytsdk> ;}
659: [12:33:34] <Pytsdk> or something
660: [12:33:48] <Pytsdk> (userforms way
661: [12:33:49] <Pytsdk> )
662: [12:34:20] <Pytsdk> not the prettiest, but should work (well, something along those lines)
663: [12:39:16] * Error404NotFound has joined #silverstripe
664: [12:39:55] * Colin[pi] quit (Ping timeout: 246 seconds)
665: [12:40:07] <Eliseth> I'm trying to use the ShortcodeParser
666: [12:44:10] * bemusedrat quit (Quit: Leaving)
667: [12:52:03] * DimiStripe has joined #silverstripe
668: [12:56:33] * terryapodaca has joined #silverstripe
669: [12:56:53] <terryapodaca> ok CSS gurus....
670: [12:57:03] <terryapodaca> http://justin.cultivateapps.com/
671: [12:57:18] <terryapodaca> shrink you browser to less than 800px wide
672: [12:57:29] <terryapodaca> and then drop down the "hamburger" menu
673: [12:57:32] * Mike123 has joined #silverstripe
674: [12:58:08] <terryapodaca> can anyone tell me why my border-bottom looks more like 2px instead of 1px?
675: [12:59:14] <Pytsdk> because hamburgers make you fat.
676: [12:59:32] <terryapodaca> haha...very funny
677: [12:59:45] <Pytsdk> border top & bottom
678: [12:59:50] <Pytsdk> not just bottom
679: [13:00:07] <terryapodaca> and trust me I wouldn't be using the "hamburger" if it was specific request by the client
680: [13:00:12] <Pytsdk> use :first to style top on first content
681: [13:00:29] <Pytsdk> otherwise forget about border-top
682: [13:01:04] <Pytsdk> err, :first-child
683: [13:01:17] * Pytsdk hasn't css'd in a long time.
684: [13:02:52] <terryapodaca> doesn't seem to be working
685: [13:03:52] <Pytsdk> oh, it's because the border is on the a, not the li.
686: [13:04:58] <terryapodaca> I think I tried that too, let me try again
687: [13:05:32] <Pytsdk> hmm, weird. chrome says there's no border, but the bottom part of the top (problem) border is clearly within the element's bounds.
688: [13:07:05] <terryapodaca> also, when I put text-decoration: underline on the link...the line is super thick too
689: [13:07:22] * Eliseth quit (Ping timeout: 256 seconds)
690: [13:07:28] <Pytsdk> yeh I dunno. if you take off the 1px def then it disappears all together.
691: [13:07:31] <Pytsdk> I blame chrome.
692: [13:07:44] <Pytsdk> clearly a shit browser at faule ;)
693: [13:18:24] <Mike123> how to update summary fields ?
694: [13:22:01] <arunisK> dev/build
695: [13:22:09] <arunisK> to see changes in admin
696: [13:28:59] <Mike123> i think i am doing something wrong , can u take a look ? http://codepaste.net/ay3oke
697: [13:44:38] * Guits has joined #silverstripe
698: [13:45:15] <Guits> Hi, how can i call a javascript or other event when uloadfields is uploaded
699: [13:52:21] <arunisK> <Mike123>, cannot tell by looking. one field is not showing, or more?
700: [14:08:36] <ss-helper> Silverstripe admin area overwrite - http://stackoverflow.com/questions/20078980/silverstripe-admin-area-overwrite
701: [14:12:20] * babak quit (Quit: Connection closed for inactivity)
702: [14:13:29] * muskie9 has joined #silverstripe
703: [14:19:58] * swaiba quit (Remote host closed the connection)
704: [14:37:40] * keroberos quit (Quit: WeeChat 1.3-dev)
705: [14:47:46] * minizeka has joined #silverstripe
706: [14:48:09] <minizeka> hey, anybody saw https://docs.silverstripe.org/en/3.1/developer_guides/templates/syntax/ lately?
707: [14:48:47] <minizeka> CSS seems to be fucked up really bad
708: [14:52:39] * PenguinMan98 has joined #silverstripe
709: [14:58:55] <Pytsdk> ha, that's new minizeka - wasn't like that about an hour or so ago
710: [15:00:45] <PenguinMan98> say what?
711: [15:04:48] * Mike123 quit (Quit: Page closed)
712: [15:05:42] * darjus01 quit (Quit: Leaving)
713: [15:06:03] * CodeDave has joined #silverstripe
714: [15:06:34] <CodeDave> Hi SilverStripe fans!
715: [15:08:00] <CodeDave> I am new to Silverstripe but I am already very happy how convenient it is to use it!
716: [15:08:35] <CodeDave> But now I have some problems, and need your help!
717: [15:09:34] <CodeDave> Background: I want to use Silverstripe without the CMS module! I want to extend the Admin stuff with my custom implementations!
718: [15:10:21] <CodeDave> For this purpose, I am using DataObjects and ModelAdmin - easy things are easy !
719: [15:11:06] <CodeDave> But now I want to extend/overwrite some functionalties!
720: [15:11:51] <CodeDave> I want use buld my own query for the dataobject that uses different joined tables!
721: [15:12:28] * CodeTrap has joined #silverstripe
722: [15:12:30] * joelpittet has joined #silverstripe
723: [15:12:52] <muskie9> CodeDave for your joins: http://docs.silverstripe.org/en/3.1/developer_guides/model/data_model_and_orm/#joining-tables
724: [15:13:37] <CodeDave> In general I want to reuse the Form and Grid Scaffolding (with searching, filtering and sortng) but define the dataset (the query) on my own
725: [15:14:23] <CodeDave> I tryied to overwrite the get Method from the DataObject im my new Model but it doesn't work :-/
726: [15:14:40] * catcher has joined #silverstripe
727: [15:16:39] <minizeka> Pytsdk: sorry to inform you, noticed it yesterday actually
728: [15:16:50] <minizeka> but thought it was some kind of update
729: [15:17:37] <CodeDave> @muskie9: thanks for the Link, but I already studied the Documentation, the Video Lessons - this is also a big help - but i couldn't use this a to implement what i need
730: [15:19:56] <muskie9> CodeDave are you looking to do what you mentioned in model admin?
731: [15:21:18] <CodeDave> I would like to resue as much functionality of the modelAdmin as possible! But for a custom table that cannot be changed by the scaffolder! It is over 10GB!
732: [15:22:41] <muskie9> I've had mixed results when trying to modify stuff in model admin like that, usually it's messy
733: [15:22:57] <PenguinMan98> I've been doing something similar
734: [15:23:16] <CodeDave> I already tried to define in the DataObject, that it doesn't need a DB Table!
735: [15:23:41] <PenguinMan98> my approach is to create a custom form field, use that template to write my awesome custom form, then use the 'onBeforeWrite' to persist things to the database my way.
736: [15:24:43] <CodeDave> that was also my idea - with the onBeforeWrite approach
737: [15:25:06] <Pytsdk> minizeka: must be, certainly wasn't like that just earlier.
738: [15:25:14] <Pytsdk> maybe it's some process that runs nightly.
739: [15:25:16] * Pytsdk shrugs
740: [15:25:40] <PenguinMan98> http://screencast.com/t/mv7imhDN83
741: [15:25:42] <CodeDave> but I want SS to build my table automatically I mean the one visilbe for the user (GridField)
742: [15:25:45] <PenguinMan98> This is what mine looks like so far
743: [15:26:12] <Pytsdk> CodeDave: you can't have a dataobject without a table.
744: [15:26:50] <Pytsdk> model admin is for managing models, ie - dataobject. I imagine you'll probably have limited success (or a very hard time) managing other things.
745: [15:26:53] <CodeDave> that is bad :-/
746: [15:26:56] <PenguinMan98> you can have a class that doesn't have a table, but it won't inherit DataObject
747: [15:27:08] <PenguinMan98> If you inherit DataObject, it makes a table
748: [15:27:08] <Pytsdk> CodeDave: it kinda sounds like you've got the wrong tool for the job.
749: [15:27:43] <Pytsdk> PenguinMan98: indeed. But if you don't inherit dataobject, it's not a model.
750: [15:28:18] <Pytsdk> sounds like silverstripe is too heavy a tool for CodeDave's needs.
751: [15:28:22] <PenguinMan98> Inherit Page or PageController
752: [15:28:27] <CodeDave> i thougth I define a class extending the Data object, with all db fields defined in it, but i would like to define the sql by myself!
753: [15:28:28] <PenguinMan98> Should be doable
754: [15:28:43] <Pytsdk> PenguinMan98: Page is a DataObject -.-
755: [15:28:57] <PenguinMan98> PageController then
756: [15:28:58] <Pytsdk> Page_Controller is not a model.
757: [15:29:04] <Pytsdk> (clue's in the name)
758: [15:29:10] <PenguinMan98> heh
759: [15:29:13] <PenguinMan98> indeed
760: [15:29:53] <PenguinMan98> k. I'll leave answering this to people with more experience
761: [15:29:59] <PenguinMan98> Sorry Dave
762: [15:30:02] <PenguinMan98> I can't do that
763: [15:30:13] <Pytsdk> The simple answer is basically that SilverStripe is the wrong tool for the job.
764: [15:30:48] <Pytsdk> as much as I'd like it to be otherwise, one must recognise weaknesses also.
765: [15:30:57] <PenguinMan98> Can't you inherit DataObject and override the write() method?
766: [15:31:05] <Pytsdk> no.
767: [15:31:10] <PenguinMan98> bummer
768: [15:31:22] <Pytsdk> Silverstripe is pretty monolithic in structure.
769: [15:31:41] * arnhoe quit ()
770: [15:31:51] <minizeka> Pytsdk: yeah, it's ok now
771: [15:31:53] <CodeDave> yes that seems to be really true :-/
772: [15:32:00] <CodeDave> yes that seems to be really true :-/
773: [15:32:04] <Pytsdk> managing external sources is a pain, and all CodeDave really wants is functionality from modeladmin - which I'm sure there are heaps of projects to facilitate that.
774: [15:32:19] <minizeka> funny thing - I noticed it yesterday around same time
775: [15:32:25] <Pytsdk> It's not all that complex, just a basic CRUD interface.
776: [15:32:36] <CodeDave> ok, maybe it could be done using anothe approach ...
777: [15:32:39] <minizeka> ~ 16:30 CEST
778: [15:33:23] <Pytsdk> CodeDave: don't try to shape your work around a tool, use the right tool for the project.
779: [15:33:31] <Pytsdk> minizeka: yeah, strange.
780: [15:33:49] <CodeDave> ModelAdmin is generating the pretty Grid with Filters Sorting etc. Is there a posibility to do it without the DataObject? but in the Admin Part of SS?
781: [15:34:06] <Pytsdk> Not easily.
782: [15:34:15] <CodeDave> hmm
783: [15:34:35] <PenguinMan98> I'm pretty sure I recall a variant of DataGridView was available through Composer to add into any project
784: [15:34:35] <Pytsdk> what is the attraction to the admin interface?
785: [15:34:47] <Pytsdk> PenguinMan98: yeah there are many.
786: [15:35:08] <Pytsdk> I'm wondering why it must be in SS - especially since without CMS it's basically just a gateway to ModelAdmin
787: [15:35:24] <PenguinMan98> My client is attracted to Silverstripe because of the tiered permissions structure
788: [15:35:43] <Pytsdk> But again, nothing too special there either.
789: [15:35:52] <PenguinMan98> true
790: [15:36:11] <Pytsdk> the attraction to silverstripe for most is that it ties them all together and provides a good stable base to quickly build upon.
791: [15:36:16] * cupcake has joined #silverstripe
792: [15:36:29] <Pytsdk> ie, the monolithic structure is a bonus. When you're after a single part that's when things like symfony or laravel become more viable.
793: [15:36:46] <cupcake> how can i get/add the Actions column in the gridfield? the uploadfield is missing the search function
794: [15:36:48] <Pytsdk> silverstripe has less bootstrapping, but a bit less modularity too.
795: [15:36:54] * PenguinMan98 kicks the person who thought it would be a good idea to put up webpages for the 4.0 documentation and get then indexed by google but not put any content in them at all. Just blank pages
796: [15:37:03] <PenguinMan98> It makes it a pain to find anything useful
797: [15:37:05] <Pytsdk> cupcake: one of the components
798: [15:37:11] <CodeDave> I also like the permission defining in SS! it as exactly that what I need!
799: [15:37:24] <cupcake> which one?
800: [15:37:24] <Pytsdk> make one, implement the appropriate interfaces. Not much to it. Look at edit button for hints :>
801: [15:38:07] <cupcake> make one?
802: [15:38:42] <Pytsdk> Yes. I dunno what you're trying to do, but if the functionality isn't already there, you'll have to implement it.
803: [15:38:57] <cupcake> its already there obviously
804: [15:39:02] <cupcake> i can see it on other gridfields
805: [15:39:05] <cupcake> but this one no
806: [15:39:23] <Pytsdk> then add it to your config.
807: [15:39:53] <Pytsdk> or use another pre-defined config
808: [15:40:31] <Pytsdk> minizeka: it seems to just be the header - the actual content seems fine.
809: [15:40:35] <PenguinMan98> If I man ask Dave, what exactly are you trying to do with your database that is so weird?
810: [15:40:47] <PenguinMan98> may*
811: [15:41:00] <Pytsdk> PenguinMan98: my guess is start a new project using existing data (ie, rebuild)
812: [15:41:37] <PenguinMan98> If that's the case, just build the site and let the system build the tables and then copy in your data
813: [15:42:13] <Pytsdk> he said before (or at least hinted) that a migration was out of the question
814: [15:43:04] <Pytsdk> SilverStripe normalises in different ways - it's not always possible (or at least easy) to simply fit an existing schema into it.
815: [15:43:40] * PenguinMan98 shrugs. Maybe I'm a special case but it always seems to build the db the same way I would
816: [15:43:47] <CodeDave> well there is a system, that is using some old UI and we I would like to replace it with the Admin UI of SS
817: [15:43:50] <Pytsdk> I'm doing something similar at the moment, and it's a battle. If you're new to silverstripe I certainly wouldn't recommend it. Especially specifically using the admin interface.
818: [15:44:07] <CodeDave> SS brings all the general features that i need!
819: [15:44:10] <Pytsdk> CodeDave: it's probably easier to simply update the UI of your current project to be similar to that of SS's
820: [15:44:33] <Pytsdk> Again it's not all that complex if all you're doing is basicallly simple CRUD stuff.
821: [15:44:44] <CodeDave> Forms with validations etc, Grids with sorting filtering etc and permissions! Awesome!
822: [15:44:47] <Pytsdk> (which is all that ModelAdmin provides)
823: [15:45:02] * sminnee quit (Quit: sminnee)
824: [15:45:10] <Pytsdk> CodeDave: the grid busienss you can get with another library, and I'm sure there are many other form libraries.
825: [15:45:42] <PenguinMan98> I want to understand what Daves real problems are before perscribing a solution
826: [15:45:52] <Pytsdk> The kicker is more permissions, but if you've got existing data with existing permissions then it's best to not try and shoehorn it into silverstripe anyway
827: [15:45:57] <CodeDave> Another problem is, the UI is a licensed product, and the license is valid only in this year - than it cannot be used - and it will be not maintained anymore
828: [15:46:07] <CodeDave> sounds strange but it is so :-/
829: [15:46:16] <Pytsdk> PenguinMan98: how do you mean?
830: [15:46:22] <CodeDave> ??
831: [15:46:30] <PenguinMan98> Well, we still know very little about what Daves needs are
832: [15:46:40] <Pytsdk> he needs a CRUD.
833: [15:46:48] <Pytsdk> with filters and searches.
834: [15:47:12] <Pytsdk> can't be much more because that's all modeladmin does. There's nothing magical about it.
835: [15:47:22] * minizeka quit (Ping timeout: 246 seconds)
836: [15:47:27] <PenguinMan98> And permissions and a lovely UI, but why? What is his goal? What problem is his website tool solving?
837: [15:47:43] <Pytsdk> Well that's probably not for us to know.
838: [15:47:51] <Pytsdk> could be sensitive.
839: [15:48:04] <CodeDave> There is a system written in PHP using some UI framework - that was developed extra for that - forms, grids etc. this cannot be used after 2015
840: [15:48:11] <PenguinMan98> Any details dave could offer would give us a clearer picture of how to help
841: [15:48:37] <Pytsdk> While it would be nice to be able to simply plug into silverstripe and have everything work, that's simply not going to be the case.
842: [15:48:51] * sminnee has joined #silverstripe
843: [15:48:53] <CodeDave> Now I want to reimplement this with the SS Admin part - because in my opinion SS brings everything what I want! Forms Grids Permissions!
844: [15:49:48] <CodeDave> I want SS to manage the existing data!
845: [15:49:49] <Pytsdk> well CodeDave you've either got one big nasty battle ahead if you're dead set on refusing other options, or you've got one big migration job.
846: [15:49:53] <PenguinMan98> But as with any such framework tool solution thing, you have to fit into that framework to make it work and some if not most ideas will eventually have needs that will go against what the tool was written to handle.
847: [15:50:13] <PenguinMan98> Which is what I'm fighting
848: [15:50:25] <Pytsdk> PenguinMan98: no, that's why I'm suggesting component based solutions, such as laravel, symfony, zend even.
849: [15:50:36] <Pytsdk> rather than singular do it all things.
850: [15:50:43] <CodeDave> There are also some workflows behind the data - and I wanted to implement a kind of state machine to make it work!
851: [15:50:48] <PenguinMan98> Or silex or slim
852: [15:50:55] <Pytsdk> indeed.
853: [15:51:11] <Pytsdk> that way one can pick and choose components to make it fit better.
854: [15:51:25] <Pytsdk> and still end up with a coherent system.
855: [15:51:34] <PenguinMan98> But the tools for finding the right components are still in their infancy
856: [15:51:45] <PenguinMan98> That's my biggest frustration
857: [15:51:46] <Pytsdk> CodeDave: your project sounds a lot like my current one. And I'm telling you now, it's not nice.
858: [15:52:22] <Pytsdk> For the most part I know SilverStripe inside out. And it's a constant struggle.
859: [15:52:40] * sminnee quit (Client Quit)
860: [15:53:12] <Pytsdk> Unfortunately it's not designed as a component based system, where you can just choose which bits you need. Otherwise I would have just used gridfield and forms.
861: [15:53:21] <Pytsdk> (well gridfield is a formfield, so yeah)
862: [15:54:13] <PenguinMan98> If I'm in the admin interface and I create a custom form field, which class is being used as the controller behind it?
863: [15:54:19] <CodeDave> yeah, this component approach is the one I am missing in SS
864: [15:54:24] <Pytsdk> GridField was designed to be modular, and for the most part is. But still expects SilverStripe elements to make it all work. It's not pretty with external data (at all).
865: [15:55:03] <Pytsdk> CodeDave: so, as I said initially, if I were you I'd evaluate other options such as those mentioned.
866: [15:55:30] <Pytsdk> hell even switching language and going with Django or something could be a viable option since the only imporatnt part is the data.
867: [15:55:44] <Pytsdk> I hear many many good things about Python tools.
868: [15:55:51] <PenguinMan98> Django? Really? People actually use it?
869: [15:55:52] <PenguinMan98> hehe
870: [15:55:57] <PenguinMan98> j/k
871: [15:56:05] <Pytsdk> well, maybe not Django per-se :P
872: [15:56:14] * keroberos has joined #silverstripe
873: [15:56:19] <Pytsdk> but some similar type component framework in python
874: [15:56:45] <PenguinMan98> If you're gonna learn a new language, I recommend Ruby but you really shouldn't need more than php to make this work.
875: [15:57:01] <Pytsdk> well, no, I wouldn't.
876: [15:57:07] <Pytsdk> but each to their own.
877: [15:57:31] <PenguinMan98> Java is still the #1 most used language
878: [15:57:36] <Pytsdk> Certainly not if you want to actually access the data (within a day or two).
879: [15:57:42] <PenguinMan98> Which is funny because I never hear of anybody using it
880: [15:57:47] <Pytsdk> ha, same thing could be said for java :P
881: [15:58:10] <Pytsdk> knock knock* - who's there? ............................................................................................................................ ... ..................................................................................................... ... Java.
882: [15:58:14] <CodeDave> Well, there are two guys in my team , they can only PHP so it should be able for them to maintain the system too :-/
883: [15:58:34] <PenguinMan98> PHP is the easiest web scripting language
884: [15:58:44] <PenguinMan98> And I'm sure it can solve your problem
885: [15:58:44] <Pytsdk> PenguinMan98: well no, depends what you know.
886: [15:58:53] <CodeDave> I would use Play Framework with Scala if it would be possible - but it isn't
887: [15:58:55] <Pytsdk> Python is much easier if you know that.
888: [15:59:16] <PenguinMan98> Python has a much more heinous setup process
889: [15:59:27] <PenguinMan98> but once it runs, it runs well
890: [15:59:47] <Pytsdk> install apache, install mod_python, job done?
891: [16:00:02] <PenguinMan98> will that give you the command line interpreters?
892: [16:00:21] <PenguinMan98> The daemons?
893: [16:00:26] <Pytsdk> well if you are using a package management tool, yes.
894: [16:00:32] <Pytsdk> it should.
895: [16:00:43] <Pytsdk> Also depends if you need all that or not I guess.
896: [16:00:57] <PenguinMan98> php doesn't need any of that for the most basic flavor
897: [16:01:05] <CodeDave> already tryied laravel but it requires PHP 5.5.9 - and this is not available on RHEL by default :-/
898: [16:01:49] <PenguinMan98> CodeDave, plus if you're in the process of migrating and under the gun, you may not want to add that much learning curve to your overhead.
899: [16:02:38] <Pytsdk> PenguinMan98: seems _exactly_ the same as a normal PHP setup to me: https://docs.djangoproject.com/en/1.8/topics/install/
900: [16:02:56] <Pytsdk> CodeDave: o.0 it shouldn't require that.
901: [16:03:18] <Pytsdk> you could look at silex, slim, symfony, zend2, etc. still.
902: [16:03:43] <PenguinMan98> Django has a package manager PIP. Which isn't much but does add overhead and steps to the process.
903: [16:04:48] <PenguinMan98> PHP has Composer but it's totally optional
904: [16:04:49] <Pytsdk> indeed PenguinMan98 has a point, a steep learning curve that is going to be a real hindrence, especially when the tool is not set up for what you're trying to do.
905: [16:04:53] <Pytsdk> you'll be fighting it all the way.
906: [16:05:03] <Pytsdk> certianly not a productivity boost
907: [16:05:47] <PenguinMan98> If you're comfortable hacking it together yourself, then Silex or Slim are your best bets. Especially if you don't need a significant amount of pages
908: [16:06:01] <Pytsdk> PenguinMan98: well pages are part of the cms module.
909: [16:06:09] <Pytsdk> he wouldn't be using them at all.
910: [16:06:38] <PenguinMan98> uhhh
911: [16:06:46] <PenguinMan98> read what I said again
912: [16:06:48] <Pytsdk> like I say, the default interface is simply a simple CRUD and permission management.
913: [16:07:06] <Pytsdk> hmm, I see. Ambiguious
914: [16:07:57] <Pytsdk> in any case, it's home time.
915: [16:07:59] <Pytsdk> ciao
916: [16:08:00] * Pytsdk quit ()
917: [16:08:01] <PenguinMan98> My question: I need to loop through the menu and call a function on the pages and then collect the resulting data into a package I can send to the model for display. I need to know how I can do this
918: [16:08:35] <PenguinMan98> Or alternatively call the function on the data from the view
919: [16:08:48] <ss-helper> SilverStripe 3.1.0-beta3 - https://groups.google.com/d/msg/silverstripe-announce/bUF8jmOUOnA/wPgEtQ2XHXUJ
920: [16:09:12] <CodeDave> hehe, yeah - the home time is the thing that I would like to avoid!
921: [16:09:57] <PenguinMan98> sweet! New release
922: [16:10:02] <PenguinMan98> where are the patch notes?
923: [16:10:28] <PenguinMan98> clicky click
924: [16:11:42] <muskie9> PenguinMan98 http://docs.silverstripe.org/en/3.2/changelogs/beta/3.2.0-beta1/?utm_source=SilverStripe+Community+Newsletter&utm_campaign=8d8bc898d6-SilverStripe_releases_and_security_updates&utm_medium=email&utm_term=0_e583b9c19e-8d8bc898d6-100183285
925: [16:12:02] <PenguinMan98> http://docs.silverstripe.org/en/3.1/changelogs/beta/3.1.0-beta3
926: [16:12:57] <muskie9> lol, missed it's 3.1.0-beta3... that's a little late
927: [16:13:08] <kinglozzer> :P
928: [16:13:27] <kinglozzer> PenguinMan98: 3.2.0-beta1 is the most recent release
929: [16:14:23] <PenguinMan98> So.. the ss-helper that announced 3.1.0-beta3 was wrong
930: [16:14:53] <kinglozzer> Yeah, it has a habit of that ;)
931: [16:15:08] <PenguinMan98> kk
932: [16:15:32] <PenguinMan98> Any response on my question?
933: [16:15:38] <PenguinMan98> I need to loop through the menu and call a function on the pages and then collect the resulting data into a package I can send to the model for display. I need to know how I can do this
934: [16:15:50] <PenguinMan98> Or alternatively call the function on the data from the view
935: [16:17:41] <PenguinMan98> I can loop through site tree but the result is not sorted for menu
936: [16:17:54] <PenguinMan98> I want the existing hierarchy intact
937: [16:18:25] * joelpittet quit ()
938: [16:19:19] <PenguinMan98> So either I need the Menu($1) thing on the controller that I can loop through, or I need to be able to get the page object from the Menu() on the model and pass it into a function
939: [16:21:32] <kinglozzer> PenguinMan98: $this->getMenu(1); ?
940: [16:22:02] <PenguinMan98> foreach( $this->getMenu() as $page ){ ?
941: [16:22:37] <PenguinMan98> Also, I need to know which controller I'm using
942: [16:22:54] * ss-helper quit (Ping timeout: 265 seconds)
943: [16:22:59] <kinglozzer> Uh, get_class($this)?
944: [16:23:20] <PenguinMan98> that'll just return the customHMenuTemplateProvider
945: [16:23:40] <kinglozzer> Well, you didn't mention that you were in a template provider class ;)
946: [16:23:54] <kinglozzer> get_class(Controller::curr())
947: [16:23:56] <PenguinMan98> I'm here because it does stuff
948: [16:24:00] <kinglozzer> A bit hacky, but it'll do what you want
949: [16:24:05] <PenguinMan98> I'm not sure where I need to be
950: [16:24:11] <muskie9> anyone come across issues when upgrading a 2.4.x site with translations to 3.1.x? I have a yml language files setup and call the <%t %> from Page.ss but get the default string: https://gist.github.com/muskie9/088656a80ed2b39000d6
951: [16:24:39] <muskie9> I recently added translations to a different 3.1.x site with no issues when doing this
952: [16:24:45] <kinglozzer> muskie9: Have you ?flush=1'd?
953: [16:24:50] <kinglozzer> dev/build doesn't do it
954: [16:25:02] <kinglozzer> (somewhat confusingly)
955: [16:25:45] <muskie9> flushed, dev/build, changed the Namespace.Entity, etc... nothing's catching
956: [16:26:16] <PenguinMan98> ooohh, thanks. I'm in the customHMenuAdmin Controller
957: [16:26:24] <kinglozzer> muskie9: And it's in /mysite/lang/ko_KR.yml ?
958: [16:26:24] <PenguinMan98> That's awesome
959: [16:26:26] <muskie9> the page translations are working fine... just not calls in the templates/layouts for the language files
960: [16:26:29] <muskie9> yup
961: [16:26:48] <muskie9> tried ko.yml and nothing then either
962: [16:27:21] <muskie9> tried doing the translation in a getter in Page.php and calling that from the template, still nothing
963: [16:27:36] <muskie9> so confused
964: [16:27:52] <PenguinMan98> method getMenu not found
965: [16:28:19] * CodeDave quit (Ping timeout: 246 seconds)
966: [16:28:21] <PenguinMan98> and it complains $this isn't available in a static method which I understand
967: [16:29:00] <kinglozzer> PenguinMan98: I don't really understand what you're trying to do, so it's a bit difficult to guess at solutions
968: [16:29:08] <PenguinMan98> self:: Menu() resolves though
969: [16:29:15] <PenguinMan98> lemme see if it works
970: [16:29:23] <kinglozzer> I gotta go anyway, good luck!
971: [16:29:27] <PenguinMan98> thanks!
972: [16:29:31] * kinglozzer quit ()
973: [16:35:34] <PenguinMan98> In my template I've defines a loop like so: <% loop $getPagesWithDepth %>
974: [16:35:51] * arunisK quit (Read error: Connection reset by peer)
975: [16:35:52] <PenguinMan98> According to the docs, it will look to resolve this in the controller
976: [16:36:30] <PenguinMan98> I've defined a public static function getPagesWithDepth(){ in my controller
977: [16:36:47] <PenguinMan98> But when I load the template, it doesn't call it
978: [16:37:19] <PenguinMan98> why not?
979: [16:39:19] <PenguinMan98> Also, var_dump(self::Menu()); fails with too much recursion
980: [16:40:21] * ss-helper has joined #silverstripe
981: [16:45:39] * CodeDave has joined #silverstripe
982: [16:45:42] <PenguinMan98> foreach($this->Menu(1) as $page){ also fails
983: [16:45:55] <CodeDave> sorry I am back
984: [16:46:01] <PenguinMan98> Fatal error: Maximum function nesting level of '256' reached, aborting! in C:\projects\slcairport-com\public\framework\model\SQLQuery.php on line 600
985: [16:48:06] <CodeDave> Let us assume I have an Data Object Custom DO - Which Class is generating the SQL: SELECT DISTINCT count(DISTINCT "CustomDO"."ID") AS "0" FROM "CustomDO" Table 'my_site.CustomDO' ??
986: [16:48:43] <CodeDave> Can I overwrite some methods in DO to change the SQL being generated ?
987: [16:49:31] <PenguinMan98> http://api.silverstripe.org/3.1/class-DataObject.html
988: [16:50:34] <PenguinMan98> Try it
989: [16:50:38] <CodeDave> hehe
990: [16:50:38] <PenguinMan98> Lemme know how it goes
991: [16:55:14] <PenguinMan98> Of all the problems I anticipated today, getting the menu out of silverstripe was not one.
992: [16:55:34] <PenguinMan98> And I'm 2 hours into this and still haven't got it
993: [17:00:58] * terryapodaca quit (Quit: Leaving.)
994: [17:22:08] <CodeDave> what is the best way to set application_name without the cms module?
995: [17:23:25] <CodeDave> Config::inst()->update('LeftAndMain', 'application_name', "My App Name"); in the _config.php ?
996: [17:28:30] * gelignite has joined #silverstripe
997: [17:38:27] * _SjG_home is now known as _SjG_
998: [17:49:40] * Error404NotFound quit (Ping timeout: 246 seconds)
999: [17:53:15] * DimiStripe quit (Quit: DimiStripe)
1000: [18:03:08] * Error404NotFound has joined #silverstripe
1001: [18:03:36] * Error404NotFound quit (Max SendQ exceeded)
1002: [18:22:02] * darjus01 has joined #silverstripe
1003: [19:03:24] <_SjG_> Is there a non-persistent equivalent of DataObject that's recommended for use in forms? I want to keep state of user inputs only through a few form screens, but don't need to actually saving them.
1004: [19:03:33] <_SjG_> *save
1005: [19:13:21] * babak has joined #silverstripe
1006: [19:17:39] * Stomach has joined #silverstripe
1007: [19:27:45] * Stomach quit (Quit: zzz)
1008: [19:28:48] * Stomach has joined #silverstripe
1009: [19:32:13] * Stomach quit (Client Quit)
1010: [19:40:52] * darianno has joined #silverstripe
1011: [19:49:44] <PenguinMan98> I still can't make amenu...
1012: [19:51:05] <darjus01> is any posibiliti to have 2 working templates in SS, I mean frontend site theme, after login user theme?
1013: [19:52:44] <muskie9> darjus01 maybe in _config.php if(Member::currentUser()){ Config::inst()->update('SSViewer', 'theme', 'Theme1'); } else { Config::inst()->update('SSViewer', 'theme', 'Theme2'); } or something
1014: [19:59:13] * Stomach has joined #silverstripe
1015: [20:09:00] * Azure quit (Read error: Connection reset by peer)
1016: [20:10:09] * Azure has joined #silverstripe
1017: [20:18:03] * Azure quit (Read error: Connection reset by peer)
1018: [20:31:08] * Stomach quit (Quit: zzz)
1019: [20:32:38] * Stomach has joined #silverstripe
1020: [20:35:34] * PenguinMan98 quit (Quit: Page closed)
1021: [20:42:19] * Penguinman98 has joined #silverstripe
1022: [20:44:38] <darjus01> if I am making DataObject I am accessing it with show function in page for eg. news/show/test-1 how can I make url news/test-1?
1023: [20:44:59] <Penguinman98> I could still use some help building a menu in the php
1024: [20:45:13] <Penguinman98> I can't understand why it's so easy in the template and so heinous in the php
1025: [20:45:57] <darjus01> what is the problem?
1026: [20:46:04] <darjus01> maybe I can help?
1027: [20:46:59] <Penguinman98> I need to loop through the pages in my menu. I need to know how deep each one is in the hierarchy.
1028: [20:47:01] * Stomach quit (Quit: zzz)
1029: [20:47:22] <Penguinman98> I wrote a recursive function to figure out the depth that works great
1030: [20:47:39] * antmas has joined #silverstripe
1031: [20:47:46] <antmas> moin moin o/
1032: [20:48:01] <darjus01> so that is problem?
1033: [20:48:05] <Penguinman98> But the only way I know of to loop through the pages is SiteTree::get()
1034: [20:48:17] <Penguinman98> Which does not put them in any kind of order
1035: [20:49:22] <Penguinman98> If I try using $this->Menu(1) in the controller, it crashes the program.
1036: [20:49:53] <Penguinman98> Some error about maximum nested sql query level 256
1037: [20:49:55] <darjus01> depth is in databse?
1038: [20:49:59] * keroberos quit (Excess Flood)
1039: [20:50:00] * sminnee has joined #silverstripe
1040: [20:50:00] * sminnee quit (Client Quit)
1041: [20:50:24] <Penguinman98> My recursive function determines depth by calling 'getParent()' on it and counting how many times that works.
1042: [20:50:36] * sminnee has joined #silverstripe
1043: [20:50:45] * sminnee quit (Client Quit)
1044: [20:50:55] <Penguinman98> It takes a Page as a parameter
1045: [20:51:04] <Penguinman98> returns an integer
1046: [20:51:43] <darjus01> ant what your gole is?
1047: [20:52:04] * keroberos has joined #silverstripe
1048: [20:52:22] <Penguinman98> So, I need to get a list of pages and their depth that I can feed to a template for display
1049: [20:52:38] <Penguinman98> Then I can show the page hierarchy as an indented tree
1050: [20:53:05] <darjus01> like sitetree but your own build?
1051: [20:53:08] <Penguinman98> Yes
1052: [20:53:50] <Penguinman98> I then need to upgrade the html to allow me to drag them from that list and drop them on another list to build a custom menu hierarchy
1053: [20:53:55] * Stomach has joined #silverstripe
1054: [20:54:23] <Penguinman98> jqueryUI can do this easily enough
1055: [20:54:31] <darjus01> maybe you ried to loop recursive bay parent?
1056: [20:54:42] <darjus01> with while?
1057: [20:54:49] <Penguinman98> yes
1058: [20:54:57] <Penguinman98> Getting to the root isn't the problem
1059: [20:55:14] <Penguinman98> It's building the array as I cascade out of the recursion that fails
1060: [20:58:54] <darjus01> I will search in my codeigniter projects I have made some of this in other framework
1061: [21:00:25] * CodeDave quit (Quit: Page closed)
1062: [21:00:43] <Penguinman98> I just need the page title, id, and depth
1063: [21:01:01] <Penguinman98> Parent id as well but that's encoded into the structure
1064: [21:04:26] * Cheddam has joined #silverstripe
1065: [21:06:01] * UndefinedOffset quit (Quit: Leaving.)
1066: [21:06:24] * glenn-bautista has joined #silverstripe
1067: [21:07:43] * Stomach quit (Quit: zzz)
1068: [21:08:56] * Cheddam_ has joined #silverstripe
1069: [21:09:35] * zippy has joined #silverstripe
1070: [21:10:01] * Cheddam quit (Ping timeout: 264 seconds)
1071: [21:10:13] <zippy> antmas: how was the gaming yesterday, I mean, *cough cough* the boy?
1072: [21:10:25] * ss-helper quit (Remote host closed the connection)
1073: [21:10:39] * ss-helper has joined #silverstripe
1074: [21:11:56] * Ryan-Toast has joined #silverstripe
1075: [21:11:58] * Stomach has joined #silverstripe
1076: [21:12:08] <zippy> o/
1077: [21:12:13] <zippy> Stomach: bit meh eh
1078: [21:16:40] <Ryan-Toast> sup
1079: [21:18:05] <zippy> hi
1080: [21:18:25] <Penguinman98> I created a public static data member in my controller class but the model can't see it
1081: [21:18:50] <Penguinman98> I'm so frustrated
1082: [21:18:57] * Cheddam_ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1083: [21:19:55] * Hailwood has joined #silverstripe
1084: [21:19:55] * darjus01 quit (Quit: Leaving)
1085: [21:21:26] * micmania1 has joined #silverstripe
1086: [21:22:01] <antmas> antmas: :P didn't actually play anything!
1087: [21:22:18] <antmas> was busy banging my head against desk trying to get this app working
1088: [21:23:28] <antmas> wait
1089: [21:23:31] <antmas> zippy: ^^^
1090: [21:24:04] <MichalKleiner> busy today that I need to close the irc otherwise it will distract me all dat
1091: [21:24:06] <zippy> Penguinman98: why would the modal want to see a controller method..?
1092: [21:24:06] <MichalKleiner> day
1093: [21:24:15] * MichalKleiner quit ()
1094: [21:24:29] <zippy> ( I haven't had much sleep, so that might be a dumb question btw)
1095: [21:25:38] <Ryan-Toast> I realise I have to take my face-warmer off to drink my tea :’(
1096: [21:25:56] <Ryan-Toast> zippy: as I recall he’s making a menu system like wordderp.
1097: [21:26:33] <zippy> a menu system?
1098: [21:26:34] <Penguinman98> It's not a method
1099: [21:26:38] <Penguinman98> it's a member
1100: [21:26:48] <zippy> a variable?
1101: [21:26:51] <Penguinman98> I need to get this variable out of the controller and into the model
1102: [21:26:59] <zippy> ie, Page_Controller::$foo
1103: [21:26:59] <Penguinman98> how?
1104: [21:27:03] <Penguinman98> yes
1105: [21:27:07] <zippy> then do that
1106: [21:27:13] <Penguinman98> I did that
1107: [21:27:15] <Penguinman98> it didn't work
1108: [21:27:22] <zippy> why not?
1109: [21:27:29] <Penguinman98> You tell me
1110: [21:27:42] <zippy> oh I thought you came here to share :)
1111: [21:27:50] <Penguinman98> I'm sorry
1112: [21:27:51] <zippy> ok, well, give us a look at the code
1113: [21:27:53] <zippy> !paste
1114: [21:27:54] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
1115: [21:27:58] <Penguinman98> I'm so frustrated I'm not good company just now
1116: [21:28:11] <zippy> thats ok, im tired, I am in a funny mood
1117: [21:28:14] <zippy> lets get this sorted eh
1118: [21:30:39] <zippy> Penguinman98: on the current site I am working on, in my ContactPage_Controller I put public static $foo = 'Bar';
1119: [21:31:00] <zippy> then in my FAQ model, I did a die(var_dump(ContactPage_Controller::$foo)); and it worked
1120: [21:31:19] <zippy> I saw Bar, so, paste your code in a bin and lets take a peak
1121: [21:33:14] <Penguinman98> I created a customHMenuAdmin::$pageList = [];
1122: [21:33:20] <Penguinman98> then I fill it in the constructor
1123: [21:33:29] <Penguinman98> In the .ss I do this:
1124: [21:33:59] <Penguinman98> http://pastebin.com/BR2qRsjL
1125: [21:34:07] <Penguinman98> but it doesn't work
1126: [21:34:34] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1127: [21:34:39] * camfindlay has joined #silverstripe
1128: [21:34:44] <Penguinman98> ooooooh
1129: [21:35:08] <zippy> you know..
1130: [21:35:16] * guci0 quit (Ping timeout: 246 seconds)
1131: [21:35:40] <Penguinman98> The constructor is an instantiated environment, not static
1132: [21:35:54] <Penguinman98> So the template tries to access the static version
1133: [21:35:57] <Penguinman98> which is still empty
1134: [21:36:04] <zippy> why have $pageList and why fill it in the constructor? move the constructor code to a function pageList() and just return an array list?
1135: [21:36:28] <Penguinman98> I tried that before this and couldn't get that to work either
1136: [21:36:29] <zippy> also, probably better to use $Title and $ID etc
1137: [21:36:43] * Stomach quit (Quit: zzz)
1138: [21:36:58] <Penguinman98> Does the .ss require an arrayList?
1139: [21:37:03] <zippy> ~
1140: [21:37:06] <zippy> or ArrayData
1141: [21:37:17] <Penguinman98> So I can't just use a normal vanilla php array?
1142: [21:37:23] <zippy> associative arrays can work but I can't work out when / when not
1143: [21:37:34] <Penguinman98> that's annoying
1144: [21:39:23] <zippy> Penguinman98: ie http://kopy.io/B6Oou
1145: [21:39:31] * adrexia has joined #silverstripe
1146: [21:39:48] <zippy> however, I would recommend you use ID, Title and Depth - since those are the DB field names
1147: [21:39:57] <zippy> and, even more so I would recommened a module
1148: [21:40:13] <zippy> https://github.com/heyday/silverstripe-menumanager
1149: [21:40:35] <zippy> time for me to bail, I have a deadline. adrexia will take over from here
1150: [21:40:37] <zippy> good luck, hf
1151: [21:40:49] <zippy> and it's all ss23's fault
1152: [21:40:51] <adrexia> haha ;)
1153: [21:41:15] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
1154: [21:41:35] <adrexia> I have no context, but sure, I can help.
1155: [21:43:30] <Penguinman98> I started from heyday
1156: [21:43:36] <Penguinman98> But it wasn't enough
1157: [21:43:46] <Penguinman98> I'm improving it to do what we need
1158: [21:44:36] <Penguinman98> But right now the most important thing is getting a list of pages out of my controller and into my model
1159: [21:47:27] <adrexia> I wonder if anyone has used the taxonomy module to build menus
1160: [21:47:55] <Penguinman98> taxonomy module?
1161: [21:48:28] <adrexia> yeah, it's used for a different sort of db object classification.
1162: [21:49:08] <adrexia> https://github.com/silverstripe-labs/silverstripe-taxonomy
1163: [21:49:49] <adrexia> but if you wanted really flexibile menu structures you could probably co-opt it to do that
1164: [21:50:51] * Stomach has joined #silverstripe
1165: [21:51:18] <Penguinman98> does it have a drag/drop interface for building a hierarchy?
1166: [21:51:39] <Penguinman98> Does it support having the same object in the hierarchy in more than one place?
1167: [21:51:44] <adrexia> nope
1168: [21:52:05] <adrexia> If you were using it to build a herirachy - yes
1169: [21:52:06] <Penguinman98> Then I suppose I should proceed with my work
1170: [21:52:41] <adrexia> drag and drop interfaces in silverstripe aren't that common
1171: [21:53:14] <Penguinman98> They should be
1172: [21:53:17] <Penguinman98> hehe
1173: [21:53:19] <adrexia> fix it then :P
1174: [21:53:25] <Penguinman98> I am!
1175: [21:53:28] <adrexia> lols
1176: [21:54:56] <adrexia> I've wanted them in a general way before too
1177: [21:54:56] <adrexia> like a tree view of a dataobject relaitonship
1178: [21:54:58] <adrexia> but for a specific thing, I'd probably start with something like taxonomy and build an interface of top
1179: [21:55:20] <Penguinman98> I have the database set up the way it needs to be
1180: [21:55:25] <Penguinman98> All the data objects built
1181: [21:55:33] <adrexia> sweet as
1182: [21:55:46] <adrexia> the next part should be easy then
1183: [21:55:49] <Penguinman98> All I need is to get the list of pages with their depth in the hierarchy out of SS and into this model.
1184: [21:55:53] * adrexia laughs
1185: [21:56:24] <Penguinman98> And I'm going on 6 hours and I can't say I've made any progress
1186: [21:56:49] * Cheddam has joined #silverstripe
1187: [21:58:09] <adrexia> if you are building a new way of creating menu's...
1188: [21:58:09] <adrexia> won't hirerarchy not be... sufficeient?
1189: [21:58:09] <adrexia> it is sort of limiting
1190: [21:58:14] <adrexia> "Penguinman98:
1191: [21:58:14] <adrexia> Does it support having the same object in the hierarchy in more than one place?"
1192: [21:58:15] <adrexia> nope
1193: [21:58:39] <Penguinman98> Mine will
1194: [21:58:53] <adrexia> yeah, I think, if you want flexibility of menus, hierarchy is the opposite of where you want to start
1195: [21:58:57] <adrexia> ok
1196: [21:59:14] <adrexia> good luck then :)
1197: [21:59:28] <Penguinman98> I've got all the javascript written
1198: [22:01:04] <adrexia> interesting idea though.
1199: [22:01:35] <Penguinman98> wish I could claim credit
1200: [22:01:42] <Penguinman98> This is how menus work in wordpress
1201: [22:01:44] * Stomach quit (Quit: zzz)
1202: [22:01:57] <adrexia> yeah - that's what I mean. intersting ide ato copy wordpress menus
1203: [22:01:58] <adrexia> :D
1204: [22:02:50] <Penguinman98> How many projects can use the site tree as the menu as is?
1205: [22:03:01] <adrexia> thousands
1206: [22:03:09] <adrexia> quite literally
1207: [22:03:11] <Penguinman98> I'd think the vast majority of projects would disagree
1208: [22:03:18] <adrexia> though, I do agree, it's a bit... restricted
1209: [22:03:26] * catcher quit (Ping timeout: 256 seconds)
1210: [22:03:43] <adrexia> Penguinman98 you can disagree, but there are literally thousands of silverstripe projects using the sitetree as it is
1211: [22:03:43] <Penguinman98> And the heyday and i-something ones only allow you to define a flat menu
1212: [22:04:08] <adrexia> well, you can also define your own menus
1213: [22:04:18] * Stomach has joined #silverstripe
1214: [22:04:19] <adrexia> using a basic gridfield
1215: [22:04:33] <Penguinman98> oh?
1216: [22:04:42] <Ryan-Toast> I’ve been working on this for 20 minutes at a time every now and again. Will most likely make a menu generastor eventually: http://i.imgur.com/VOtim8L.gifv
1217: [22:04:45] <Penguinman98> ah, but that's in the code
1218: [22:04:58] <adrexia> ...and by *you*, I mean, developers can say, have a "topmenu" gridfield that lets users add pages to it
1219: [22:05:04] <Stomach> thats cool Ryan-Toast
1220: [22:05:08] <Stomach> ready for tonight? :D
1221: [22:05:08] <adrexia> everything is in code. it's silverstriep ;)
1222: [22:05:22] <Ryan-Toast> Stomach: Cheers :) It will be a module… eventually.
1223: [22:05:30] <Stomach> RELEASE EARLY RELEASE OFTEN
1224: [22:05:38] <Stomach> I can put resource into something like that
1225: [22:05:54] * adrexia laughs
1226: [22:05:59] <Ryan-Toast> Stomach: I’ll release once everything’s been renamed from TEstMethodOneZZZ
1227: [22:06:10] <Ryan-Toast> WillThisWorkDotCom()
1228: [22:06:14] <Stomach> :D
1229: [22:06:27] <adrexia> TEstMethodOneZZZ is an awesome name
1230: [22:06:29] <Penguinman98> Now I just want to burn all my code and wait for Ryan-Toast to solve it for me
1231: [22:06:44] <Ryan-Toast> Penguinman98: Best buy a year’’s worth of baked beans :P
1232: [22:06:51] <adrexia> :D
1233: [22:07:12] <Penguinman98> adrexia: can the lay users edit the menu that way?
1234: [22:07:23] <Penguinman98> And if so, what does the interface look like?
1235: [22:07:29] <adrexia> if the devs build it for them, yes
1236: [22:07:38] <adrexia> it looks like a gridfield
1237: [22:07:39] <adrexia> not very fancy
1238: [22:07:58] <Penguinman98> At this point 'works' is more important than fancy
1239: [22:08:33] * Azure has joined #silverstripe
1240: [22:10:08] <Penguinman98> And it kind of does sting when people like Ryan-Toast gloat that they can do more in 10 minutes with it than I've been able to accomplish in 3 days. I'm frustrated as hell that this isn't working. I'm past my deadlines. I'm over budget and I'm going to lose my house if I lose this job
1241: [22:10:13] <adrexia> well, it's a pretty simple concept - you make a db object called something like 'link' that has a title(optional), a sitetreeid, and... well a location if you want to have one menu that defiend multiple
1242: [22:10:37] <Penguinman98> Thanks adrexia but I've already gotten past that part
1243: [22:10:43] <Ryan-Toast> Penguinman98: I didn’t mean to gloat, and that thing literally does nothing but move around the page.
1244: [22:10:51] <adrexia> if you want nicer links, you use this module: http://addons.silverstripe.org/add-ons/sheadawson/silverstripe-linkable
1245: [22:11:02] <adrexia> ahh, yeah
1246: [22:11:38] <adrexia> ahh, yeah I figure if you want to replicate wordpress menus, then that's what you want to do. Just saying that the sitetree isn't the only way developers build menus
1247: [22:12:20] * babak quit (Quit: Connection closed for inactivity)
1248: [22:12:20] <Penguinman98> OK
1249: [22:12:31] <Penguinman98> Once more I've created a public static method on my controller
1250: [22:12:38] <adrexia> and at some point you have to weigh up the value
1251: [22:12:41] <Penguinman98> Once more I try to call it from the template
1252: [22:12:44] <adrexia> what you are trying is not a simple thing
1253: [22:12:55] <Penguinman98> Once more it doesn't work
1254: [22:13:14] <Penguinman98> public static function getPagesWithDepth(){}
1255: [22:13:23] <adrexia> If my house was on the line, I'd probably aim lower
1256: [22:13:28] <Penguinman98> <% loop $getPagesWithDepth %>
1257: [22:13:44] <Penguinman98> It's a full time job. I don't get to pick my project
1258: [22:14:14] <Penguinman98> I don't need pity, I don't need alternatives. I don't need speculation. I just need to get this done.
1259: [22:14:16] <adrexia> oh the project is literally 'recreate wordpress's menu's in silverstripe'?
1260: [22:14:22] <Penguinman98> YES
1261: [22:14:24] <Penguinman98> YES
1262: [22:14:25] <Penguinman98> YES
1263: [22:14:26] <adrexia> cool
1264: [22:14:49] <adrexia> I'd love that project
1265: [22:14:54] <Ryan-Toast> Me too.
1266: [22:15:11] <Penguinman98> I'm so close to exploding. My stress level is through the roof
1267: [22:15:12] <Ryan-Toast> Penguinman98: What’re you using for your drag & drop?
1268: [22:15:16] <Penguinman98> jqueryUI
1269: [22:15:21] <Ryan-Toast> Penguinman98: Go for a 5 minute walk, man.
1270: [22:15:31] <Ryan-Toast> Take a breather.
1271: [22:16:11] <Penguinman98> Just... tell me how to get my modified menu code out of my controller and into the F***ng template please
1272: [22:17:52] <Penguinman98> All the docs say this should work and it doesn't
1273: [22:18:42] <Penguinman98> I told them at this point we should just hard-code the menus and call it a day
1274: [22:19:03] <Penguinman98> They want me to keep working on it. They say this is a make or break feature for this client.
1275: [22:20:20] <Penguinman98> We're already over budget and behind schedule
1276: [22:20:48] <Penguinman98> I haven't kept a job for more than 3 months in 2 years and I don't want to lose this one too
1277: [22:21:03] <Penguinman98> I need help
1278: [22:24:45] * glenn-bautista quit (Quit: Leaving.)
1279: [22:25:33] <ss-helper> Re: "Out-of-the-box" CMS Bugs in 3.2 - https://groups.google.com/d/msg/silverstripe-dev/rf97JMuo0jU/9YgNR1lDmoYJ
1280: [22:25:50] * adrexia_ has joined #silverstripe
1281: [22:28:41] * adrexia quit (Ping timeout: 272 seconds)
1282: [22:30:28] * camfindlay quit (Quit: camfindlay)
1283: [22:30:56] <Penguinman98> and instead of inspiuring more help, i scared everyone off
1284: [22:32:13] <Stomach> I messaged you :P
1285: [22:32:31] * camfindlay has joined #silverstripe
1286: [22:32:57] * DanaeNZ has joined #silverstripe
1287: [22:35:36] * adrexia_ is now known as adrexia
1288: [22:38:32] <DanaeNZ> Yay, got my full car licence! I’m an aduuult!!
1289: [22:38:40] <DanaeNZ> I have been putting it off for sooooo long
1290: [22:40:41] <adrexia> DanaeNZ I don't even have a learners
1291: [22:40:49] <DanaeNZ> haha dayuumm
1292: [22:40:55] <adrexia> ...but I might have a passport soon
1293: [22:41:01] <adrexia> that's, something
1294: [22:41:20] <adrexia> WEllington doesn't really inspire the need for a car
1295: [22:42:08] <DanaeNZ> yeah it seems to be fairly flat in the cbd
1296: [22:42:10] <DanaeNZ> and small
1297: [22:42:18] <DanaeNZ> and the transport system seems to make sense
1298: [22:42:31] <DanaeNZ> I had a motorcycle full for ages tho
1299: [22:45:57] <adrexia> yeah, public transport is a better option when it's needed
1300: [22:46:29] <adrexia> though it sucks to not have a car when it comes to moving house and the like
1301: [22:53:53] * zippy has joined #silverstripe
1302: [22:53:56] <zippy> \o/
1303: [22:54:04] * zippy scores a touch down
1304: [22:54:54] <zippy> camfindlay: new video soon?
1305: [23:00:22] * spronk has joined #silverstripe
1306: [23:07:20] <zippy> That dude sort his menu?
1307: [23:07:44] <spronk> shit its disconcerting working while someone walks around on your roof :|
1308: [23:07:54] <zippy> Penguinman98: winning?
1309: [23:08:03] <Ryan-Toast> spronk: hello Clarrise.
1310: [23:08:20] <spronk> hahah
1311: [23:08:21] <zippy> Ryan-Toast: no gif for that?
1312: [23:08:24] * spronk is glad i got that
1313: [23:08:33] <spronk> https://s-media-cache-ak0.pinimg.com/736x/54/bd/aa/54bdaa5cc4b4ab4f76c0a2c3ae543bd6.jpg
1314: [23:09:11] * travis-ci has joined #silverstripe
1315: [23:09:12] <travis-ci> silverstripe/silverstripe-cms#1311 (3 - c162b50 : Damian Mooyman): The build is still failing.
1316: [23:09:12] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/6513f8ac49ca...c162b50c37af
1317: [23:09:12] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-cms/builds/68076745
1318: [23:09:12] * travis-ci has left #silverstripe
1319: [23:12:55] * cupcake quit (Ping timeout: 246 seconds)
1320: [23:15:41] * sminnee has joined #silverstripe
1321: [23:15:45] * sminnee quit (Client Quit)
1322: [23:17:36] * Stomach quit (Quit: zzz)
1323: [23:18:57] * Stomach has joined #silverstripe
1324: [23:28:39] * keroberos quit (Max SendQ exceeded)
1325: [23:28:51] <zippy> spronk: beta 2 released, tempted to start using it?
1326: [23:29:34] <spronk> mm, am tempted
1327: [23:29:38] <spronk> restarting daily atm
1328: [23:29:40] <spronk> its such a pita
1329: [23:29:57] * Colin[pi] has joined #silverstripe
1330: [23:29:59] <zippy> might install on old laptop and c
1331: [23:30:20] <zippy> Colin[pi]: o/
1332: [23:30:32] <Colin[pi]> zippy: o/
1333: [23:30:47] * keroberos has joined #silverstripe
1334: [23:32:56] <antmas> Colin[pi]: o.
1335: [23:33:00] <antmas> damnit
1336: [23:33:02] <antmas> o/
1337: [23:34:13] <zippy> antmas: maybe should stick with the gaming ;)
1338: [23:35:19] <antmas> zippy: ;__;
1339: [23:37:32] <Hailwood> Hey Folks, Can anyone that's worked on the CWP tell me any potential pitfalls of using it?
1340: [23:38:08] <zippy> ss23: ^
1341: [23:38:08] <Colin[pi]> antmas: o. lol
1342: [23:39:31] * elgabbu quit (Ping timeout: 246 seconds)
1343: [23:39:36] <Hailwood> Side note - the "Demo" link on the CWP page is broken - http://www.silverstripe.com/services/government/common-web-platform/features/
1344: [23:40:06] * babak has joined #silverstripe
1345: [23:40:39] <ss-helper> Re: [silverstripe-dev] Re: "Out-of-the-box" CMS Bugs in 3.2 - https://groups.google.com/d/msg/silverstripe-dev/rf97JMuo0jU/nytAS5kWGUsJ
1346: [23:41:15] * Stomach quit (Quit: zzz)
1347: [23:43:30] * UncleCheese has joined #silverstripe
1348: [23:43:41] <zippy> UncleCheese: o/
1349: [23:43:47] <UncleCheese> hi
1350: [23:43:57] * zippy sends UC positive vibes
1351: [23:44:00] <Colin[pi]> hey unca cheez
1352: [23:44:55] <ss23> Hailwood: `It's slow as shiiiiiit
1353: [23:45:04] <ss23> Hailwood: Make sure your site is optimized enough to not go down at 1r/s :P
1354: [23:45:17] <ss23> Occasionally people have some issues with solr, but seems fine for the most part
1355: [23:45:43] <Hailwood> ss23, Is there anything that you're restricted from doing?
1356: [23:49:44] <Colin[pi]> Hailwood: having a fast site by the sounds of it :D
1357: [23:51:28] * simon_w|air has joined #silverstripe
1358: [23:51:35] <Hailwood> Colin[pi], It's for the govt. Since when do they have fast sites ;)
1359: [23:51:48] <Hailwood> Isn't a slow site a requirement to show it's a govt site?
1360: [23:52:02] <Colin[pi]> too true, too true :)
1361: [23:52:45] <zippy> hahaha!
1362: [23:56:06] <adrexia> Hailwood:
1363: [23:56:06] <adrexia> Hey Folks, Can anyone that's worked on the CWP tell me any potential pitfalls of using it?
1364: [23:56:19] <adrexia> the theme is using a very out of date version of bootstrap
1365: [23:56:38] <simon_w|air> It's running an unsupported version of PHP
1366: [23:57:15] * camfindlay quit (Quit: camfindlay)
1367: [23:57:46] <adrexia> the basic recipe is mostly good though. Even use a lot of it on non cwp stuff.
1368: [23:58:06] <adrexia> though I usually ditch translatable
1369: [23:58:14] <adrexia> and, when posssible, subsites
1370: [23:58:40] * camfindlay has joined #silverstripe
1371: [23:59:08] <adrexia> oh, and despite the docs, using solr for search within documents is not in fact possible on the cwp infrastruture.
1372: [23:59:21] <adrexia> so don't bother
1373: [23:59:23] <adrexia> ;)

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