In my project (PhpRAD 2.7.3) are same table. When I publish the project, the serching work on something list page, on other list page it's not working. The list pages are ajaxpage, and the searching is ajaxpage on all list page.
Or how work the searching template?
Update1: when I create a new project from the DB the generated page work fine: ajaxsearch is good. In the original project only the loading indicator move, after I see the full table, I don't see the filtered. Where is the searching? In the Controller file or somewhere in JS?
I don't found errors with Firefox Webdeveloper tools.
Update2: On the List page have two tbody tag: a "page-data" class and a "search-data" class. When I make a ajaxsearch, page-data style modifed to "display: none", search-data is visited, but don't filtered. Thx!
Hi! What is the solution? I'd like make a custom add page, with a modified query to a attrib in a table, but the function return with an empty list. The qwery is correct is phpmyadmin.
I'd like create a custom download PHP script: When I download a PDF file from LIST page, my script (current location: helpers/download.php) take TEXT watermark to PDF with DomPDF. Generating URLs: '<a href="' . SITE_ADDR . 'helpers/download.php?f=' . $data['file_url'] . '&w=' . $data['watermark'] . '">' . $data['watermark'] . '</a>' Generated URLs: http://localhost/helpers/download.php?f=http://localhost/uploads/custom.pdf&w=watermark How can I make this? My script:
If I generate a List page with many rows and many columns, the generation is very slow. I think it would be better if the generation was done through a variable (for example: $current_record), with concatenation rather than 'echo' commands. This would speed up the display. Also, I could suggest changing the 'echo' command to 'return' for some functions (for example: page_link, or Html::page_img).
When I create a lookup field, and I select an item in first field, in the second filed list iscorrect, but I if I select an option in second list, the second list will empty. Why?
So far with minor or major bugs, but the program worked pretty well, but now I would update a query in one of the fields, but it doesn't update, so it doesn't work well after publishing. I have already posted the project to a new folder but it didn't help.
"SELECT DISTINCT id AS value, name AS label FROM table WHERE is_true=? AND id=(SELECT DISTINCT country_id FROM ip_addresses WHERE ip_addr LIKE ?)" , array('1',get_location_by_user_ip())
In log table the passwords are not hashed. In the BaseController I modified the line, and I hashing all JSON data (for example: userlogin event, and the datas are: username, password, hash-ed password). But I'd like that only the password value is hashed, or I'd like delete unhashed password from datas.