#silverstripe IRC Log

IRC log for 9 November 2013

All timestamps are in UTC.

1: [00:14:13] * guci0 quit (Ping timeout: 250 seconds)
2: [00:27:47] * DesignerX has joined #silverstripe
3: [00:38:48] * mobiusnz has joined #silverstripe
4: [00:43:02] * mobiusnz quit (Ping timeout: 240 seconds)
5: [00:59:35] * gelignite quit (Quit: http://bit.ly/nkczDT)
6: [01:30:57] * mobiusnz has joined #silverstripe
7: [01:47:54] * joelpittet has joined #silverstripe
8: [02:19:20] * mobiusnz quit (Quit: Leaving.)
9: [03:20:03] * mobiusnz has joined #silverstripe
10: [03:25:04] * mobiusnz quit (Ping timeout: 264 seconds)
11: [03:46:29] * SightUnseen has joined #silverstripe
12: [03:49:29] * SightUnseen has left #silverstripe
13: [03:57:17] * DigNZ has joined #silverstripe
14: [03:57:41] * DigNZ quit (Client Quit)
15: [04:47:53] * cloph_away quit (Ping timeout: 246 seconds)
16: [04:52:47] * cloph_away has joined #silverstripe
17: [05:09:46] * joelpitt_ has joined #silverstripe
18: [05:11:29] * joelpittet quit (Ping timeout: 248 seconds)
19: [05:20:43] * mobiusnz has joined #silverstripe
20: [05:25:02] * mobiusnz quit (Ping timeout: 240 seconds)
21: [06:26:22] * travis-ci has joined #silverstripe
22: [06:26:22] <travis-ci> [travis-ci] ajshort/sapphire#43 (performance - 7e47f3b : Andrew Short): The build failed.
23: [06:26:22] <travis-ci> [travis-ci] Change view : https://github.com/ajshort/sapphire/compare/a99b430fec5c^...7e47f3bd2203
24: [06:26:23] <travis-ci> [travis-ci] Build details : http://travis-ci.org/ajshort/sapphire/builds/13720430
25: [06:26:23] * travis-ci has left #silverstripe
26: [08:18:03] * chillu has joined #silverstripe
27: [08:27:07] * C10ne has joined #silverstripe
28: [08:29:06] <C10ne> Hi all, anyone knows why this is happening: I have an action in a controller, and try to access it via url like mysite/controller/action and I get a fatal error: using $this when not in object context?
29: [08:32:57] <simon_w> C10ne, Because you're using $this inside a static method?
30: [08:33:14] <simon_w> Zauberfisch23, did you really open a feature request ticket? You know that's not allowed, right?
31: [08:33:58] <C10ne> simon_w, good catch, I'm slow today :)
32: [08:38:40] * violetina has joined #silverstripe
33: [08:51:04] <ss23> simon_w: :D
34: [08:51:06] <ss23> I almost kind of won the lock picking competition!
35: [08:51:07] <ss23> I won most on points, but I accidently knocked over a door thing and smashed it so I lost 10 points for it. Becaues of that, I was 6 points behind
36: [08:51:36] <simon_w> I barely have marks from the handcuffs left!
37: [08:52:27] <spronk> o_O
38: [08:53:49] <simon_w> And then we got the bar staff in on the handcuffs too
39: [08:53:54] <simon_w> They were having a great time
40: [09:00:41] <ss23> XD
41: [09:07:29] * chillu quit (Quit: chillu)
42: [09:08:00] * chillu has joined #silverstripe
43: [10:06:32] * chillu quit (Quit: chillu)
44: [10:47:45] * violetina quit (Remote host closed the connection)
45: [10:49:01] * violetina has joined #silverstripe
46: [11:22:30] * mobiusnz has joined #silverstripe
47: [11:27:28] * mobiusnz quit (Ping timeout: 264 seconds)
48: [12:18:35] * Error404NotFound has joined #silverstripe
49: [12:20:22] * CodeTrap has joined #silverstripe
50: [12:38:49] * joelpitt_ quit (Remote host closed the connection)
51: [12:45:23] * Alexwijn has joined #silverstripe
52: [12:46:27] <Alexwijn> Hi, can anyone give me advice about how to make a footer of a site editable?
53: [13:05:48] * pathum has joined #silverstripe
54: [13:17:05] <ec8or_> i'm trying to implement a custom form template but stuck on how to display error messages
55: [13:17:25] <ec8or_> <% if $Fields.dataFieldByName(Email).Message %> always returns true no matter if the field has been filled or not
56: [13:17:30] <ec8or_> it is a required field
57: [13:17:59] <Alexwijn> Because the variable exist
58: [13:18:05] <Alexwijn> Thats why it return true
59: [13:18:26] <Alexwijn> Oh wait
60: [13:18:27] <Alexwijn> hm
61: [13:18:43] <Alexwijn> I just googled,,,Apperantly that should work
62: [13:18:45] <ec8or_> it is how it looks in FormField_holder.ss
63: [13:19:07] <ec8or_> Alexwijn: You can add the footer in the Site Settings
64: [13:19:37] <Alexwijn> What is the name of the WYSIWYG field?
65: [13:20:25] <marvanni> HTMLEditorField
66: [13:20:40] <ec8or_> Alexwijn: http://www.sspaste.com/paste/show/527e34b382fef
67: [13:21:57] <Alexwijn> Ok thanks
68: [13:23:09] * mobiusnz has joined #silverstripe
69: [13:24:51] <Alexwijn> Does someone know if someone is working on a theme configuration module?
70: [13:25:10] <Alexwijn> So depending on what theme is selected there is a tab named Theme at the settings
71: [13:25:13] <Alexwijn> So you can edit
72: [13:25:17] <Alexwijn> For example change the footer
73: [13:25:21] <Alexwijn> Without editing the html code
74: [13:26:46] <ec8or_> no idea, i never really use themes :)
75: [13:26:54] <ec8or_> but sounds like something you would want to include if you're a theme maker
76: [13:26:55] <Alexwijn> You just use a blank pag ?
77: [13:27:26] * mobiusnz quit (Ping timeout: 240 seconds)
78: [13:27:41] <Alexwijn> Maybe I try to create something like
79: [13:27:55] <Alexwijn> Maybe I'll also release it open source
80: [13:28:14] <Alexwijn> I'm wondering why no one ever created this
81: [13:28:15] <ec8or_> Alexwijn: yeah i normally have a PSD to cut up
82: [13:28:27] <Alexwijn> Well yes
83: [13:28:44] <Alexwijn> But does your customer don't want to change their contact details at the footer when they move to a different address
84: [13:28:56] <Alexwijn> Or change the logo
85: [13:29:34] <marvanni> I thinks most devs put that data in SiteConfig, but only that fields that are required for the project
86: [13:29:47] <Alexwijn> But if you do that then you have to globally
87: [13:30:09] <Alexwijn> When you change theme then you have values that won't work
88: [13:32:38] <marvanni> how often does that happen?
89: [13:33:05] <Alexwijn> So why is there a dropdown list for themes?
90: [13:33:11] <Alexwijn> at siteconfig
91: [13:33:44] <marvanni> thats what I wondered as well. its the first field I remove for all projects
92: [13:34:20] <marvanni> most of the time a HTMLEditorField provides too much freedom for clients to fuck up a website
93: [13:34:59] <Alexwijn> Well the thing is I need it, because I give my customers a CMS for a montly price
94: [13:35:03] <Alexwijn> And they can install modules and themes
95: [13:35:06] <Alexwijn> So they want to change themes
96: [13:35:33] <Alexwijn> Maybe I restrict to one theme at a time
97: [13:35:53] <Alexwijn> So when you switch theme the modules that is not needed will be removed
98: [13:36:01] <Alexwijn> and the theme will be installed with his dependencies
99: [13:36:29] <Alexwijn> I guess I will delete that field aswell
100: [13:36:37] <ec8or_> Alexwijn: i add all that stuff to the site config :)
101: [13:36:50] <Alexwijn> Add what?
102: [13:37:04] <ec8or_> sorry was in the backscroll
103: [13:37:07] <ec8or_> footer etc.
104: [13:37:10] <Alexwijn> ah
105: [13:37:14] <ec8or_> and yeah not letting the customer change theme
106: [13:37:34] <Alexwijn> For me the customer must be able to change it
107: [13:37:37] <marvanni> I think that it is hard to create 'general' themes, since each project have other modules.
108: [13:37:48] <ec8or_> but for out-of-the-box themes then i think it is good to include some settings
109: [13:37:53] <Alexwijn> That's why I use composer
110: [13:37:57] <marvanni> but does it have to change all parts of a theme?
111: [13:37:59] <Alexwijn> So it install depencies where needed
112: [13:38:14] <Alexwijn> Yes
113: [13:38:16] <marvanni> or are you making a saas like turnkey solution
114: [13:38:37] <Alexwijn> I'm thinking of making a some sort of package
115: [13:38:45] <Alexwijn> that Install the theme along with modules that requires it
116: [13:38:50] <Alexwijn> Those modules will include page types
117: [13:39:02] <Alexwijn> So you can edit everything
118: [13:39:06] <Alexwijn> Except the CSS and all
119: [13:39:12] <Alexwijn> Or the position of something
120: [13:39:17] <Alexwijn> Just the contents, nothing else
121: [13:39:23] * violetina quit (Read error: Connection reset by peer)
122: [13:39:26] * violet- has joined #silverstripe
123: [13:41:01] <ec8or_> regarding my form errors, the session is never cleared is the problem
124: [13:41:32] <marvanni> this is what I created a few years ago when i started with silverstripe
125: [13:41:33] <marvanni> http://silverstripe-webshop.nl/
126: [13:41:49] * gelignite has joined #silverstripe
127: [13:41:51] <marvanni> its more the theme switcher and color selector
128: [13:42:07] <marvanni> but silverstripe is at its best for custom work that clients can't do
129: [13:42:22] <ec8or_> yeah
130: [13:42:26] <marvanni> otherwise they will probably click their site with wordpress or joomla
131: [13:43:36] * chillu has joined #silverstripe
132: [13:55:01] * chillu quit (Quit: chillu)
133: [14:08:14] * zippy__ quit (Ping timeout: 240 seconds)
134: [14:18:12] <Alexwijn> How to get the url friendly name of a page?
135: [14:18:29] <Alexwijn> I want to insert that into attribute class of a link
136: [14:18:49] <Alexwijn> so "About us" will change to "about-us"
137: [14:20:47] * zippy__ has joined #silverstripe
138: [14:20:52] * pippy has joined #silverstripe
139: [14:22:18] * pippy_ quit (Ping timeout: 252 seconds)
140: [14:23:49] <marvanni> $URLSegment
141: [14:28:22] * joelpittet has joined #silverstripe
142: [14:28:49] * chillu has joined #silverstripe
143: [14:30:16] * DesignerX quit (Ping timeout: 244 seconds)
144: [14:32:51] * joelpittet quit (Ping timeout: 244 seconds)
145: [14:38:44] <marvanni> note that that url can change, so bye css classe styles?
146: [14:58:05] * chillu quit (Quit: chillu)
147: [15:03:56] * chillu has joined #silverstripe
148: [15:07:38] * Alexwijn quit ()
149: [15:23:47] * mobiusnz has joined #silverstripe
150: [15:27:50] * mobiusnz quit (Ping timeout: 240 seconds)
151: [15:54:44] * chillu quit (Quit: chillu)
152: [15:55:39] * chillu has joined #silverstripe
153: [16:14:31] * Error404NotFound quit (Read error: Connection reset by peer)
154: [16:17:15] * joelpittet has joined #silverstripe
155: [16:21:31] * joelpittet quit (Read error: Operation timed out)
156: [16:31:38] * Error404NotFound has joined #silverstripe
157: [16:33:29] <pathum> hi guys can some one give me a sample code for validate gridview in modeladmin using ajax
158: [16:59:16] * CodeTrap quit (Ping timeout: 264 seconds)
159: [17:07:30] * Error404NotFound quit (Read error: Connection reset by peer)
160: [17:07:50] * Error404NotFound has joined #silverstripe
161: [17:39:50] * Error404NotFound quit (Read error: Connection reset by peer)
162: [18:06:02] * joelpittet has joined #silverstripe
163: [18:09:11] * pathum quit (Ping timeout: 252 seconds)
164: [18:10:45] * joelpittet quit (Ping timeout: 248 seconds)
165: [18:25:19] * mobiusnz has joined #silverstripe
166: [18:29:26] * mobiusnz quit (Ping timeout: 240 seconds)
167: [18:32:30] <Zauberfisch23> simon_w: yes I did
168: [18:32:35] <Zauberfisch23> I am badass like that
169: [18:59:50] * UndefinedOffset has joined #silverstripe
170: [19:05:31] * UndefinedOffset quit (Quit: Leaving.)
171: [19:10:33] * UndefinedOffset has joined #silverstripe
172: [19:11:29] * UndefinedOffset quit (Client Quit)
173: [19:17:25] * Error404NotFound has joined #silverstripe
174: [19:51:26] * mobiusnz has joined #silverstripe
175: [19:52:00] * mobiusnz1 has joined #silverstripe
176: [19:52:42] * mobiusnz2 has joined #silverstripe
177: [19:54:55] * joelpittet has joined #silverstripe
178: [19:55:50] * mobiusnz quit (Ping timeout: 240 seconds)
179: [19:56:38] * mobiusnz1 quit (Ping timeout: 264 seconds)
180: [19:58:00] * Sj0hn has joined #silverstripe
181: [19:59:33] * joelpittet quit (Ping timeout: 252 seconds)
182: [21:44:03] * joelpittet has joined #silverstripe
183: [21:45:23] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
184: [21:48:21] * joelpittet quit (Ping timeout: 248 seconds)
185: [22:05:12] * mobiusnz2 quit (Quit: Leaving.)
186: [22:27:51] * bmh has joined #silverstripe
187: [22:28:15] * bmh is now known as Guest94327
188: [22:34:12] * Guest94327 has left #silverstripe
189: [23:06:00] * mobiusnz has joined #silverstripe
190: [23:10:54] * mobiusnz quit (Ping timeout: 272 seconds)
191: [23:32:36] * joelpittet has joined #silverstripe
192: [23:37:07] * joelpittet quit (Ping timeout: 240 seconds)
193: [23:43:00] * Sj0hn quit (Read error: Connection reset by peer)
194: [23:52:44] * chillu quit (Quit: chillu)
195: [23:59:01] * chillu has joined #silverstripe
196: [23:59:37] * chillu quit (Client Quit)

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