| 17:20 | * | jgaehring[m] has quit (Ping timeout: 240 seconds) |
| 17:20 | * | frakman1[m] has quit (Ping timeout: 240 seconds) |
| 17:20 | * | braught[m] has quit (Ping timeout: 240 seconds) |
| 17:20 | * | generalredneck[m has quit (Ping timeout: 240 seconds) |
| 17:20 | * | skipper_is[m] has quit (Ping timeout: 246 seconds) |
| 17:20 | * | rationaljohn[m] has quit (Ping timeout: 265 seconds) |
| 17:21 | * | botlfarm[m] has quit (Ping timeout: 240 seconds) |
| 17:21 | * | arvidsjaur[m] has quit (Ping timeout: 240 seconds) |
| 17:21 | * | stevemwai[m] has quit (Ping timeout: 244 seconds) |
| 17:21 | * | wombat83[m] has quit (Ping timeout: 268 seconds) |
| 17:21 | * | naveenls[m] has quit (Ping timeout: 268 seconds) |
| 17:21 | * | farmtech[m] has quit (Ping timeout: 268 seconds) |
| 17:21 | * | mstenta[m] has quit (Ping timeout: 240 seconds) |
| 17:22 | * | zedrckr[m] has quit (Ping timeout: 265 seconds) |
| 17:22 | * | julianorman[m] has quit (Ping timeout: 268 seconds) |
| 17:22 | * | paul121[m] has quit (Ping timeout: 268 seconds) |
| 17:22 | * | symbioquine[m] has quit (Ping timeout: 268 seconds) |
| 17:23 | * | linus0[m] has quit (Ping timeout: 246 seconds) |
| 17:23 | * | dge[m] has quit (Ping timeout: 268 seconds) |
| 17:23 | * | kunigunde[m] has quit (Ping timeout: 268 seconds) |
| 17:24 | * | localisticepicur has quit (Ping timeout: 246 seconds) |
| 17:24 | * | calbasi_matrix has quit (Ping timeout: 240 seconds) |
| 17:24 | * | rocoroc[m] has quit (Ping timeout: 265 seconds) |
| 17:24 | * | dazinism has quit (Ping timeout: 258 seconds) |
| 17:25 | * | JulianF has quit (Ping timeout: 265 seconds) |
| 17:33 | * | skipper_is[m] has joined |
| 17:33 | * | jgaehring[m] has joined |
| 17:33 | * | frakman1[m] has joined |
| 17:33 | * | braught[m] has joined |
| 17:34 | * | rationaljohn[m] has joined |
| 17:35 | * | generalredneck[m has joined |
| 17:50 | * | wombat83[m] has joined |
| 17:50 | * | naveenls[m] has joined |
| 17:52 | * | farmtech[m] has joined |
| 17:52 | * | botlfarm[m] has joined |
| 17:57 | * | kunigunde[m] has joined |
| 18:01 | * | dge[m] has joined |
| 18:06 | * | linus0[m] has joined |
| 18:06 | * | rocoroc[m] has joined |
| 18:11 | * | arvidsjaur[m] has joined |
| 18:17 | * | localisticepicur has joined |
| 18:19 | * | stevemwai[m] has joined |
| 18:25 | * | calbasi_matrix has joined |
| 18:25 | * | zedrckr[m] has joined |
| 18:25 | * | mstenta[m] has joined |
| 18:26 | * | paul121[m] has joined |
| 18:26 | * | julianorman[m] has joined |
| 18:26 | * | symbioquine[m] has joined |
| 18:31 | * | dazinism has joined |
| 18:38 | * | JulianF has joined |
| 20:28 | skipper_is[m] | Is there a function to load a log entity by id? Like farm_asset_load? |
| 20:29 | mstenta[m] | Yes! log_load($id) |
| 20:32 | skipper_is[m] | ah perfect :) I was just trying to make a little function out of entity_load |
| 20:32 | skipper_is[m] | but log_load is much easier :) |
| 20:49 | skipper_is[m] | And for flags, the formatting? How can I get the same style of presentation on the flags, eg monitor? |
| 20:51 | mstenta[m] | The way those styles are added now is by adding a Bootstrap class to their div |
| 20:51 | skipper_is[m] | Ah, so if I do it in a form, it'd be as markup |
| 20:52 | mstenta[m] | Yes so in a form might require something clever |
| 20:52 | mstenta[m] | I don't think we do that anywhere in farmOS yet |
| 20:53 | skipper_is[m] | Any idea what the class is? |
| 20:54 | mstenta[m] | Not off the top of my head (on my phone) |
| 20:54 | skipper_is[m] | I can maybe pull it off of page inspector |
| 20:54 | mstenta[m] | Inspect element |
| 20:54 | mstenta[m] | Yea :-) |
| 20:55 | mstenta[m] | The bootstrap docs too |
| 20:55 | mstenta[m] | Bootstrap 3 FYI |
| 20:55 | skipper_is[m] | Ah nice |
| 20:57 | skipper_is[m] | My markup part is getting very messy.... |
| 20:58 | skipper_is[m] | :sigh: |
| 20:58 | mstenta[m] | Yea tricky |
| 20:59 | mstenta[m] | There are definitely ways to keep things clean... But you gotta weigh the cost benefit :-) |
| 20:59 | mstenta[m] | If it works it works! |
| 20:59 | skipper_is[m] | Put things in arrays an iterate through them may be my next strategy.. |
| 21:03 | skipper_is[m] | .....With php, if you use ' around a string, can you not use $variables? |
| 21:03 | mstenta[m] | Correct, use double quotes instead |
| 21:04 | skipper_is[m] | ...Learn something new everyday |
| 21:04 | mstenta[m] | (I think? Although to be honest I generally concatenate) |
| 21:04 | skipper_is[m] | Yea, so I tried '$flags' and it just printed $flags |
| 21:04 | skipper_is[m] | "$flags" printed the variale |
| 21:04 | mstenta[m] | (or use t() to make it translatable) :-) |
| 21:05 | skipper_is[m] | Oooh, will t() hate markup? |
| 21:06 | mstenta[m] | www.drupal.org/docs/7/api/localization-a |
| 21:08 | skipper_is[m] | Sorted |
| 21:13 | skipper_is[m] | Thereis a farm_flags_wrap() function! |
| 21:18 | * | uploaded an image: image.png (4KiB) < matrix.org/_matrix/media/r0/download/mat > |
| 21:18 | skipper_is[m] | Ay! Look at that! |
| 21:18 | mstenta[m] | Nice :-) |
| 21:21 | skipper_is[m] | Now for a checkbox to add those flags to new logs... |
| 21:28 | skipper_is[m] | There is a function under farm_flags, looks like it adds the relative parts to a form, but requires context? |
| 21:30 | skipper_is[m] | Oh, maybe i's for views.. |