Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 23 12:12
    Ewwe commented #185
  • Oct 23 12:10
    Ewwe synchronize #185
  • Oct 23 12:10
    Ewwe synchronize #185
  • Oct 23 11:39
    mabar commented #185
  • Oct 23 08:19
    Ewwe edited #185
  • Oct 23 08:15
    Ewwe opened #185
  • Oct 22 16:07
    dg deleted #70
  • Oct 22 14:53
    elcheco closed #70
  • Oct 22 14:53
    elcheco commented #70
  • Oct 22 13:48
    dg commented #70
  • Oct 22 13:25
    elcheco edited #70
  • Oct 22 13:21
    elcheco edited #70
  • Oct 22 13:20
    elcheco edited #70
  • Oct 22 13:20
    elcheco edited #70
  • Oct 22 13:19
    elcheco edited #70
  • Oct 22 13:19
    elcheco opened #70
  • Oct 21 17:04
    jakubboucek commented #444
  • Oct 21 16:35
    dg closed #444
  • Oct 21 15:37
    jakubboucek edited #444
  • Oct 21 15:32
    jakubboucek edited #444
sztan
@sztan
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
cehc kdatabase explorer docs for this @freshaim
可能是写代码第二好的太极拳爱好者,哈哈哈!!
@sunkangchina
OK
thank you
Jakub Vitásek
@jvitasek
Hey guys, I have a Nette Form with class "ajax". On the first submit, the form fires all expected events (success, submit etc). But on the second submit, the form only fires onAnchor and onRender. What could be wrong?
Jakub Vitásek
@jvitasek
I figured it out, I was removing the previous values from the form via javascript and I guess Nette Forms are protected against that. Removing this script submits the form, so now I have to find out how to set the default values when the form is already anchored and rendered :)
markosko
@markosko
@jvitasek $form->setValues([]); at end of form processing
Daniel Lungu Byrne
@daannielism_twitter
Hi guys, not sure who to ask this