Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 06 16:04
    diegosardina opened #922
  • Dec 05 17:58
    diegosardina opened #921
  • Dec 04 13:13
    dg closed #920
  • Dec 04 10:01
    diegosardina opened #920
  • Oct 17 20:54
    dg closed #919
  • Oct 17 20:54
    dg commented #919
  • Oct 17 16:36
    mabar opened #919
  • Oct 10 15:17
    dg closed #591
  • Oct 10 15:17
    dg edited #591
  • Oct 10 15:17
    dg synchronize #591
  • Oct 10 15:11
    dg closed #714
  • Oct 10 15:11
    dg edited #714
  • Oct 10 15:10
    dg edited #714
  • Oct 10 15:09
    dg closed #732
  • Oct 10 14:57
    dg closed #783
  • Oct 10 14:57
    dg synchronize #783
  • Oct 10 14:55
    dg closed #784
  • Oct 10 14:55
    dg commented #784
  • Oct 10 14:50
    dg closed #845
  • Oct 10 14:45
    dg closed #887
sztan
@sztan
still got some problems, this time while sassing bootstrap, I cannot obtain uptodate sourcemap files...
using dart-sass/sass (no --sourcemap option possible apparently)
or using ruby-sass (errors in scss files...)
composer.json related values:
"nette/bootstrap": "^2.4.3",
and
"twbs/bootstrap": "4.1.0",
i can dart-sass/sass scss/bootstrap.php, this works, but the sourcemap file doesn't update (dist/css/bootstrap..css.map)
@anyone ?
sztan
@sztan
I ended up using standard non minified bootstrap and mofifying code inside of bootstrap.css
.form-inline .form-control {
    display: inline-block;
    //width: auto;
    vertical-align: middle;
  }
this caused validation buttons to overlap on last field in inline-forms...
so i commented it
I initially wanted to to this in _form.scss and compile. It works but I couldn't obtain uptodate sourcemaps... Anyway I'm not meant to modify bootstrap a lots, except in this 'rare' cases..
Arun Abraham
@arun_abraham_7_twitter
Anyone heard about High performance PHP server called swoole?
Martin Gold
@martingold
I have kinda legacy question, i got to Nette 2.1 project and some previous developer thought, that when they see USER_NOTICE in bluescreen it is easier do disable whole Tracy a and PHP error reporting. So my question is if it is possible to ignore USER_NOTICE and NOTICE for now. I have tried the following
$severityLevel = E_ERROR | E_WARNING | E_PARSE;
error_reporting($severityLevel);
\Nette\Diagnostics\Debugger::$strictMode = $severityLevel;

And it does not do anything. Tracy still throws bluescreen on USER_NOTICE. the phpdoc for Debugger::$strictMode says the following

    /** @var bool|int determines whether any error will cause immediate death; if integer that it's matched against error severity */
    public static $strictMode = FALSE; // $immediateDeath

So from my understanding it should work, but it does not.

Martin Gold
@martingold
Nevermind, i just figured it out few moments after i asked. It started to work when i put Debugger::$strictMode assigment below enabling Nette\Configurator debug mode.
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
hi
is there any offline documents?
Martin Gold
@martingold
Do you mean documentation?
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
yes
online documents i find it, how to create offline documents by https://github.com/nette/docs
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
nette is free?
looks so good
markosko
@markosko
@freshaim yea nette is free
Roman Kovaříček
@namo-R
you can send them donate ;) .... https://nette.org/en/donate
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
is nette support theme?
markosko
@markosko
@freshaim u mean like $this->theme="something";
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
yes
like yii2 framework
markosko
@markosko
builtin ? nope but there component for it or u can do your implementation
@freshaim
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
where's the component?
for database orm , <code>$this->template->posts = $posts = $this->db->table('posts')->limit(10);
foreach($posts as $p){
echo $p->user->user;
}</code>
markosko
@markosko
https://github.com/Kappa-org/ThemesManager @freshaim but didnt used this
if u want formatting code then use ```
on start and end of code snippet
@freshaim
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
$this->template->posts = $posts = $this->db->table('posts')->limit(10); foreach($posts as $p){ echo $p->user->user; }
markosko
@markosko
what with this ? @freshaim
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
```
$this->template->posts = $posts = $this->db->table('posts')->limit(10); foreach($posts as $p){ echo $p->user->user; }
this is a db query
markosko
@markosko
it must be in one message if u want to new line without sending use shift+enter
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
use raletionshop
markosko
@markosko
@freshaim ň
yea but not sure what u want
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
$this->template->posts = $posts = $this->db->table('posts')->limit(10); foreach($posts as $p){ echo $p->user->user; }
markosko
@markosko
do u have error there or ?
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
no error,there's a problem,this sql has create 3 , two is the same, how can i use inner join.
just one sql
markosko
@markosko
either u will use query and write out whole sql or this will always use more sql queries