AppginiHelper

Topics related to AppGini plugins/add-ons go here.
Post Reply
User avatar
hydrald7
Posts: 9
Joined: 2022-04-10 13:42

AppginiHelper

Post by hydrald7 » 2022-04-17 09:17

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

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppginiHelper

Post by jsetzer » 2022-04-17 09:48

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");
});
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
hydrald7
Posts: 9
Joined: 2022-04-10 13:42

Re: AppginiHelper

Post by hydrald7 » 2022-04-18 08:20

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?

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppginiHelper

Post by jsetzer » 2022-04-18 08:28

It is the 6th parameter. You have given "_blank" as 3rd parameter.
Last edited by jsetzer on 2022-04-18 08:31, edited 2 times in total.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
hydrald7
Posts: 9
Joined: 2022-04-10 13:42

Re: AppginiHelper

Post by hydrald7 » 2022-04-18 08:31

Haaaa OK, I did not understand that the location was important.
Thank you very much jsetzer.
Best regards
Mauritius

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppginiHelper

Post by jsetzer » 2022-04-18 08:37

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.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
hydrald7
Posts: 9
Joined: 2022-04-10 13:42

Re: AppginiHelper

Post by hydrald7 » 2022-04-18 08:43

Do not be sorry, a big thank you to you
Of course now it works very well.
Everything is clear now.
Mauritius

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: AppginiHelper

Post by AhmedBR » 2022-07-30 19:08

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
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppginiHelper

Post by jsetzer » 2022-07-30 19:11

Hi,

which one exactly are you referring to?

They are available at bigprof's Shop
Or at my shop here:

https://bizzworxx.onfastspring.com/
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: AppginiHelper

Post by AhmedBR » 2022-07-30 19:21

This one:

AppGini Helper Indicators Library
User Interface (UI)
https://appgini.bizzworxx.de/products/p ... ndicators/

Cannot find it here:
https://bigprof.com/shop-discount-offers/?add=appgini
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: AppginiHelper

Post by jsetzer » 2022-07-30 20:56

Indicators Library can be purchased at our shop here:

https://bizzworxx.onfastspring.com/
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: AppginiHelper

Post by AhmedBR » 2022-07-31 00:07

Thanks, I buying it next week.

Have a nice day
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

Post Reply