Questions tagged [nette]

Nette Framework is an open source tool for PHP web development. Nette focuses on security and performance and it's one of the safest PHP frameworks.

Nette Framework is an MVC framework developed by David Grudl. It is designed to be as easy as possible to use and it is one of the safest frameworks.

Latte is used as a primary templating engine which has features such as macros, filters, context-aware output escaping, localization support or custom blocks.

Nette offers an easy to use service container, allowing to register singleton or factory created services. The service container also supports Dependency Injection with automatic (can be disabled) injection of services into constructors of other services or controllers.

Current Nette version: 2.4

Resources

142 questions
0
votes
1 answer

How to avoid that modal window change CSS on site

As it is usually on any admin page I have 3 buttons next to each other. One for detail, one for edit and one for delete, it looks like:
0
votes
1 answer

Exception nette-ajax extension error in IE8

I have a problem with an exception nette-ajax extension in IE8. Does anybody know, what does it mean and how fix it?
0
votes
2 answers

Nette Tester: MySQLi not working

Normally, in apache via mod php it works perfectly fine, but if I try function_exists('mysqli_init'), function does not exist. Other errors shown: Call to undefined function mysqli_connect() Class 'MySQLi' not found in Why MySQLi isn't…
david8
  • 444
  • 9
  • 23
0
votes
1 answer

Facebook authorization with URL rewrite

i devoted whole day to this issue and can't solve it...could you help? What is the problem My facebook (and Google+) authorization does not work, if I have URL rewriting active. How it bahaves If I access FB (or G+) authorization page and agree with…
Michal
  • 1,955
  • 5
  • 33
  • 56
0
votes
2 answers

PHP file upload on server changed mime-type to application/octet-stream

I have a file upload and when I test it on localhost all mime-types are ok. (txt, pdf, doc, docx, xls, xlsx) When I test the same files on the server it changes all mime-types to application/octet-stream. Is there any setting in PHP.ini or anywhere…
tttpapi
  • 887
  • 2
  • 9
  • 32
0
votes
1 answer

Doctrine many-to-many join without association

Currently I'm working on doctrine module for favorites which can be reusable in any project and for any entity. However there is problem with JOINs. I followed this article about dynamic mappings and it works great.. Well almost. I've got User,…
David Kudera
  • 806
  • 2
  • 8
  • 14
0
votes
1 answer

Format SQL query by php implode function

I'm using Nette Framework and I have this commands in action: $id = is_array($id) ? implode(', ', $id) : $id; $this->database->table('manufacturing')->where('id', $id)->update(array('trash' => '1')); When I select 4 rows in my Grid and call…
saby
  • 351
  • 1
  • 2
  • 18
0
votes
2 answers

Bootstrap 3 glyphicons are 403 forbidden

I am using Nette Framework 2.2.1 and BootStrap 3 on Wamp 2.5 (Win7). I am not able to load glyphicons in browser (error 403 Forbidden). what browser sees all needed fonts are in folder C:\wamp\www\nette\www\fonts\ .htaccess is located in…
Kudlas
  • 659
  • 7
  • 24
0
votes
0 answers

Connection to mysql database: PDO Premature end of data

I have problem when I wanted to put website to hosting. I am using nette and when I want to connect I get error PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:553) I am using nette framework with this db config: dsn:…
Daew dawe
  • 99
  • 8
0
votes
1 answer

Simple search in database

Hey guys i am trying to write simple search in database using Nette Framework, my Presenter (controller) looks like this: database->findAll->select('*')->where("name…
user3009924
  • 59
  • 2
  • 14
-1
votes
1 answer

Nette framework - accessing , getting services , service classes models, components, helpers from inside presenters or latte templates

How to retrieve services in Nette from/inside presenters ( controllers ) to models, templates?
-1
votes
1 answer

Bootstrap dropdown menu on mouseenter with active links

I am trying to do bootstrap dropdown menu showing on mouseenter. That is not problem, just need some jquery like: $('.dropdown-toggle').on('mouseenter', function () { $('.dropdown-toggle').dropdown('toggle') }); What I need is for example div…
-1
votes
1 answer

Nette Database not working in Symfony 5.2 command

I would like to use Nette Database 3.1.1 in Symfony 5.2.3. My PHP version is 8.0. When I try to create a database connection in a command I get the following error. "The autoloader expected class "Nette\Database\IConventions" to be defined in file…
Jayster
  • 61
  • 6
-1
votes
2 answers

PHP - mysql search in milions records

i have 13 tables with +- 100 000 records in each, same columns, but if i want search some records by column in all tables it takes +- 30sec... its so long :( if i search in 1 table first refresh takes 2-3sec secong refresh takes 0.3sec thats is good…
-1
votes
2 answers

Nette framework Url not working on localhost

The PHP Nette framework, Url is not working on localhost. On the live server it is working fine but when I installed it on localhost from the latest backup from hosting server it does not work. My .htaccess file is as:
1 2 3
9
10