#silverstripe IRC Log

IRC log for 6 January 2013

All timestamps are in UTC.

1: [00:22:00] * bunyip_ has joined #silverstripe
2: [00:23:00] * bunyip_ is now known as Guest59916
3: [00:24:00] * Guest59916 quit (Client Quit)
4: [00:25:00] <bunyip123> hey all - is this the right forum to ask about ss installation issues?
5: [00:25:00] * bunyip123 has joined #silverstripe
6: [01:36:00] * bunyip123 quit (Ping timeout: 245 seconds)
7: [01:53:00] * Bollig|DesignCty quit (Read error: Connection reset by peer)
8: [01:59:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
9: [02:00:00] * Bollig|DesignCty has joined #silverstripe
10: [02:32:00] * C10ne quit (Ping timeout: 245 seconds)
11: [03:01:00] * Bollig|DesignCty quit (Read error: Connection reset by peer)
12: [03:11:00] * Bollig|DesignCty has joined #silverstripe
13: [03:34:00] * Bollig|DesignCty quit (Read error: Connection reset by peer)
14: [03:44:00] * Bollig|DesignCty has joined #silverstripe
15: [03:56:00] * Bollig|DesignCty quit (Read error: Operation timed out)
16: [04:09:00] * Bollig|DesignCty has joined #silverstripe
17: [04:12:00] * lpalmieri has joined #silverstripe
18: [04:12:00] * lpalmieri quit (Client Quit)
19: [04:22:00] * cloph_away has joined #silverstripe
20: [04:23:00] * cloph_away1 quit (Ping timeout: 240 seconds)
21: [06:37:00] * liam quit (Ping timeout: 272 seconds)
22: [06:41:00] * Zauberfisch quit (Ping timeout: 246 seconds)
23: [06:43:00] * ChairyOnehouse has joined #silverstripe
24: [06:48:00] * DigNZ quit (Client Quit)
25: [06:48:00] * DigNZ has joined #silverstripe
26: [06:54:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
27: [06:58:00] * Zauberfisch has joined #silverstripe
28: [07:08:00] * Error404NotFound has joined #silverstripe
29: [07:25:00] * popeshoe has joined #silverstripe
30: [07:48:00] * popeshoe quit (Quit: This computer has gone to sleep)
31: [08:39:00] * Error404NotFound quit (Ping timeout: 240 seconds)
32: [08:51:00] * Error404NotFound has joined #silverstripe
33: [08:58:00] * Shrike_Finland has joined #silverstripe
34: [09:01:00] * DesignerX has joined #silverstripe
35: [09:11:00] * ChairyOnehouse quit (Ping timeout: 265 seconds)
36: [09:12:00] * ARNHOFF has joined #silverstripe
37: [09:23:00] <DesignerX> hi , anyone has a Demo PageType loaded with all fields & options ? I saw one on the SS3 demo , anyone has something like it ?
38: [09:35:00] <ARNHOFF> DesignerX: https://github.com/silverstripe/silverstripe-installer/tree/demo-site
39: [09:35:00] <ARNHOFF> not sure if this one has what you are looking for, but as far I know this is the demo site
40: [09:37:00] <DesignerX> thanks, i will check it out
41: [09:49:00] <DesignerX> ARNHOFF: nope, it wasn't the one :(
42: [09:49:00] <DesignerX> thanks anaywas
43: [09:49:00] <ARNHOFF> ah, no idea then :(
44: [10:16:00] * zfmf has joined #silverstripe
45: [10:21:00] * zfmf quit (Read error: Connection reset by peer)
46: [10:21:00] * lx-berlin has joined #silverstripe
47: [10:24:00] * zfmf has joined #silverstripe
48: [10:24:00] * lx-berlin has left #silverstripe
49: [10:36:00] * Shrike_Finland quit (Ping timeout: 240 seconds)
50: [10:41:00] * C10ne has joined #silverstripe
51: [10:58:00] * SightUnseen has joined #silverstripe
52: [10:59:00] * SightUnseen has left #silverstripe
53: [11:09:00] <C10ne> Do you use widgets with SS 3? I'm still wondering how to replace them...
54: [11:11:00] <DesignerX> C10ne: I dont use them but looking at that soon
55: [11:12:00] <DesignerX> Question : I have a new PageType & I need a custom Name to show in the CMS dropdown menu when creating a new page . How can I do that ? looked at the sitetree class but couldn't find the method to do that
56: [11:14:00] <C10ne> DesignerX: Check this out, if I understand correctly it's what you're trying to do : http://www.balbuss.com/translate-new-page-in-sitetree/
57: [11:16:00] <C10ne> Or, maybe you just need to set singular/plural name in PageType.php
58: [11:18:00] <C10ne> yw
59: [11:18:00] <DesignerX> ty
60: [11:18:00] <DesignerX> set singular/plural name is what I need
61: [11:24:00] * Shrike_Finland has joined #silverstripe
62: [11:25:00] <Shrike_Finland> Hi!
63: [11:26:00] <Shrike_Finland> Is it possible to have multiple gridfields on same adminpage? For example, slidehow grid and featured columns on frontpage.
64: [11:31:00] <Shrike_Finland> Ah, got it already working
65: [11:34:00] <ss23> Yay1
66: [11:34:00] <ss23> ss23 helps Shrike_Finland again :D
67: [11:36:00] * Shrike_Finland1 has joined #silverstripe
68: [11:36:00] * Shrike_Finland quit (Read error: Connection reset by peer)
69: [12:18:00] * ChairyOnehouse has joined #silverstripe
70: [12:27:00] * pex__ has joined #silverstripe
71: [12:28:00] <pex__> hi, how can i display some info for user in modeladmin?
72: [12:58:00] <DesignerX> pex__: u still here?
73: [13:09:00] <pex__> YES
74: [13:09:00] <pex__> and you?
75: [13:30:00] <pex__> i manage several DO in modeladmin
76: [13:30:00] <DesignerX> kk, I will get u some code
77: [13:30:00] <DesignerX> so you just want a basic Object to be managed by model admin ?
78: [13:31:00] <pex__> and i need to check something before write and eventually display an error message
79: [13:31:00] <DesignerX> http://doc.silverstripe.org/framework/en/reference/modeladmin
80: [13:32:00] <pex__> i tried user_error but no effect
81: [13:34:00] <DesignerX> oh, so onBeforeWrite() U need to check for something then posibley return an error ?
82: [13:34:00] <pex__> second thing i ma just wonder how to display any message in model admin
83: [13:34:00] <pex__> yes
84: [13:35:00] <DesignerX> I am my self stuck on few question in model admin, havent used it much ... I will have a look & see what I can get for u
85: [13:36:00] <DesignerX> btw, use this custom google search i made, it will speed up your work http://www.google.com/cse/home?cx=010558900908239387678:vqc2gretvaq
86: [13:36:00] <pex__> wonderful, thanks
87: [13:37:00] <pex__> heh, you made custom google search for silverstripe?:) thanks a lot :)
88: [13:38:00] <DesignerX> yep,http://www.google.com/cse/home?cx=010558900908239387678:vqc2gretvaq
89: [13:38:00] <DesignerX> searches sites including: http://www.ssbits.com/, http://api.silverstripe.org, http://doc.silverstripe.org
90: [13:38:00] <pex__> i am using it right now
91: [13:39:00] <DesignerX> few more blogs will be added later , just didnt get time lolz
92: [13:40:00] <DesignerX> pex__: are u using E_USER_WARNING or E_USER_ERROR
93: [13:41:00] <pex__> if(1) user_error("desc",E_USER_ERROR);exit();
94: [13:41:00] <pex__> E_USER_ERROR
95: [13:41:00] <pex__> its from silverstripe example in reference
96: [13:42:00] <pex__> ok i have to search
97: [13:42:00] <DesignerX> where did u get the example ? link please
98: [13:44:00] <DesignerX> function user_error ($messsage, $error_type) {}
99: [13:45:00] <DesignerX> core.php *
100: [13:45:00] <DesignerX> this is in code.php
101: [13:47:00] <DesignerX> pex__: try this exact code for me user_error("Bad \$ids passed to applicablePagesHelper()", E_USER_WARNING);
102: [13:48:00] <pex__> ok
103: [13:49:00] <DesignerX> copy from core files, if this doesnt work then it could be returning false ?
104: [13:50:00] <pex__> no error but no effect
105: [13:50:00] <pex__> hmm
106: [13:50:00] <DesignerX> pex__: put the code where it will retun error onBeforeWrite all the time , note : onBeforeWrite only trigger if something has changed, just saving the same exact info "may" not work
107: [13:50:00] <pex__> nothing happened
108: [13:51:00] <DesignerX> http://www.sspaste.com/
109: [13:51:00] <DesignerX> ok, give me 5
110: [13:51:00] <DesignerX> I will try here
111: [13:51:00] <pex__> i pastit for U mabye something wrong on my site
112: [13:51:00] <pex__> http://www.sspaste.com/paste/show/50e9817299935
113: [13:56:00] <pex__> link you asked is http://doc.silverstripe.org/framework/en/topics/datamodel
114: [13:58:00] <DesignerX> ok, when u add the user_error like u have done, does anything changes on the page ?
115: [13:59:00] <pex__> wait, i will try it in modeladmin init
116: [13:59:00] <pex__> exacly
117: [13:59:00] <pex__> before i got an error but i used exit(); too
118: [14:01:00] <pex__> nothing
119: [14:02:00] <DesignerX> I will try on my model admin, one sec
120: [14:03:00] <pex__> mabye it's working only in front-end?
121: [14:03:00] <DesignerX> nah, I tested the erorr, the function work
122: [14:04:00] <pex__> i am using 3.0.3
123: [14:04:00] <pex__> hmm
124: [14:08:00] <DesignerX> mm,I tested the code on a normal page type, I get a quick error message in the top-right, thats alll !
125: [14:11:00] <pex__> hmm
126: [14:13:00] <pex__> user erorr should look like this? i mean something like when you try to delete some row in datagrid
127: [14:13:00] * zfmf quit (Ping timeout: 260 seconds)
128: [15:10:00] * zfmf has joined #silverstripe
129: [15:12:00] * Error404NotFound quit (Disconnected by services)
130: [15:12:00] * Err404NotFound has joined #silverstripe
131: [15:21:00] * pex__ has left #silverstripe
132: [16:01:00] * onre_ is now known as onre
133: [16:46:00] * gelignite has joined #silverstripe
134: [17:38:00] * Bollig|DesignCty quit (Read error: Connection reset by peer)
135: [17:40:00] * pex__ has joined #silverstripe
136: [17:49:00] * Bollig|DesignCty has joined #silverstripe
137: [18:37:00] * pex__ has left #silverstripe
138: [18:39:00] * pex__ has joined #silverstripe
139: [19:00:00] * zfmf has left #silverstripe
140: [19:16:00] * lx-berlin has joined #silverstripe
141: [19:21:00] * Shrike_Finland has joined #silverstripe
142: [19:21:00] * Shrike_Finland1 quit (Read error: Connection reset by peer)
143: [19:21:00] * lx-berlin has left #silverstripe
144: [19:22:00] * ARNHOFF quit (Read error: Connection reset by peer)
145: [19:22:00] * irogue has joined #silverstripe
146: [19:23:00] * DigNZ quit (Remote host closed the connection)
147: [19:23:00] * DigNZ has joined #silverstripe
148: [19:23:00] * DigNZ has joined #silverstripe
149: [19:24:00] * pext has joined #silverstripe
150: [19:38:00] * nickmolhoek has joined #silverstripe
151: [19:38:00] * nickmolhoek quit (Remote host closed the connection)
152: [19:39:00] * chillu has joined #silverstripe
153: [19:39:00] * nickmolhoek has joined #silverstripe
154: [19:42:00] * Zauberfisch quit (Ping timeout: 246 seconds)
155: [19:44:00] * lx-bln has joined #silverstripe
156: [19:45:00] * lx-bln quit (Remote host closed the connection)
157: [19:45:00] * lx-bln has joined #silverstripe
158: [19:47:00] <lx-bln> hi all, does anyone know if a ss3 version of legacyURLs exists ?
159: [19:48:00] <lx-bln> i really need to add the old urls to our current ss3 project. maybe its already too late
160: [19:49:00] <lx-bln> argh, is anyone online ?
161: [19:49:00] <lx-bln> chillu, are you around ?
162: [19:49:00] <lx-bln> legacyURLs are described in the "old" ss book
163: [19:53:00] * Zauberfisch has joined #silverstripe
164: [19:53:00] <lx-bln> Zauberfisch help!
165: [20:04:00] * pext quit (Quit: leaving)
166: [20:27:00] <Zauberfisch> :O
167: [20:32:00] <lx-bln> do you have one moment ?
168: [20:33:00] <Zauberfisch> I guess
169: [20:33:00] <Zauberfisch> how can I help you?
170: [20:34:00] <lx-bln> we did biuld the site www.secowarwick.com
171: [20:35:00] <lx-bln> but when you access it with www, you will come to the starpage only after a 301 rdirect
172: [20:35:00] <lx-bln> and i think this is bad
173: [20:36:00] <lx-bln> but bcause of forcewww you also get to the same site
174: [20:36:00] <lx-bln> strange. if you access it without www there is no 301
175: [20:37:00] <lx-bln> its a multilanguage site without the translateable module. all languages are just subtrees
176: [20:38:00] <lx-bln> are you still there?
177: [20:39:00] <lx-bln> i just noticed that there is a problem, when i wanted to check the site with www.seitwert.de, which is telling me, that it cant read www.secowarwick.com
178: [20:41:00] <lx-bln> do you have an idea?
179: [20:46:00] <Zauberfisch> hmmm
180: [20:46:00] <Zauberfisch> do you have any special htaccess rules?
181: [20:47:00] <lx-bln> in the beginning we had the urlsegment home twice, en/home and pl/home, so it happened that you started with the pl site sometimes
182: [20:48:00] <lx-bln> so we added another redirector page /home at the very beginning , rdirecting to /en/home
183: [20:48:00] <lx-bln> no special htaccess
184: [20:49:00] <lx-bln> then we decided to delete this one and rename /pl/home to pl/start. then there was only 1 site with urlsegment home
185: [20:50:00] <lx-bln> but maybe ss is somehow still using this redirector page, although it was unpublished and deleted
186: [20:53:00] <lx-bln> the more i explain, the more i think, that this is what might happen. is it possible that i add a site and then remove it but ss still finds the old urlsegment in site_versions table?
187: [20:56:00] <lx-bln> one other question: do you know a way to add legacyurls to a ss3 site?
188: [20:57:00] <Zauberfisch> sorry
189: [20:57:00] <Zauberfisch> no idea
190: [20:57:00] <Zauberfisch> and what do you mean with legacy url?
191: [20:57:00] * DesignerX quit (Ping timeout: 276 seconds)
192: [20:57:00] <Zauberfisch> hmmm
193: [20:58:00] * OomElvis has joined #silverstripe
194: [20:59:00] <lx-bln> add an old url to a page. when you make a rdesign of an existing website with ss, the old urls will no longer work.
195: [20:59:00] <OomElvis> how to redirect to referrer page/
196: [20:59:00] <OomElvis> ?
197: [20:59:00] <irogue> lx-bln: i'd suggest doing that with webserver rewrites
198: [20:59:00] <lx-bln> so it would be good to add a legacyurl to a page how the url has been before
199: [21:00:00] <lx-bln> so that the old url are still working
200: [21:00:00] <lx-bln> in the old ss book there was example code for it
201: [21:01:00] <lx-bln> irogue, htaccess rules by hand ?
202: [21:01:00] <Zauberfisch> lx-bln silverstripe checks for old urls in the version table
203: [21:01:00] <Zauberfisch> you could create fake records for the page with the url you want
204: [21:02:00] * pex__ has left #silverstripe
205: [21:02:00] <lx-bln> great, i think this might be the reason for the 301 . i will truncate this table tomorrow
206: [21:03:00] <Zauberfisch> you could try deleting it
207: [21:03:00] * ajmitch_ is now known as ajmitch
208: [21:03:00] <Zauberfisch> but I don't think its the reason for your redirects
209: [21:03:00] <Zauberfisch> anyway, I have to go afk for 20min now
210: [21:03:00] <Zauberfisch> brb
211: [21:04:00] <lx-bln> i guess the code for the legacyurl from the 2.4. book will not work for ss3
212: [21:20:00] * OomElvis quit ()
213: [21:21:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/5d9819be5347...a0a317886b72
214: [21:21:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3989952
215: [21:21:00] * travis-ci has joined #silverstripe
216: [21:21:00] * travis-ci has left #silverstripe
217: [21:21:00] <travis-ci> [travis-ci] silverstripe/sapphire#1109 (3.0 - a0a3178 : Ingo Schommer): The build passed.
218: [21:23:00] * Liquide quit ()
219: [21:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3990258
220: [21:45:00] * travis-ci has joined #silverstripe
221: [21:45:00] <travis-ci> [travis-ci] silverstripe/sapphire#1110 (2.4 - 44c4108 : Ingo Schommer): The build passed.
222: [21:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3fad49e2c00a...44c41085b97a
223: [21:45:00] * travis-ci has left #silverstripe
224: [21:49:00] * lx-bln quit (Remote host closed the connection)
225: [21:52:00] * dendeffe has joined #silverstripe
226: [21:56:00] * ChairyOnehouse quit (Ping timeout: 276 seconds)
227: [22:03:00] * dendeffe quit (Quit: dendeffe)
228: [22:04:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
229: [22:04:00] * Bollig|DesignCty quit (Read error: Operation timed out)
230: [22:05:00] * SightUnseen has joined #silverstripe
231: [22:08:00] * SightUnseen has left #silverstripe
232: [22:13:00] * guci0 has joined #silverstripe
233: [22:20:00] <travis-ci> [travis-ci] silverstripe/sapphire#1111 (post-2.4 - 19e44ca : Ingo Schommer): The build is still failing.
234: [22:20:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3294738f494e...19e44ca40960
235: [22:20:00] * Bollig|DesignCty has joined #silverstripe
236: [22:20:00] * travis-ci has left #silverstripe
237: [22:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3990914
238: [22:20:00] * travis-ci has joined #silverstripe
239: [22:21:00] * travis-ci has joined #silverstripe
240: [22:21:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#177 (post-2.4 - 3aef9fe : Ingo Schommer): The build passed.
241: [22:21:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/c2fea77f589f...3aef9fef1edb
242: [22:21:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/3990911
243: [22:21:00] * travis-ci has left #silverstripe
244: [22:34:00] * guci0 quit (Ping timeout: 245 seconds)
245: [22:41:00] * nickmolhoek quit (Quit: nickmolhoek)
246: [23:04:00] * guci0 has joined #silverstripe
247: [23:10:00] * guci0 quit (Ping timeout: 245 seconds)
248: [23:17:00] * OomElvis has joined #silverstripe
249: [23:18:00] * Bollig|DesignCty quit (Quit: Connection Reset by Mexicans with wirecutters)
250: [23:18:00] <OomElvis> function to get query string stuff?
251: [23:24:00] * DesignerX has joined #silverstripe
252: [23:57:00] * Bollig|DesignCty has joined #silverstripe

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