How do I customise the auto-generated index.html in appcelerator - appcelerator

I am building a mobile app/mobile web solution in Appcelerator. I want the mobileweb to be capabable of going offline.
I am not using Alloy.
I want to be able to add the appcache statement to the index.html, I also want to be able to make other customisations to this document.
I am aware that I can make the changes after its automatically generated but these would be overwritten the next time I create the file.
Is there anyway to define elements that I want inserted into the index.html as it is auto-generated?

The only way to customize the index.html template is to do it in the Titanium SDK. This means you changes would affect all Mobile Web apps you build.
We wanted to allow you to customize the Mobile Web templates, but we never got around to actually doing it. :(
So, I recommend locating the installed Titanium SDK and copying it to something like 5.2.1.GA-MyApp, then customize the templates in mobileweb/src to meet your needs.
Yes, I know this is gross, but it's about the best workaround today.

Related

How to delete a file when the app is uninstalled?

How to delete a file into the theme when the user uninstalls the app in the Shopify store.
I have tried to delete files and delete code into an existing file when the user uninstalls my Shopify app.
You are unable to delete a file. The reason is simple, Shopify has removed your API access token by the time you are made aware that they have uninstalled your App.
Better you do not litter a theme with your code. Instead, adapt to injecting content in sections and blocks using the new theme extensions. For older Apps, provide script tags for your JS, and instructions on what HTML or Liquid they might need.
Basically, injecting stuff into themes is bad news for themes in the Online Store 1.0. You cannot help it, but there is no recourse when they uninstall. You do leave a mess behind.

Shopify Public APP, remove app code before Uninstall

I'm using this https://github.com/osiset/laravel-shopify package to develop Shopify public APP.
I tried to remove the code from the theme on uninstalling the app by overriding the AppUninstalledJob.
But, the function can't remove the code from the theme.
I have set the webhook for app uninstall, I getting the webhook response from shopify but API's are not getting call.
The similar issue I found here:
https://github.com/osiset/laravel-shopify/issues/188
I want to make an API call on app uninstall, can anyone help me with this?
Thank You.
You're not allowed to make any API calls when your app is uninstalled. Once this happens, you lose any rights to do so as your API access token received on installation is also deactivated.
Another point to be made here, if you are messing with a theme using your App, injected code into themes, you are doing it wrong. You should be ensuring that whatever you do, if a customer uninstalls your App, their theme is not destroyed by having a bunch of bad code in it. So that means you probably use script tags, proxy calls and as a last resort, create copies of theme files, and edit only those, so the merchant can replace your theme files with the originals.
In 2020 Shopify is allowing Apps to provide Theme Sections, so Apps that mess up themes should just disappear too.

How is this interactive website made?

I am trying to make a website similar to this and I'd like to know how this website was made. The website is also run on desktop and has a mobile app too so there's no HTML or anything in the back end.
Any ideas?
You can use Wappalyzer to identify the technologies used for this Website.
https://www.wappalyzer.com/
Result for https://realtimeboard.com/signup/
as mentioned you can use https://www.wappalyzer.com/ or http://builtwith.com to know the technologies used, further more you can view the webpage source or use the inspect element tool to have a better idea of what is going on. and ofcourse there is HTML used in that page whether it was automatically generated or manually

Joomla Quickstart advice

Please I need some guidelines (or link of tutorials) in creating Joomla (3 - 3.5) website with the purchased template design. I wonder how professionals with experience are solving my doubts in practice.
Do you recommend the installation of the purchased blank template with a single installation and configuration of modules and components or installation of template with demo examples (Quickstart)? I know the differences but I was wondering how you are doing.
Till now I've almost always used the Quickstart installation.
I wonder if you clone the main menu (and other navigation and modules) and than you rename a copy for your needs and you change the content or you delete all navigation items except Home and than you are re-creating items according to your needs.
I'm not sure if I can copy the main menu or I copy only his necessary items and than delete overage of template.
It happens to me sometimes if I click on some of category it leads me to the main menu from original item, not to the desired custom copy, even though the path is set (the default items). Therefore, I am not sure which is better... copy main menu and items or to delete all navigation and content of the Quickstart installation and form my own navigation, content and modules.
In short, how to sort out all unnecessary items, and those that I am using should I copy and modify, modify existing, or delete all and make my own needed items.
I believe you will know my concerns.
Thank you and regards,
John
I have created several websites in Joomla with blank template and also with quickstart package.
Advantages with Blank Template
You will get the core theme without any unnecessary content and
basic modules and plugins. You dont have to delete any
contents/articles later.
You will be having authority to place modules at your desired positions. To check the modules position at the frontend simply do this http://example.com/?tp=1.
Disadvantage of Blank Template
There are some module style settings embedded in quickstart package that you wont be able to set yourself without going through full documentation. So sometimes your menu seems distorted.
Disadvantage of Quickstart Package
Deleteing unnecessary articles, removing unnecessary modules is a big headache.
Database size unnecessarily increases.
Steps I follow
I create a quickstart package in localhost and create a blank site with blank template in live site. Whatever settings I need I copy from the local website so that I am saved from removing unnecessary contents from live site. Also sometimes deleting some contents give rise to some other issues. Its better t go with a Blank template.

How to change layout of pre-configured site in AEM 6

I am trying to change the layout and customize the pre-configured Geometrixx-Gov site in AEM 6. For example, I would like to change the blue color in the header
Also, I would like to change the text of All Applications to something else I want.
Questions
What is the best way to make these changes?
Once I make my changes, is there a way to somehow take/package my changes and deploy them to an instance of AEM not running on my local computer?
When I try to edit things, I can change the text around in the body of the site but can't seem to change the text around in the header
1- To change the menu, I think you have to change the page title or the page navigation title, you probably have a page called "All Applications".
2- To change the color, you have to edit the CSS in the client libs which are somewhere under /etc/clientlibs/{your_app}
3- You can package the application using the package manager, make sure you include the /apps/{your_app}, /etc/clientlibs/{your_app}, /etc/designs/{your_app}, /content/{your_app}, those are basic folders, you may need other files or paths in your filters, make sure all dependencies are respected.

Resources