ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

impossible to add new components after a simple change in the source files

when i add a new component by the editor i can see it on the editor page but i can not see it in the app preview nether on my desktop nor on my mobile.

if i add a button by the editor:

Image

i can't see it in the emulator

Image

i just changed something in the source files (i changed the header in code
<div data-role="header" data-position="fixed" data-theme="b" name="mobileheader"
id="destinatari_mobileheader" class=' destinatari_mobileheader '>
<div style="text-align: center;"> <img src="files&#47;views&#47;assets&#47;image&#47;logo&#46;png" alt="Real Time Doctors" height="39" width="200"&#47;> <&#47;div>/code

and it seems i can not add any component anymore

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

impossible to add new components after a simple change in the source files

Hello! After you edit Source code changes won't be applied to the visual view. If you want to undo changes you need to delete edited (blue colored) files first, then click "Undo all source changes". More information here.

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

impossible to add new components after a simple change in the source files

i understand that after editing Source code changes won't be applied to the visual view. but my problem is that after editing Source code if i try to use the appery platform to add some new appery components it seems that it doesn't work. it looks like if you edit source code you can not add any new component to your app with the visual editor anymore

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

impossible to add new components after a simple change in the source files

This is how it works now... First you need to edit app in editor then change Source code (because for now, once you start editing the source files, the changes will not be reflected in the visual view). To see changes you've made you should delete edited (blue colored file) and "Undo all source changes"

susil kumar sahoo
Posts: 0
Joined: Mon Sep 02, 2013 7:11 am

impossible to add new components after a simple change in the source files

Image

I am trying to call a function on image click.It won't work for the first time but,after reloading the page it works fine.please help me out to overcome the issue

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

impossible to add new components after a simple change in the source files

Hello! Please check if there any error in console when you run app for the first time.

fender
Posts: 0
Joined: Sun Sep 01, 2013 9:03 am

impossible to add new components after a simple change in the source files

Hi, I've update 3 files with "" and then removed " ", but the files are still blue and a CSS file is now blue even though I'm sure I did not update it. Where is the button to "Undo all source changes"? Still can't see my editor changes. Thanks

fender
Posts: 0
Joined: Sun Sep 01, 2013 9:03 am

impossible to add new components after a simple change in the source files

Thanks! Please fix refrences to this source-editing-tutoriall link http://docs.appery.io/tutorials/sourc...

jeffrey.stilwell
Posts: 0
Joined: Tue Aug 27, 2013 7:24 pm

impossible to add new components after a simple change in the source files

I had the same issue with editing the source (not knowing it would lock us out of the visual editing capabilities!) - I feel this is a fatal flaw with the platform that REALLY needs to be addressed. We have lost a ton of time on our project due to this issue :/

Return to “Issues”