Unable to have different links for plugin card and where view more takes you - banno-digital-toolkit

Is there a way to have the link that is displayed in the plugin be different from where the view more link takes the user? We want to have a specific design for the plugin card but when the user clicks view more have them go to a completely different url.
Tried using the secondary redirect uri

As described in the Designing and Developing Plugins guide, there are two different ways to activate the Expanded View from the Card Face:
Configuring a primary action button
Using the Plugin Bridge
In your case, it sounds like you're using a configured primary action button so I'll start with that option. The Configuration for a plugin allows you to configure an External Application for the Card Face and also one for the Expanded View. It's very common to have both the Card Face and Expanded View configured to use the same External Application, but you can configure them to use different External Applications. In that case, the Expanded View would be activated from the action button and go to a different URL than the Card Face.
The other option is to use the Plugin Bridge. This provides a powerful and configurable way to control how links work for your plugin, but bear in mind that you'll have to incorporate the #jack-henry/banno-plugin-framework-bridge JavaScript module into your specific tech stack to accomplish this.

Related

Run background process without Banno Card displayed

I didn't see anything in the documentation so I don’t think this is possible, but I want to confirm.
Is there any way to have a background process run without there being a Banno Card displayed?
I’m currently creating a way to notify the user that they aren’t enrolled in e-statements. However, I would need there to always be a Banno card (plugin) displayed so that the program uses the API and generates a popup when the user logs in.
If possible I would like to be able to "hide" the plugin so that the process is ran in the background.
Is this possible?
No, it is not possible to run a background process within the Banno UI as you have described.
It’s possible to run processes outside of Banno itself and still use Banno’s APIs (see answer to Consumer API - Using Authentication Framework via a "background" service), but that is different from what you are looking to do.

How to select keyboard in Tizen/HTML5 for Wearables

I have two system wide keyboards pre-installed on my Tizen Wearable device, the first one is a stock Samsumg's keyboard, the second one - Custom. The first one is a user's default selected in Settings.
I don't want to change the system's default, but I want my application to use the Custom keyboard.
In native API I've seen Tizen::Ui::InputConnection object that can be used as a property in Edit or TextArea controls, but I didn't see anything like this in HTML5 API. Searching Tizen's forum didn't help.
I've also seen in Tizen's SDK IME's WebHelperClient example a number of undocumented commands used to talk to a Tizen's service through a websocket. Probably there is a command to select an active keyboard, but I didn't find it.
Any leads are appreciated.
IMO that is not possible for either web apps or native apps.
Reason:
1. In gear, simultaneously two Keyboard can't be active at the same time.
Also, suppose there is an API available which you can use to change to custom keyboard while your app is running, but what if you close your application not using the normal hardware exit(i.e. Swiping down), rather you close it from "Recent Applications" then the custom keyboard that you activated for your app will be set for other applications as well.
Also the documentation available here doesn't explain anything which you are asking
https://developer.tizen.org/documentation/guides/web-application/tizen-features/ime-application

Manage or "export" widgets to the theme options page

I was wondering wether is was possible to some how "export" all the widget options or engine to the theme options page. So everything is in one place.
Got any idea?
Thank you for any help.
If you have ever had to transfer a large number of widgets from one WordPress site to another, then you know that there’s really no easy way to get the exact same widget option settings added on another site. Manually adding all of your widgets on the other site can be quite tedious.
Widget Settings Importer/Exporter is a new plugin that aims to make this process much easier. It allows you to export your current widget settings and states as a json file and import them into another WordPress installation. If you already have widgets in place on the site where you’re importing settings, don’t worry because the plugin won’t overwrite any data currently within the sidebars.
This plugin has the potential to save you quite a bit of time. Download Widget Settings Importer/Exporter from the plugin repository.

Angularjs - one page application with stored JSON data for offline use

I'm looking into using AngularJS for an upcoming project but I am having difficulty getting my head around the views/routing, specifically for an app with only one page.
The page consists of a form or wizard, however I want all data to be loaded on the initial page load (and stored in local storage). This also applies to form elements - no additional requests can be made to the server e.g. for HTML templates (except the submit action at the end of the form). The application will be used offline so the single page needs to cache all required information and handle UI transitions without reloading.
Is AngularJS a good fit for such an application? If so, how can I accomplish the routing required to change views without additional requests - can ng-view and a routeProvider use div's within a single html page? Is this a case for ui-routes?
I've yet to implement such a site but I believe these are slightly orthogonal issues. AngularJS solves the issue of polluting your view with business logic (MVC), it also gives you the means to create singleton services. Further it allows you to extend the vocabulary of HTML with directives to define compound DOM elements or behaviors. All of these elements I believe are helpful in creating a user interface that is loosely coupled via a model and a controller for a view to the data retrieved and stored in services.
Local storage APIs implemented in certain browsers in response to definitions in the HTML5 spec give you the ability to persist data locally and determine when a change from online-offline has occurred, it's covered in depth on this page http://www.html5rocks.com/en/tutorials/offline/whats-offline/
Long and short of it I think AngularJS is an ideal candidate for building rich client side experiences and decoupling the model from the view and the controller (hence giving you the part you need to save separate from the application itself). All that said I'm not aware of any mechanisms built in to Angular to help make this easier, though if you Google a bit for localStorage and AngularJS there is definitely some discussion about it and code available: angularjs and localStorage change event

How does one create global variables for MediaWiki articles?

I have created a website powered by MediaWiki that offers documentation on the interface for a web application.
The URL for my web application may change. However, many articles on this MediaWiki site link to the application.
I would like to create a global constant somewhere called say "WEB_APP_URL" that I may change at any time, and that editors of the wiki can use to link to the application.
That way, I won't have to do a massive find and replace when my application URL changes.
Is this possible? I am working in a LAMP environment. Thank you.
I think the simplest way is to create a template. That is, you can create a page called Template:web-app URL with this wiki-text:
http://this.is/the/URL/of/the/web.app
and then editors can write things like:
The application is located at {{web-app URL}}.
or:
[{{web-app URL}} David Faux's application]
and the URL will automatically get dropped in.
(That's not the only way — you can get similar effects through internal configurations and hooks — but I think the template-based approach is the simplest.)