-
Posts
88 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Rafael P
-
-
44 minutes ago, Sherzod said:
No problem.
Where is the instruction?
We had a online meeting with some people from Marketing of Google, and that was all they said. There is no documentation on how it should be done, it was just said during the conversation
-
2 hours ago, Sherzod said:
It's from Google Tag. We have to put on Click Button event, so the script can capture. Any ideas?
Sorry to bother you, anyway, thanks!
-
On 8/24/2023 at 1:42 PM, Sherzod said:
If the file is located in the web directory, and after including it in CutomFiles, if the file contains a running script, then it will already run.
any idea?
-
4 minutes ago, Sherzod said:
If the file is located in the web directory, and after including it in CutomFiles, if the file contains a running script, then it will already run.
I think i will need to specify more details from my project.
First, this script was provided by Google and all he have to do is capture many of people who access our website and register on it, so he can help us to know where we can put our efforts in publicity, gain access, etc... it's a Marketing tool.
And the instructions is telling us to put this script right after user click on register or confirm button.But i can't see a easy way to implement this... it was supposed to be something trivial but it wasn't until now...
-
8 minutes ago, Sherzod said:
Hello,
How?
Hi Sherzod!
So, i saved the js script file inside my deploy achieves from my project: Deploy/Application/JS/Google_script.js and submitted on ServerModule -> CustomFiles.
Now i want to call this file when a button on my application is clicked.
Thank you! -
Hi everyone!
I just made a file using JS Script and added on ServerModule and saved the file inside my project. How can i call this file on my application in OnClick Event in a button?
For example, this function has to be activated when a button is clicked.
I already tried UniSession.AddJS(), but unfortunately was unsuccessfully.
-
33 minutes ago, Sherzod said:
Try this config:
Thank you so much, still have to do some adjustments, but it worked now! Sorry for any misunderstandings...
- 1
-
Currently using version 1.90.0.1549
-
-
16 minutes ago, Sherzod said:
Okay. Do you want to manage it? Enable/Disable, change loadmask text?
Nope. I mean, i want to display a message on UnimDbListGrid when click on OnClick Event. By default, there's no Propertie like on UnimDbGrid (LoadMask).
-
3 minutes ago, Sherzod said:
So, for UnimDBListGrid or UnimDBGrid?
Only UnimDbListGrid
-
4 minutes ago, Sherzod said:
Ok, np.
And what you wanted?
Simillar to LoadMask on DBGrid, i want to display a message for "data is loading" into OnClick Event to show a user that data is loading when clicked on mobile in UnimDbListGrid...
-
4 minutes ago, Sherzod said:
Hello,
Please clarify.
Do you mean LoadMask?
Sure! Sorry for my mistake...
-
Hello everyone!
i'm searching for a property on UnimDbListGrid to input a mask for display a message for "data is loading" when OnClick Event is triggered but i don't find anything that could be useful here. In properties there's no InputMask function like desktop component...
Any idea?
Thank you so much!
-
Is there a property or something else that i can block or simple don't allow user to click twice in a button in less than five seconds?
I've tried this, but unfortunately doesn't work right:
pUltimoClick := Now; if SecondsBetween(pUltimoClick, Now) < 5 then Exit;
-
On 10/12/2020 at 8:30 AM, irigsoft said:
for i := 0 to grdUser.SelectedRows.Count-1 do begin
grdUser.DataSource.DataSet.GotoBookmark(TUniBookmarkList (grdUser.SelectedRows[I]));
SelectedIDLIst.Add (grdUser.DataSource.DataSet.RecNo);
end;
And how can i get values from multiple checkboxes selected in a dbgrid and display in a ShowMessage, for example?
-
Hi everyone!
Is there any solution to hide parameters like 'xxx.DLL' in mobile navigation on uniGUI?
I mean, everytime we start the application on mobile he loads the main site and his .DLL. I want to hide all captions after '.com', including the 'ABCDEF.DLL' part.
In desktop everything looks regular, but as soon we start to use mobile, he show all parameters...
P.S: i've already see this link, including the solution from IIS, and doesn't work.
Thanks!
-
19 hours ago, mierlp said:
Thanks, but apparently there's no solution (yet) for this... Have you tried something?
-
Hi everyone!
Its gonna be difficult to explain this, but i will give a try:
We have our template application (landing page) builded in a web app called 'Site 123' and uniGUI have this template deployed inside a container (TUniURLFrame). What happens is already saved this settings in the search engine inside the platform app (Site 123) and we want to achieve the most high access (clicks) into our website, but unfortunately, doesn't work as we think before.
Is there any kind of setting to increase the searches of our website inside on uniGUI, so the application can give more 'visibility' to the user who is searching for the specific terms on the internet?
Thanks to anyone who can answer this!
- 1
-
On 1/22/2021 at 10:02 AM, x11 said:
if still relevant
use functions
function beforeInit(sender, config){ config.loadMask = false; config.loadingText = 'загрузка...'; config.emptyText = 'даних немає'; config.grouped = false; var descr = '<table class="tblResDescr">' + '<tr>' + '<td class="tdDbgRowLogin">{[this.getVal(values, "NAME")]} {[this.getArc(values)]}</td>' + '<td class="tdBtnPopup"><button class="btnPopup" user-id="{[this.getVal(values, "ID")]}"><i class="fas fa-angle-down"></i></td>' + '</tr>' + '<tr>' + '<td colspan="2">ID {[this.getVal(values, "ID")]}</td>' + '</tr>' + '<tr>' + '<td colspan="2" class="tdDbgRowDescr">'+ '<a href="tel://{[this.getVal(values, "PHONE1")]}" target="_blank">{[this.getVal(values, "PHONE1")]}</a> / '+ '<a href="tel://{[this.getVal(values, "PHONE2")]}" target="_blank">{[this.getVal(values, "PHONE2")]}</a> / '+ '{[this.getVal(values, "E_MAIL")]} Обране: {[this.getVal(values, "COUNT_FAVORIT")]}</td>' + '</tr>' + '<tr>' + '<td colspan="2">' + '<div style="display: flex; justify-content: space-between">' + '<div class="tdDbgRow">{[this.getVal(values, "GROUP_NAME")]}</div>' + '<div class="tdDbgRowArea">{[this.getFullName(values)]}</div>' + '</div>' + '</td>' + '</tr>'+ '</table>'; config.itemTpl = new Ext.XTemplate( descr , { getFullName: function(values){ return values[sender.fieldsNames.indexOf("FIRST_NAME")] + ' ' + values[sender.fieldsNames.indexOf("LAST_NAME")] }, getVal: function(val, fieldName) { if (sender.fieldsNames.indexOf(fieldName) >= 0){ return val[sender.fieldsNames.indexOf(fieldName)]; } else { console.error(fieldName + " not found"); } ; }, getArc: function(values){ if (values[sender.fieldsNames.indexOf("DELETED")]){ return '<td class="tdDbgRowArc">[архів]</td>'} } } ); }
getArc: function(values){
if (values[sender.fieldsNames.indexOf("DELETED")]){
return '<td class="tdDbgRowArc">[user deleted to arc]</td>'}
}in CSS
.tdDbgRowArc{
color:red;
}Perfect! This will come in handy.
-
-
Excuse-me if i asking you 'how to do' other things... But, now i'm trying to change some specifically row from the grid in run-time according to the status.
For example, if status = 5 then *change the 7 column of the grid in run time to color red* in this case.
Because the color that you're currently see, its just defined in html. So i pretend to change according to the status... There's some event of the grid that i can do this?
If Yes, how can i supposed to do?
Thanks again!
-
3 hours ago, x11 said:
1. You forgot to specify the value of the APath variable.
2. Why CONSTANTLY check the path?
3. Replace "if SQL_Lista_NFeid_status.AsInteger =" with case
Case SQL_Lista_NFeid_status.AsInteger of cNFeFaltaEnviar: DataSet.FieldByName('status_mobile').AsString := '/files/f.png'; cNFeCancelado: DataSet.FieldByName('status_mobile').AsString := '/files/c.png'; cNFeAutorizado: DataSet.FieldByName('status_mobile').AsString := '/files/a.png'; ... ... else cNFeAutorizado: DataSet.FieldByName('status_mobile').AsString := '/files/fileNotExists.png'; end;
4. Make your code simpler.
Thank you! It works great!
-
First of all, thank you for your help. It works, but parcially.
I pretend to put some images to display in a grid in under circustances. There's 5 images, but only 2 has appeared to display...
Here's my source. Hope you can help me to solve this, i can't find where is the error...
- DataSource (OnCalcFields):
procedure TDmNFe.SQL_Lista_NFeCalcFields(DataSet: TDataSet); var APath : String; begin if SQL_Lista_NFeid_status.AsInteger = cNFeFaltaEnviar then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/f.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeCancelado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/c.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeAutorizado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/a.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeUsoDenegado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/d.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeContingencia then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/co.png'; end; end; end;
These images that are marked with a row needed to display a third image (cNFeAutorizado), and unfortunately shows (cNFeFaltaEnviar).
- The second image down below is the final result that i want to achieve (Desktop).
How can i call a JS function file that i previously added on ServerModule?
in General
Posted
Opa amigo, então eu havia adicionado o link mas apaguei depois da resposta dele. É pra colocar esse script após o confirm do botão, só que não faço ideia de como colocá-lo porque é de uma ferramenta de analytics de marketing do Google. Nos foi dado durante uma reunião e chegou até mim somente dessa forma. Então não sei se isso é realmente possível.