I use CL_GUI_HTML_VIEWER
I need to read the source code of the page into a table after loading. How to do it?
thanks
Related
I have an array of content coming from a database that will be displayed on a page as a group of FAQs. Some of the content will have links to other internal pages on the site. How do I link to the pages using Inertia's link component so that a full page refresh doesn't happen?
It depends on what is returned after using the link. If you return a full view in the response, the page is reloaded. If you return a small JSON object or something else, you can process it without full loading.
I'm trying to find a way to load FunCapctha in simple html file.
I have the sitekey to provide, just can't find the proper html/js code to do it.
I've come across this url which returs JS that creates script tag, but no luck after that.
https://client-api.arkoselabs.com/fc/api/?onload=loadArkose
I'm trying to recreate the attached image below inside of a custom html field on my website using HTML code only . Can you share advice on where is best practice to place this custom code too please (e.g.inside the liquid.theme or should I create a custom HTML field in the content editor)? Thank you kindly for guidance beautiful people!
Where exactly are you trying to add the image? (Product page, home page, etc.)
First you need to upload the image to Shopify in Settings -> Files and copy the url. Then add the url to the image tag <img src="your-image-url.png" alt=""> and finally place that line of code in your template file.
Something else you can do if you are familiar with Sketch/Adobe software, is create the image in one of those programs and export the SVG code. Then use that code in your template file.
I am using StencilJS powered template for BigCommerce store and am having trouble editing the thank you text on order confirmation page.
The checkout.html and order_confirmation.html pages use {{checkout.order_confirmation_content}} to display the content which also includes a heading and a few buttons.
I think I might be missing something essential.
thanks
I might have asked this question in a hurry, I stumbled onto the following link :
https://developer.bigcommerce.com/stencil-docs/template-files/customize-stencil-checkout/multi-language-checkout#json
So, there is a JSON file that they have with what they call "hidden translation keys".
So those keys or key-value pairs need to be copied into the main JSON file and that's the solution.
I have been working on some code that loads and saves HTML files. I have been able to create them, but after they are edited in the WebView, I need to save an HTML file from the webView back to the documents directory. I am not sure how to create the HTML file however. I would appreciate your help. I have the document file path and title.
The only way I can think of doing this is with javascript to pull out the html. For example if you have a reference to your UIWebView object called webView the following would return a string containing the inner html:
[bodyView stringByEvaluatingJavaScriptFromString:#"document.body.innerHTML"]);
You could then dress it back up to a complete html page, the javascript will only return the content within the <body> tags. Presumably within your code that loads and then edits the html page you can know, and therefore store, any specific information that occurred outside of the <body> tags such that you can restore it?