Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 13 00:27
    dg closed #956
  • Sep 08 06:45
    dakur opened #956
  • Sep 03 07:56
    pmtpro closed #955
  • Sep 03 07:54
    pmtpro edited #955
  • Sep 03 07:53
    pmtpro opened #955
  • Aug 29 10:10
    dg commented #954
  • Aug 29 08:57
    helvete opened #954
  • Aug 23 13:15
    dg closed #949
  • Aug 23 13:15
    dg closed #953
  • Aug 23 12:25
    dg closed #952
  • Aug 23 12:25
    dg commented #952
  • Aug 22 22:04
    petrparolek opened #953
  • Aug 18 08:07
    dakujem commented #949
  • Aug 18 08:03
    petrparolek commented #949
  • Aug 18 07:30
    dakujem commented #949
  • Aug 17 14:31
    mabar commented #952
  • Aug 17 14:28
    mabar commented #952
  • Aug 17 14:24
    mabar commented #952
  • Aug 17 13:47
    petrparolek commented #952
  • Aug 17 13:47
    petrparolek commented #952
Martin Pohorský

I need help! Is it possible to change persistent parameters via ajax? I tried

window.history.replaceState(null, null, {$customUrl});

to change URL, but without refresh the parameters are lost within next ajax call.

Martin Pohorský
Nevermind. I realized I have to redraw all links
Kristián Bukva
Asi to tu moc nepatrí ale predsa skúsim. Neriešil niekto respo ublaboo/datadridu ? Poprípade by som uvítal nejaký zaujímavý nápad ako take niečo dostiahnuť samozrejme na ukor zobrazených dát.
@suweb mozno lepsie opytat ublaboo/help ?
Kristián Bukva
Nevedeli by ste mi niekto poradiť s týmto problémom ? https://forum.nette.org/cs/31783-mazanie-suboru-po-samotnej-akcii-stiahnut-subor
Cron ktory by vymazal subory priebezne?
Skus radsej nabuduce nette/nette/cs ak v cestine toto je anglicky chat
Kristián Bukva
@markosko nie to nieje crop to je obyčajná handle funckia volaná v presentéri
Asi si budeme musieť napísať vlastnu sendResponse
@suwebcron nie crop, cronjob spravte na mazanie
Jan Tojnar
What do you use instead of kdyby/replicator?
how do i return an array for twig? https://hastebin.com/ibatomifiz.php
Good Morning. How can i setup a database prefix like "myPrefix_user" before i start a $db->query ?
i found the answer: "?name" as sql statement
Like this :
$table = 'nice_prefix';
'SELECT ID FROM ?name WHERE ID = ? AND Password = ?' , $table, $userID, $password
NETTE TEAM: Please accept donations from users of the Brave Browser (https://brave.com/faq/#unclaimed-funds). TY.
Kevin Waterson
I am following the docs on creating modules, however, but getting a 404. Cannot load presenter 'Blog', class 'App\Presenters\BlogPresenter' was not found.
Why is the application not finding the BlogPresenter class in the app/BlogModule/presenters directory?
did I miss something?
@KevinWaterson try to set with router
for example
$router[] = $blog= new RouteList("Blog");

        $blog[] = new Route("blog/<presenter>[/<action>[/<id>]]",

Bernhard Baumrock
Hey everybody! I'm developing a shopping cart with nette forms for all steps of the checkout. It works great so far, but now it seems I have a problem: The forms are displayed nicely and I populate them via session variables so that a user can add another product while not losing already input data (address).
The problem is that I need to validate the data that is stored in the session against the setup of the form (required fields etc), while the form is actually not submitted!
Is this possible somehow? What would be the best approach? I've looked for a solution, but $form->isValid() does only work if the form has values set (is submitted)
I'm looking for something like $form->isValid($data)
@dg do you offer paid support?
seriously, why nette/database sucks so hard when it comes to twig and arrays, esp with sqlite?
Tomáš Malčánek
Hello, anyone up?
Petr Parolek
hello Nette people! I have a small question about Latte - how would I go about applying a custom filter to a string constant? If I do something like {'constant'|myFilter} it's not interpreted at all.
Hi Nette community, Thank you in advance for your help !!
I am currently using stand alone Nette Forms in one php script, I am submitting them to an another one where the $_POST data are worked on. I am not to sure if I am using it like that the Cross Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) protection is still working. Can I check that in the second script manually somehow ???
@austerus_gitlab try {='constant'|myFilter}
Marek Bartoš
ℹ️ If anyone here don't know - you can join slack channel of pehapkari.cz
ℹ️ There is much more active #nette room and also rooms for nette extension #contributte #nextras #kdyby
David Durika
hi, is there a guide how to migrate to v3 ?
hi can anybody help , using nette framework 2.3.10 getting this erro Nette\DI\CompilerExtension::setConfig() must be of the type array, string given
Alexandr Rešetňak
Hey. I need a hand. I have a form in nette app and i would like to send only a few inputs via ajax. Is there any possible way? I was searching solution on the internet but unsuccessfully
Gautam krishna R
Hi team, is $form->addProtection(); is the only call required to prevent the CSRF in nette forms?
How's it implemeted under the hood?
Nette\Database\DriverException #42703
SQLSTATE[42703]: Undefined column: 7 ОШИБКА: столбец ad.adsrc не существует
LINE 9: coalesce(co.contype = 'p' AND strpos(ad.adsrc, 'nextval'...
in Postgresql 12
@ivanscm in last version of postgres i think they removed that adsrc
@markosko and what to do?
vendor/nette/database/src/Database/Drivers/PgSqlDriver.php:139 replace from ad.adsrc to pg_get_expr(ad.adbin, ad.adrelid). Create pull request?
Sorry. Fix in #242 in database
Hi, is it possible to mark the result of a function call "safe to use" in a render context (HTML for example) in Latte? Without manual application of the noescape filter.
I implemented a function which returns a valid HTML code (script tags, for example), and i need use call result without any escaping.