1
Show Posts
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Messages - tin
2
Bugs / Re: javascript working not corectly if field is same name.
@tin that is the only way until an update comes out. Unless you want to manually change the id used by the javascript and editing the Add and Edit page as custom to change the id of the field you want to change.
3
Bugs / Re: javascript working not corectly if field is same name.
@tin please change the database column name to something different.
4
Bugs / Re: javascript working not corectly if field is same name.
Then,when phprad generate code it use #ctrl-id_group as the same code on page for table1 and on page for table2.This will trigger script from page1(table1) on page2(table2) too.Because phprad use file page-scripts.js as a global script to all pages.
5
Bugs / Re: javascript working not corectly if field is same name.
6
Bugs / javascript working not corectly if field is same name.
if control name was the same name.
(ex. table 1 have field group_id and table 2 have group_id too.)
javascript that assign to table1 page will tricker on table2 page too.(because group_id is the same name.
7
General Discussion / Re: Users accesing only info about their location
8
General Discussion / Re: Ajax post request
Good afternoon @tin that did not work as well.
9
Questions / Re: Need some advice about Custom field
10
Bugs / UTF8 on Audit trail logs
I found code in BaseController.php
Code: [Select]
$request_data = json_encode($modeldata);the corect code to solve for utf8 data is
Code: [Select]
$request_data = json_encode($modeldata, JSON_UNESCAPED_UNICODE);
11
Questions / Re: Need some advice about Custom field
example if I have 2 table
1.customer
2.customer_outcome
If I want sum of customer_outcome,can I coding like this on expression of custom field?
Code: [Select]
SELECT SUM(outcome_value)PS.Custom field created on list page of customer table.
FROM customer_outcome GROUP BY id_cus
12
Questions / Re: help
13
Questions / Re: Need some advice about Custom field
@tin you can read this 👉https://docs.radsystems.io/phprad-pages/pages/page-fields
14
Questions / Re: How to use UseAjaxSearch properties?
15
General Discussion / Re: Ajax post request
Because of when we call ajax url,it not go to root path.
As in ubbxst code is
Code: [Select]
url:'score/getnames.php',score folder is next from root path.
If this ajax is use in url = {root_path}/customer/add,Ajax not go to right url.It will call to
{root_path}/customer/add/score/getnames.php. (the correct url is {root_path}/score/getnames.php)
So,to fix it.Your url must add ../ in your code.
Code: [Select]
url:'../score/getnames.php',
Ajax will go to correct url and working again.