1
I Use This!
Very Low Activity

News

Analyzed 1 day ago. based on code collected 1 day ago.
Posted about 11 years ago by jevansnc
I'm working on setting up a Nginx web server running on Ubuntu and SQLite. I have everything working and humming along quite nicely. Honestly the speed improvement over current Apache isn't that much but it is enough to make a difference with ... [More] response time. My main issue I'm having is content isn't showing in the edit screens. Main content like the page names, main app entries and related show but the actual editor is empty when you actually dive in to edit the content. This happening on our actual apps as well so I don't think it is Redactor related but I don't know either. Does anyone have any experience or advice on this manner? For reference all the front end side of things works just fine. [Less]
Posted about 11 years ago by garethTheRed
The Wiki code blocks display as one long word-wrapped line under IE8 (I know!). That is: #include main() { printf("Hello World"); } actually displays as: #include main() { printf("Hello World"); } It seems to boil down to the ... [More] fact that the jquery.syntax blockSelector is attached to . If it's changed to simply then it works fine on IE8, Firefox 31, Chromium 35 and Android's Chrome browsers. I've not tried with anything else. I thought I'd bring it up here for discussion before submitting a patch. Can anyone see any problems with changing it to ? Of course, I could just change it on my installation as I'm probably the only one left using IE8! Thanks [Less]
Posted about 11 years ago by BronyBorn
Been working on a native polling app for a few weeks. Finally got it to an operable state. Here's the repository: https://github.com/BronyBorn/polls It's only the first iteration, and input on it would be most appreciated.
Posted about 11 years ago by BronyBorn
I've been scrubbing through the source and I can't seem to find a way of managing hooks for custom apps outside of manually editing the root config, which isn't distributed with individual apps. The simplest solution I've been able to come up with ... [More] so far is adding this to the Controller class: public function apphook ($app , $type, $data = array ()) { $hooks = empty(Appconf::get($app)['Hooks'][$type]) ? array() : Appconf::get($app)['Hooks'][$type]; if (empty($hooks) { return false; } $out = ''; foreach ($hooks as $handler) { $out .= $this->run ($handler, $data); } return $out; } Haven't been able to test this much, so it might be a bit off... [Less]
Posted about 11 years ago by alpi
It seems that the versions list doesn't show the last timestamp/user. I think the problem is in "history" function of "Versions" model that make a query like select * from versions where class='[selected_class]' group by pkey order by ts desc ... [More] maybe this could be something like select * from versions where id in (select max(id) from t_versions where class='[selected_class]' group by pkey) order by ts desc Do you agree? [Less]
Posted about 11 years ago by winsystem
Hi John, by the way, i want to know if it is possible to modify the existing gallery in the dynamic objekts table. I want to get a sortable gallery by headlines or words or whatever. Can you give me a hint.
Posted about 11 years ago by alpi
It seems that a user who can edit users may assign to themselves the type "Admin" even if it is not. E.g. "Modify user accounts" set to "Yes" and "Modify user roles and permissions" set to "No" How can I avoid that? Thanks.
Posted about 11 years ago by alpi
The clear attribute on the br element is obsolete in HTML5. I found eight occurrences of: How do we change it? For now I've used:  
Posted about 11 years ago by BronyBorn
I have been contemplating the best way to choose an internal file that was uploaded through the filemanager while inside another app and the following is what I came up with (no idea if this has been done before). ... [More] https://gist.github.com/BronyBorn/1257f75134c57ccce808 This script extends the use of modal.js and filemanager.js to allow apps the ability to have the user pick a domain-relative filepath and then decide what to do with the file's URI once it's been chosen. If you find something that should/could be improved, please do tell. [Less]
Posted about 11 years ago by alpi
Is it possible to use "where" and "or_where" Model methods, in oder to make a where like in title?