Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 12    Views: 106

Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
04/30/14 06:16 AM (10 years ago)

html pro Plugin - screen link not working

Hi, I created a html page and created links to screens using html pro Plugin. I uploaded the html page to sever. But when I click the link to any screen it says error loading page. any suggestions how i can fix it? Thanks in advance, Adnan
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
04/30/14 06:24 AM (10 years ago)
I tried this out before. I think your html file needs to be in your app. Everytime i use this plug in the html file is in the app and it works great!
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
04/30/14 09:06 AM (10 years ago)
yes I did it and it works. But now I have another problem. I have created certain links to screens using the same html pro. when I click any of link to open the specific screen i get this "error loading page" message. my code looks like this <li><a href="469F27E98E7CF02C116FD22"> <img src="http://www.bucaillelegacy.com/test/blue/img/thumb2.jpg" alt="blog-pic"/> <h4>Lorem ipsum dolor sit amet, consectetur.</h4> <p>Posted 22nd Dec 2011 by Author</p><p>8 Comments</p></a> Any suggestions?
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
04/30/14 02:13 PM (10 years ago)
Try to manually put In in new json into your project.
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
04/30/14 02:16 PM (10 years ago)
How? Sorry I am not a code guy.
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
04/30/14 02:17 PM (10 years ago)
Instead of refreshing your app. Copy the json from your control panel and paste it in your project config text file.
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
04/30/14 02:19 PM (10 years ago)
ok. let me try
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
04/30/14 03:26 PM (10 years ago)
Same Problem
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/02/14 07:47 PM (10 years ago)
you need to make sure you are loading the "HTML Pro" plugin, not some other plugin (like the "Custom HTML/Text" plugin). This is a common mistake. People will add the HTML Pro plugin to their project, create a HTML document in the Custom HTML/Text plugin, then try to load the Custom HTML/Text plugin in their screen and wonder why it doesn't work. Think of the HTML Pro plugin like the Custom URL plugin - it simply loads a HTML document based on whatever location you give it. That HTML document can be located on a website somewhere, or it can be in your app as a local file. The Custom HTML/Text plugin does two things - it 1) creates a HTML document and saves it to buzztouch.com, and 2) it displays the HTML document in the app if you load that screen. If that's the way you're creating the HTML document, you simply need to get the dataURL from that plugin (aka, the URL to the HTML document you just created) and paste it into the HTML Pro plugin. Just remember to load the HTML Pro plugin in your app (like as your home screen, for instance).
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
05/03/14 12:13 AM (10 years ago)
@ chris. I created the html pro screen. The html page is inside my app project. I created the item id and put it inside the html file like this <a href="4205267d4138973daa3b2d8">Click here</a> but while testing the app on iphone , i get the message 'iOS error code -1100- the requested url was not found on the server'
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/03/14 06:30 AM (10 years ago)
Ok - can u send me your project folder in a zip?
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
05/03/14 06:45 AM (10 years ago)
on your email address [email protected]
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/03/14 07:31 AM (10 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.