I created an account in OneSignal. I selected Webpush-Typical site setup. I uploaded some files to the root and added code in Designer-Injections-HEAD I also added OneSignal App ID and REST API Key in Studio-Settings-System-Push notifications. The Notifications app already had it installed.
By entering https://tnoa.com.ar now if the notification appears. Is this one-time or are there other events that will make a notification appear?
Please try to work on the injection too. Some of us have problem adding codes to the <head> through INJECTION at studio. Personally, I've not been able to implement adsense on my website because the Injection won't load in the code. It's even more depressing when you want to add other web master codes too. Like Onesignal and all.
Custom block or a block from a module? If from a module, block content is controlled by module functionality, so you may have to make a custom modification or use CSS injections in the template to restyle what you need.
I followed the instructions, however, on the Cookies Consent site after you create the code, there are two code boxes, one for the Header and one for the Body.
I placed each in their respective boxes and clicked "Submit". I could see the url at the lower left pop-up and something was happening, however I never received the notification pop-up that confirmed any changes.
If I navigate away from that injection tab to anywhere else and return, the boxes are empty. Same goes for the Splash enabler box, I check it and hit save and it even confirms the changes, but when I navigate away and return, the box is unchecked.
Do I need to somehow duplicate the Protean template before I am allowed to make changes in Designer?
I do not see how this would change anything, as I was able to easily add my logo and all of that.
One more question: where does the Enhancement for: Allow custom JS in templates appear? I looked in the Protean template system, and saw only the Custom Styles section but no Custom JS section. Is there another place (besides Designer > Template > Injections?) Thanks!
Yes, you are most welcome to change. Just make sure you use popular default fonts that both MAcOS and Windows would have, or connect Google Fonts of your choice by copy-pasting the embed code via Designer > Injections.
added this to my una website using injections but the banner does not appear
Can anyone provide code that I can inject that will cause the menu icon to pulse? I would like to do this to draw attention to it so members can easily find other parts of the site. See attached screenshot. Menu icon circled.
Hello,How to to disable unnecessary countries without deleting them. I know that you can delete countries via the Studio->Forms->Data Items->System->Countries. Unfortunately, there is no option to disable them.I don't want to...
If I generate Google ReCAPTCHA Enterprise code can I use injection block on home page to implement it? Or does it have to be on every relevant page like login page. There seem to be 3 login pages so I don't know where to put this code....
Hello UNA community!Having trouble with the ADSense Auto Ads. Inserted code in Designer->Injections, and it works nice in site pages, but in some pages, mainly the view-persons related ones, it breaks the design in header, moving the...
Hello how make inject more custum metatags in head i find $oTemplate->setPageInjections ($oPage->getInjections()); But have error. I think because no info in database.What can i do may i create new page add inject and call...
Hello Team!I can't create a new Data List.Every time, when I click the 'Data List' item, I get the error 'Database query error.see attachment, please.I have the last version of UNA (no updates available in the market). Also, the audit...
Oh yeah, got you now @LeonidS Thank you so much. It is the same code that can be used either in the Header injection or in the Raw. I thought they were differents codes. I have tried the same code using the Raw method and it works. Thx
Wow!!! you are just a genius. Thanks a lot. It works. with the 'Please select...' variant added back, the warning (Error message: Address not found) has disappeared when loading the page. Everything works fine.
My last question still remains unanswered. You provided the solution for the header injection (global). What about if i had to use the raw and add the code on a page per page basis to diaplay 3 countries and to add the 'Please select...' variant? How should the code you provided below look?
Here are some feedback. I tried both methods (Raw and Header Injection). They both work. Thank you so much. I have just noticed that there is a small thing that needs to be fixed.
Both methods displays a warning (small error message) after loading the page, just under the Postal Code Field. Where it was supposed to be showing this message 'Address is undefined', instead there is this red cross icon in a circle with this error message: 'Address not found'. The warning appears without even entering any informationa and even when I test the code with a single country e.g: ['US']. Maybe it's because both codes you provided above remove the 'Please select...' option in the country field (I am just guessing).
Please could you like to add back the 'Please Select...' option of the country field in both methods (Raw and Header Injection)? Maybe it will prevent the warning from appearing after laoding the page. Also when we have 2 or 3 countries in the list, it would be good to invite users to select one country by displaying the 'Please select...'option instead of preselecting a value for them in the country field.
Last but not the least, you forgot to answer my question in my previous post. What would have been the code to use in the Raw block if we were to leave 3 countries? E.g: US, CA, GB ? Like thie code below?
$(".bx-form-input-location-country option[value!='US, CA, GB]").remove();
Ok. Thank you very much. I am going to give it a try and let you know. Now my question is instaed of adding it on a page per page basis, isn't there a way to add it globably? Maybe through main header injection? (just asking).
Also what about if I would like to leave visible 3 countries: US, CA, UK, the code above should be like this, right?
$(".bx-form-input-location-country option[value!='US, CA, UK']").remove();
@LeonidS I installed Recaptcha v2 keys but still don't see Recaptcha challenge it during login or account creation. I also installed Google ReCaptcha Enterprise code in home page injection block, but still don't see it.
Profiler module measures different timings which help to detect bottlenecks on heavy loaded sites. Profiler measures the following:page load time and memorymenus generation timetemplates load timeinjections execution timeSQL queries...
We have extensively tested site speed, and taken a long hard look at UserNames, I can safely say that UserNames does not slow down your Site. The biggest bottle necks come from other places.
Usernames is a fairly good module, it does need to be polished as it is lacking in a number of areas and the developer is not willing to improve, but the module works well and does what it is designed to do. Even with the feature failings in the module I would recommend purchasing Usernames and supporting this developer as it functionally does what it is designed to do.
Speeding up your site:
If you have any code in >Studio >Designer > injections take it out, your site will be so much faster.