Page 1 of 1
AppginiHelper
Posted: 2022-04-17 09:17
by hydrald7
Hello everyone,
I am new to using Appgini and its plugins, and maybe you could help me.
Here, I use the AppginiHelper library and I created buttons with links to websites.
Here is the code:
// file: revisions-dv.js
var dv = AppGiniHelper.DV;
var actionbuttons = dv. actionbuttons;
var group = actionbuttons.addGroup("<b>Getting new indices</b>");
group.addLink("Rent reference - IRL", "https://www.anil.org/outils/indices-et- ... u-de-lirl/");
group.addLink("Tertiary rents - ILAT", "https://www.insee.fr/fr/statistiques/serie/001617112");
group.addLink("Commercial rents - ILC", "https://www.insee.fr/fr/statistiques/serie/001532540");
Everything works perfectly but I would like the links to open in other tabs of my browser.
Could someone tell me how to proceed?
Thank you in advance friends
Mauritius
Re: AppginiHelper
Posted: 2022-04-17 09:48
by jsetzer
Please have a look here:
viewtopic.php?t=4519#p18398
tl;dr
6th parameter defines the target
Code: Select all
// file: hooks/TABLENAME-tv.js
jQuery(document).ready(function(){
var tv = AppGiniHelper.TV;
tv.addLink("my_custom_page.php", "flash", "Open My Custom Page", Variation.primary, "Are you sure?", "_blank");
});
Re: AppginiHelper
Posted: 2022-04-18 08:20
by hydrald7
Hi jsetzer,
Thank you for your answer, however I have already tested the use of "_blank" and without result, the link always opens in the same page.
That's what I do not understand ...
here is my code :
var dv = AppGiniHelper.DV;
var actionbuttons = dv.actionbuttons;
var group = actionbuttons.addGroup("<b>Récupération des nouveaux indices</b>");
group.addLink("Référence des loyers - IRL", "
https://www.anil.org/outils/indices-et- ... u-de-lirl/", "_blank");
Did I misunderstand an instruction?
Re: AppginiHelper
Posted: 2022-04-18 08:28
by jsetzer
It is the 6th parameter. You have given "_blank" as 3rd parameter.
Re: AppginiHelper
Posted: 2022-04-18 08:31
by hydrald7
Haaaa OK, I did not understand that the location was important.
Thank you very much jsetzer.
Best regards
Mauritius
Re: AppginiHelper
Posted: 2022-04-18 08:37
by jsetzer
I'm sorry, I did not differentiate enough:
Table View
Code: Select all
addLink(href, icon, text, Variation, prompt, target, onBeforeRender)
Detail View
Links in DV-ActionButtonGroup:
Code: Select all
addLink(text, href, Variation, icon, ButtonAlign, linkTarget, prompt)
* From today's perspective it would have been better to have the same order in all "addLink" functions, but unfortunately the parameter-order is different for ActionButtonGroup's links.
Re: AppginiHelper
Posted: 2022-04-18 08:43
by hydrald7
Do not be sorry, a big thank you to you
Of course now it works very well.
Everything is clear now.
Mauritius
Re: AppginiHelper
Posted: 2022-07-30 19:08
by AhmedBR
Hi Jan,
I am interested in this plugin AppginiHelper, but it is not showing here:
https://bigprof.com/shop-discount-offers/?add=appgini
is there another link?
Thanks
Re: AppginiHelper
Posted: 2022-07-30 19:11
by jsetzer
Hi,
which one exactly are you referring to?
They are available at bigprof's Shop
Or at my shop here:
https://bizzworxx.onfastspring.com/
Re: AppginiHelper
Posted: 2022-07-30 19:21
by AhmedBR
Re: AppginiHelper
Posted: 2022-07-30 20:56
by jsetzer
Indicators Library can be purchased at our shop here:
https://bizzworxx.onfastspring.com/
Re: AppginiHelper
Posted: 2022-07-31 00:07
by AhmedBR
Thanks, I buying it next week.
Have a nice day