Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
60 views

I'm currently doing a major upgrade on a Nette based website. We have multiple custom DI extensions, custom ORM and use the Nittro UI framework. So the upgrade is quite involved. Going from PHP 7.2 -&...
Matesaktesak's user avatar
0 votes
1 answer
86 views

There is a one to many relation in the database which needs to be updated. There is a table tasks and a table users which are linked with a table task_users containing three columns: id, task_id, ...
Sean's user avatar
  • 21
0 votes
1 answer
53 views

I am using Nette, Contributte Live-form-validation to validate my forms and Naja in web apps. I would like to prevent double submit form my ajax and non-ajax forms.
Vladimír Mlázovský's user avatar
0 votes
1 answer
201 views

I use MEDIAN function in my app. When I deploy it on the production server, I get Syntax error because there is an older version of MariaDB. Is there a way to check if a certain function exists? ...
Alesh's user avatar
  • 23
0 votes
1 answer
308 views

I have a Nette application running on an Apache2/Debian 11 server that works fine. However, we need to hide it behind an nginx proxy with an alias. Let's say we have a perfectly fine Apache2 ...
KennnyCZ's user avatar
0 votes
1 answer
190 views

I am new to Nette. I have the router set up as $router->addRoute('<presenter>/<action>[/<id>]', 'Home:home:default'); In common.neon I have the mapping set to: *: App\Modules\*\...
Lawrence Cooke's user avatar
0 votes
1 answer
63 views

I am trying to get the Login page of my application but after putting username and password, error is being displayed Cannot read an undeclared column 'smtp_port' not able to figure out the reason ...
Sushmita005's user avatar
0 votes
1 answer
173 views

.htaccess file # Apache configuration file (see httpd.apache.org/docs/current/mod/quickreference.html) # disable directory listing <IfModule mod_autoindex.c> Options -Indexes </IfModule&...
Petr Parolek's user avatar
0 votes
1 answer
327 views

I have no idea how to set, or if it is even possible to set default value on text (type date). Here is my FormFactory: $form->addText('category_priority', 'Prioritizovať do') ->...
SomeGuy's user avatar
  • 159
0 votes
1 answer
522 views

How to autowire nette services from the container, to be accessible to be used inside presenters ( controllers ) or models ,etc?
Frantisek Hallo's user avatar
0 votes
1 answer
227 views

I want to use standard , not the pretty , nice , clean , neat urls routing in framework Nette as that way it is dependent on the apache httpd mod_rewrite module, which I don't have available , and ...
Frantisek Hallo's user avatar
1 vote
1 answer
254 views

I get this error whenever someone submits the form: Fatal error: Uncaught Nette\Mail\SendException: Unable to send email. Here is my code: if ($form->isSubmitted()) { $values = $form->...
Muhammad Komail Abbas's user avatar
0 votes
1 answer
280 views

I have a question. I need to make some modification to our nette application (first time working with the framework). I need to import NAJA lib via FTP and by downloading code from github. I do not ...
DatZiggyZig's user avatar
0 votes
1 answer
132 views

I have a question. I was tasked to add some function to our web application. It is build on php presenter by somebody else so it's quite difficult for me to debug as I never work with this stuff. I am ...
DatZiggyZig's user avatar
1 vote
1 answer
615 views

I am new to latte template engine and fiddle around with it since some days. I found a lot of nice and usefull things to make my projects easier and cleaner. But there is one thing I did not find or ...
Makkapitew's user avatar
1 vote
0 answers
109 views

I`m starting to personalize my PhpStorm a bit and would love to get rid of horizontal line between PHPDoc and method while keeping the methods overall separated (with the same line) I've been trying ...
Popcorn's user avatar
  • 11
1 vote
1 answer
726 views

I have VPS where I run php (7.4) and nginx. I have installed Nette and other packages by composer. My problem is: I can't print flash messages. In my presenter I have code $this->flashMessage("...
Marty1452's user avatar
  • 405
1 vote
1 answer
1k views

I came across a problem with foreach. If one result is returned in the first foreach {foreach $children as $child}, then it works. As there are more, an error pops up: Nette\Database\ResultSet ...
Bob's user avatar
  • 21
1 vote
2 answers
582 views

I have a problem with sending a file and redirect to new page in the same time, now it is working just two ways: 1. Sending a file via sendResponse 2. Redirect to a new page My code after form ...
Afendas's user avatar
  • 31
0 votes
1 answer
114 views

Hello I have this issue where I want to take the input values from textarea1 which will be for example: "300pcs, 200$" on the first line and "500pcs, 400$" and so on, to perform an increase of price ...
iDome89's user avatar
  • 41
1 vote
0 answers
67 views

I need to make a continuous integration mechanism with some framework. The first on my mind was Jenkins but the whole project what I wanna test is written in Nette framework. So I want to use Nette ...
Rudolf Nosek's user avatar
1 vote
1 answer
106 views

We are developing CMS based in nette for our company and we have to design it to be plugin based for our clients. Something like wordpress but custom for our needs. Is there some easy way in nette to ...
Tomas Lapsansky's user avatar
0 votes
1 answer
2k views

I came across a problem to add external files to template in Nette when I used a traditional way of adding external files. Either I added those links to incorrect file (template is not the place where ...
user avatar
0 votes
2 answers
551 views

Due to my php code (nette framework) being dynamic, I use some inline styling. <div id="parent" style="height:{$place->getHeight()}px; "> This creates a problem for me as I need the ...
Joroe's user avatar
  • 15
0 votes
2 answers
182 views

can somehow unchecked checkboxes be included when I have a form with a dynamic number of checkboxes (name='golyPenalta[]') and in submit I get them using $form->getHttpData($form::DATA_TEXT, "...
Johny12369's user avatar